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
What is jcl in mainframe, and how many types of jcl statements are there for a job?
Does jcl support automatic restart?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What are some jcl statements that are not allowed in procedures?
What parameter directs the output of the job log dataset?
What is the function of //cntl statement?
what sort card you will use to copy the data from one dataset to another dataset?
What are the utility programs in jcl?
What is the purpose of the dd keylen parameter?
What is one line to pass PARM from JCL to COBOL?
is there any way to execute more than one proc in the same exec statement at the same time..?
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 do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
How to alter the parameters for the existing gdg?
Explain the hierarchy levels in jcl?