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


Please Help Members By Posting Answers For Below Questions

What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

669


what is use of disp parameter in dd statement?

740


A dd statement consists of 4 fields. Name them?

1048


Is condition checking possible in jcl?

828


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

914






I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

822


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

758


how you can access an uncataloged dataset in a JCL?

745


Explain the function of job statement in jcl?

735


how can you check if a file is empty using jcl?

909


Why block size is multiple of lrecl in jcl?

1021


How to do automated restart when a job abend?

897


What is the function of the dd avgrec keyword in sms datasets?

940


What is the purpose of dd dummy statement?

1044


What is notcat 2 - gs?

1056