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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / 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

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

Answer / chandrakant

For the output data set, code the name as the pds along with
the memner name. for example if you want to create a new
member abc in pds aa.bb.cc, then code it as
DD DSN=AA.BB.CC(ABC),
DISP=(NEW,CATLG,DELETE),
UNIT=your unit,
SPACE=(TRK(1,1),RLSE), --> this is only indicative
........

Is This Answer Correct ?    4 Yes 2 No

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

Answer / karthika

simply XDC the output after the run...

Is This Answer Correct ?    3 Yes 1 No

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

Answer / suputhru

Hey Guest,
you are doing great job, keep it up.

- SK.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / vinay sonar

//STEP1 EXEC PGM=IEBGENER
//SYSUT1 DD SYSOUT=*
//SYSUT2 DD DSN='PDS NAME TO WHICH OUTPUT IS TO BE COPIED'

Is This Answer Correct ?    0 Yes 0 No

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

Answer / prasad

For the output data set, code the name as the pds along with
the memner name. for example if you want to create a new
member abc in pds aa.bb.cc, then code it as
DD DSN=AA.BB.CC(ABC),
DISP=(NEW,CATLG,DELETE),
UNIT=your unit,
SPACE=(TRK(1,1),RLSE), --> this is only indicative

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?

3 Answers   CTS, DELL,


How do you submit a job for execution?

0 Answers  


Can a PROC CALL another PROC ? (in both Instream and Cataloged cases) ?

3 Answers   IBM,


WHAT IS DUMMY IN JCL? HOW TO USE IT? CAN ANYBODY SEND PROGRAM ON THIS?

3 Answers  


When cursor is not closed what is the error?

3 Answers   IBM,






Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?

1 Answers   L&T,


Suppose there r 10 steps . Out fo which i want to execute 10th, 9th and 8th in reverse order without using IEBEDIT. How can i do that..???

5 Answers   IBM, UST,


List in order the hierarchical levels of jcl?

0 Answers  


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) ?

0 Answers   IBM,


Is there any command to check wether the ps file is in sorted order?

4 Answers  


what is the difference between return code and maxcc?

2 Answers   iGate,


What does a disposition of (NEW,CATLG,DELETE) mean?

3 Answers  


Categories