How do you send the output of a COBOL program to a member of
a PDS?
Answer Posted / anand.r
correct answer is
//iksa01j job
//step1 exec pgm=pgm1
//sysout dd dsn=pdsname(membername),disp=shr
//
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Explain the purpose of dd dummy statement?
How to submit jcl through a cobol program?
How do you create a temporary dataset?
In sms datasets, what is the function of the dd avgrec keyword?
How jcl is used for testing batch programs?
what is use of dcb parameter in dd statement?
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.
Why block size is multiple of lrecl in jcl?
what is “Cond= even” and “Cond=only”?
what is use of space parameter in dd statement?
what are JCLLIB and STEPLIB in JCL?
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) ?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What happens if both JOBLIB & STEPLIB is specified ?