How do you pass parameters to the program as the job is
being executed ?
Answer Posted / guest
By using 'parm' parameter in exec statement. the value
mentioned here should be declared in linkage section in the
program and process thru procedure division. this technique
is very useful when you do not know the parameters at the
time of coding the programs.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
write a jcl to execute a job by 7:00 am on jan 20,1986?
Explain the function of dd disp parameter?
How do you create a temporary dataset?
What is the function of dd disp parameter?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
how to compare two datasets without using superce because output is limited to 133 bytes
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
What is the format of comment statement?
What do you understand by the term job time – out and how can you overcome that?
what is the use of IEBGENER utility?
which parameter is use to declare the name of dataset in dd statement?
in ways data can be passed to a COBOL program from JCL?
what are JCLLIB and STEPLIB in JCL?