The following example invokes the DSN subcommand processor to execute the RUN subcommand, which invokes the program PROG1 with the parameter string "HELLO". The END subcommand terminates the DSN subcommand processor.
DSN RUN PROGRAM(PROG1) PLAN(PLANX) PARMS('HELLO') END
Refer to the IBM DB2 for z/OS documentation for any additional information about the DSN command.
The following operands are supported for DSN:
RUN | SYSTEM |
The following are parsed and ignored:
RETRY | TEST |
The following are passed to the database sub system which may or may not support them:
ABEND | DCLGEN | FREE |
BIND | END | REBIND |
DATA | ENDDATA | SPUFI |