How do you send the output of a COBOL program to a member of
a PDS?
Answer Posted / karthika
simply XDC the output after the run...
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
What is Cataloged Procedures?
What dd statement is used to supply the name of a dataset?
What are s0c1, s0c4, s0c5, s0c7 and socb?
Explain about ISPF/TSO Commands
State the uses of syspring, sysin, sort fields, sum fields and dummy.
How can return codes be tested before execution of a job step?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Explain the function of the steplib dd statement?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
Explain the jcl exec statement?
what are the various stages of job processing?
How is a type of file defined in the jcl that executes the cobol program?
What happens if both JOBLIB & STEPLIB is specified ?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move