How do you send the output of a COBOL program to a member of
a PDS?

Answer Posted / guest

Code the DSN as PDS (member) with a DISP = SHR. The DISP
applies to the PDS and not to a specific member.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the resolution for sb37 error

7994


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2086


What are hierarchy levels in jcl?

1081


How does the jcl specify the job to os?

780


What are the jcl procedures?

735






What are steplib and joblib? What for they are used?

783


i want to store 20 digits . how will u do it in cobol ?

960


whats the diff bw the evaluate also and and?

1946


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

946


what is the JCL statement consists of?

791


What do you understand by the term job time – out and how can you overcome that?

684


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

931


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

1049


When space is allocated for an output dataset, what units can be used?

855


what is SOC4 error?

826