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 |
if we give TIME=0 how many sec that job/step
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?
What is the difference between joblib and jcllib statements
What are SD37, SB37, SE37 abends?
how you can direct the data to spool using SYSOUT option?
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.
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
Explain about RECORDING MODE Clause
Explain how can the submitting users racf authority be overridden in a job stream?
I have three files for one step i need to override the third file how to do that in jcl?
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?
what is DSN in JCL and what are the parameters to declare the DSN?