Thursday, 14 February 2013

Positional Parameters in EXEC Statement


There are two parameters are there.

They are,

a) PGM

The PGM parameter identifies the program the system is to run.

b) PROC

The Proc or procedure name identifies the cataloged or in-stream procedure the system is to run.

Keyword Parameters in EXEC Statement

There are three parameters are there.

They are,

a) PARM

Passes parameters to the program that is being executed.

b) REGION

Use the REGION parameter to override the default amount of Storage space (KB or MB) that the System allocates to a particular job or job step.

c) COND

In a Multi-step job, use the COND parameter to specify the conditions that allow the system to bypass a step by testing return codes from any or all previous steps. You can code upto 8 comparisons.

As an alternate way IF/THEN/ELSE

0 comments:

Post a Comment

Powered by Blogger.