Issuing type-2 IMS commands
You issue IMS™ commands, including type-2 commands, by including them in the REXX program stream as quoted strings or as REXX variables that resolve to quoted strings.
Examples of type-2 commands
"QUERY IMSPLEX SHOW(ALL)"
"DIS ACT"
tranlist = "PETER1,MATT1"
"QUERY TRAN NAME("tranlist")"