1.

Explain some of the commonly used parameters in the EXEC statement.

Answer»

EXEC stands for EXECUTION. The EXEC statement specifies a program/job step, as well as utilities and procedures to be executed.

Syntax: 

//Step-name EXEC Positional-param, Keyword-param

Some of the COMMONLY used positional and keyword parameters in EXEC statement INCLUDE

  • PGM: It specifies the name of the program that will be executed in the job step.
  • PROC: It specifies the name of the PROCEDURE that will be executed in the job step.
  • ACCT: It specifies the accounting details of the job step.
  • ADDRSPC: For job steps, it specifies whether REAL or virtual storage is needed for execution.
  • COND: It specifies conditions for executing subsequent job steps if the previous job step fails abnormally.
  • PARM: It provides parameterized data to the job steps.
  • REGION: It specifies how much space or region size should be allocated for a specific job/job step.
  • TIME: It describes the time limit of a job or job step.


Discussion

No Comment Found