The callable interface is accessed by using normal REXX function calls. QMF provides an external subroutine called DSQCIX, which is used to run all SAA Query commands.
call DSQCIX cmd parmlist
.-+---+--------------. | '-,-' | V | >>-(----parmname--=--value-+--+---+---------------------------->< '-)-'
The entire command, including the parmlist, should be passed to QMF as a single REXX variable written as a character string. This string must be enclosed in quotation marks (' ') or (" "). When using REXX variables as part of the command string, don't enclose the argument. For example:
CALL DSQCIX "RUN QUERY NAME (&ECN="REXAUG",CONFIRM=YES)"
call DSQCIX "RUN QUERY Q1" call DSQCIX "PRINT REPORT (FORM=F1" call DSQCIX "EXIT"
In the parmlist, the same results occur whether the following elements are present or not:
Each of the following would produce the same result.
call dsqcix "SET GLOBAL (abc=17, def=26" call dsqcix "SET GLOBAL ( abc=17 def=26" call dsqcix "SET GLOBAL ( abc=17 , def=26)" call dsqcix "SET GLOBAL (abc 17 def=26)"[ Previous Page | Next Page | Contents | Index ]