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
How do you submit a job for execution?
What happens if both JOBLIB & STEPLIB is specified ?
which parameter is use to declare the name of dataset in dd statement?
What is the purpose of dd dummy statement?
Explain the function of dd disp parameter?
What is the function of //jcllib statement?
how to compare two datasets without using superce because output is limited to 133 bytes
Explain the function of job statement in jcl?
how to do automated restart when a job abends?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
Can we use DISP=SHR in output file in JCL
Can I send output of job to my remote device careerride123?
what are JCLLIB and STEPLIB in JCL?
i want to store 20 digits . how will u do it in cobol ?
In sms datasets, what is the function of the dd mgmtclas keyword?