How do you send the output of a COBOL program to a member of
a PDS?
Answer Posted / 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 |
Post New Answer View All Answers
How can the attributes of one sms dataset be copied to another dataset?
what is DSN parameter and DISP parameter is used for?
how to run batch program without jcl?
what is the compile process of cobol program expalin with code
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
i want to store 20 digits . how will u do it in cobol ?
Where can program checkpoints be stored for use in a restart?
Explain how can an in-stream dataset be terminated?
What are the utility programs in jcl?
Explain the hierarchy levels in jcl?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Explain about LMFREE�free data set from its association with data ID
How to do automated restart when a job abend?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
which utility is used to sort a file in jcl?