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 a PDS and want to omit few rows of all members of a PDS. How to do it?

6 Answers   Accenture,


what is the meaning of 'sysin dd dummy'

3 Answers  


1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent

4 Answers   Mind Tree,


What are hierarchy levels in jcl?

0 Answers  


I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?

4 Answers  






Explain about CBL/PROCESS statement syntax

1 Answers  


A job has 150 steps i want to execute only 57th step

3 Answers   Cognizant,


What will happen if we write two STOP RUN's in a COBOL program?

4 Answers   Satyam,


My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)

11 Answers   HCL, IBM, L&T, TCS,


A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?

5 Answers   IBM, Wipro,


what is the job entry system used in your project?

3 Answers  


which parameter is use to declare the name of dataset in dd statement?

0 Answers   IBM,


Categories