Running a DB2 REXX application

You run DB2® REXX applications under TSO. You do not precompile, compile, link-edit, or bind DB2 REXX applications before you run them.

About this task

In a batch environment, you might use statements like these to invoke application REXXPROG:
//RUNREXX EXEC PGM=IKJEFT01,DYNAMNBR=20
//SYSEXEC  DD DISP=SHR,DSN=SYSADM.REXX.EXEC
//SYSTSPRT DD SYSOUT=*
//SYSTSIN  DD *
%REXXPROG parameters
The SYSEXEC data set contains your REXX application, and the SYSTSIN data set contains the command that you use to invoke the application.