Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MatrixOne MQL Error: #1900068: print business object failed

Status
Not open for further replies.

fmauro

Technical User
Jul 19, 2011
1
US
Hello,
This mql print bus command works on the command line but fails in the following tcl script. CONTEXT is set and the Type, Name, Rev vars are loading properly.

set iobj [mql temp query bus Part 70823394* * where 'revision == last' select id description dump : recordseparator |]
set jobj [ split $iobj |]

foreach item $jobj {
set mType [lindex [ split $item : ] 0 ]
set mName [lindex [ split $item : ] 1 ]
set mRev [lindex [ split $item : ] 2 ]

set mExp [mql print bus ${mType} ${mName} ${mRev} dump |]
}
thanks in advance.
 
I'm not familiar with "mql" but your use of it implies that it's a valid Tcl command. If so, I assume it must be from a package. Usually, that would mean that you need to prefix it with the namespace, like: "<packagename>::mql".

Your statement that "This mql print bus command works on the command line..." troubles me. If this is indeed a statement that the OS recognizes then it should be the argument to a Tcl "exec" statement.

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top