If your REXX program does not contain an imbedded RUN command that includes substitution variables, use one of the following commands to invoke your program:
This instruction establishes a command environment. (For more information on command environments, see ADDRESS QRW: Using the QMF Command Environment.) If your program is named PANDA, and you want to call it from within the CMS environment, your command is:
ADDRESS CMS "PANDA"
This instruction invokes a program. For the program named PANDA, the command is:
CALL PANDA
You also can call the program PANDA as a function, as in the following:
answer = PANDA()
For more information on any of these commands, see the REXX reference manual for your system.
You might consider removing the substitution variables from the RUN command if you want to call your programs using one of the REXX invocation calls. In that case, QMF prompts the user for the variables.
[ Previous Page | Next Page | Contents | Index ]