describe the exec statement,its meaning ,syntax and
keywords?

Answer Posted / krithiga hari

EXEC statement executes a program.

Syntax:

//stepname EXEC PGM=program name, keyword parameters

The various keyword parameters are

ACCT - accouning information for the job step
PARM - for supplying information to the associated cobol program
ADDRSPC - this indicates the system that the job step uses
virtual or real storage
DPRTY - dispatching priority
PERFORM - performance group for the job step
RD - automatic restart
COND - condition
REGION - default amount of workspace
TIME - time for the job to execute

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1862


How do you access an uncatalogued dataset in a jcl?

817


can any one plzzzzzz tell the jcl code for creating ps using idcams

10770


what is DSN parameter and DISP parameter is used for?

764


Explain the function of the steplib dd statement?

722






What are hierarchy levels in jcl?

1081


How do you overcome this limitation ?

786


How to do automated restart when a job abend?

897


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

669


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

898


Name a few IBM utility programs, and explain its function.

4538


What is the function of a dd statement?

805


Can I share my data with other jobs? How?

757


what is the JCL statement consists of?

791


i want to store 20 digits . how will u do it in cobol ?

960