QMF provides two function calls for PL/I: DSQCIPL and DSQCIPX. Both calls are described in the communications macro DSQCOMML.
This call is for QMF commands that do not require access to application program variables. Use this call for most QMF commands.
CALL DSQCIPL(DSQCOMM, CMDLTH, CMDSTR)
The parameters have the following values:
This call is for the three commands that do require access to application program variables: START and the extended formats of GET GLOBAL and SET GLOBAL.
The syntax for this call is:
CALL DSQCIPX(DSQCOMM, CMDLTH, CMDSTR, PNUM, KLTH, KWORD, VLTH, VALUE, VTYPE)
The parameters have the following values:
You can use an array of characters if all of the keywords have the same length. QMF assumes that the keywords are in contiguous storage and are not separated by any special separator characters.
Its type is specified in the VTYPE parameter and can be a character, structure of characters, integer FIXED BIN(31) parameter, or parameter array. If you have character values, QMF assumes that the values are in contiguous storage not separated by any special delimiters.
All of the values specified in the VALUE field must have the data type specified in VTYPE.