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

if we give TIME=0 how many sec that job/step

13 Answers  


Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?

2 Answers   CTS,


What is the difference between joblib and jcllib statements

7 Answers   IBM, Maples,


What are SD37, SB37, SE37 abends?

4 Answers  


how you can direct the data to spool using SYSOUT option?

0 Answers  






How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.

1 Answers   Cap Gemini,


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

0 Answers   IBM,


Explain about RECORDING MODE Clause

1 Answers  


Explain how can the submitting users racf authority be overridden in a job stream?

0 Answers  


I have three files for one step i need to override the third file how to do that in jcl?

1 Answers   UST,


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

5 Answers   iGate,


what is DSN in JCL and what are the parameters to declare the DSN?

0 Answers  


Categories