Describe the EXEC statement, its meaning, syntax and keywords?
Answers were Sorted based on User's Feedback
Answer / mrunmaya
Guest I think in the syntax there should be stepname instead
of jobname.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / guest
The EXEC statement identifies the program to be executed via
a PGM= program name keyword. Its format is //jobname EXEC
PGM= program name. The PARM= keyword can be used to pass
external values to the executing program.
| Is This Answer Correct ? | 3 Yes | 1 No |
If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.
how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly
i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?
What is the difference between Sysin,Sysout,Sysdbout and Sysudump?
Name the system library from which modules are retrieved at execution
what are JCLLIB and STEPLIB in JCL?
How to pass data to a program that is coded in an exec statement?
how do you resolve for soc7 error
How does jcl act on code(if you take a cobol program)?
How system will identify whether user wants to create PS or PDS? If answer is SPACE parameter then why we need to pass ps or po as dataset organisation while creation
what is the purpose of coding class parameter in job statement?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00