Executes a program, a JCL procedure or a REXX procedure.
Syntax:
*---------------------------------------------------------------
*--- EXEC OPERANDS
*--- format 1 to execute a program
*--- // EXEC [PGM=]
* -- program-name
*--- REAL
*--- SIZE=’value’
*--- GO
*--- PARM=’value’
*---------------------------------------------------------------
Where:
- program-name
- Name of the program to be executed.
- REAL
- Execute in real storage. Parsed but not processed*.
- SIZE
- Size of the program in the partition. Parsed but not processed*.
- GO
- To compile, link and run in one step. Parsed but not processed*.
- PARM
- Enables you to pass a parameter to an application program.
Syntax:
*---------------------------------------------------------------
*--- EXEC OPERANDS
*--- format 2 to execute a procedure
*--- // EXEC PROC=procedure-name
*--- parm=parm-value
*---------------------------------------------------------------
Where:
- procedure-name
- Name of the procedure to be executed.
- parm and parm-value
- Name of a symbolic parameter and a value to be substituted within the procedure.
Syntax:
*---------------------------------------------------------------
*--- EXEC OPERANDS
*--- format 3 to execute a rexx procedure
*--- // EXEC REXX=procedure-name
*---
*---------------------------------------------------------------
REXX is supported but cannot be executed in this way. You must use IKJEFT01 (TSO in batch) to invoke REXX in the same way as in MVS or z/OS.
Note: The command and operand combinations listed in these topics are supported unless indicated as "parsed but not processed". Where indicated, this means:
- Parsed but not processed - indicates that the command and the operand are not supported, however,
Enterprise Developer parses it and, if it fails validation, a JCL error is generated.
- Parsed but not processed* - indicates that a number of the operands for JCL and POWER commands (for example, any tape or volume-specific operands) do not apply in the
Micro Focus
Enterprise Developer environment. See
General Differences.