How do you send the output of a COBOL program to a member of
a PDS?
Answer Posted / 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 View All Answers
Is it possible to left uncode disp?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
Can we use DISP=SHR in output file in JCL
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What is the use of symbol // in jcl?
What are the rules employed while naming the steps in a job?
For what purpose steplib and joblib are used ?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
How can the attributes of one sms dataset be copied to another dataset?
what is the JCL statement consists of?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
What parameter of the job statement is used to limit the cpu time consumed by the job?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
what is DSN parameter and DISP parameter is used for?
What is the purpose of dd?