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
What are hierarchy levels in jcl?
How to do automated restart when a job abend?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
which parameter is use to declare the name of dataset in dd statement?
What statement can be used to send data to another mvs jes3 node?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
When output dataset space is required, what quantity categories are used?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
What is multithreading in jcl?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
what JCL Procedures?
how you can direct the data to spool using SYSOUT option?
What is the purpose of dd?
What is catelog procedure and how many catelog procedure to use in one job?