How do you send the output of a COBOL program to a member of
a PDS?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / suputhru
Hey Guest,
you are doing great job, keep it up.
- SK.
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
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 |
I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?
How do you submit a job for execution?
Can a PROC CALL another PROC ? (in both Instream and Cataloged cases) ?
WHAT IS DUMMY IN JCL? HOW TO USE IT? CAN ANYBODY SEND PROGRAM ON THIS?
When cursor is not closed what is the error?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
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..???
List in order the hierarchical levels of jcl?
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) ?
Is there any command to check wether the ps file is in sorted order?
what is the difference between return code and maxcc?
What does a disposition of (NEW,CATLG,DELETE) mean?