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


Please Help Members By Posting Answers For Below Questions

What is jcl in mainframe, and how many types of jcl statements are there for a job?

628


Does jcl support automatic restart?

759


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

579


What are some jcl statements that are not allowed in procedures?

724


What parameter directs the output of the job log dataset?

763






What is the function of //cntl statement?

828


what sort card you will use to copy the data from one dataset to another dataset?

724


What are the utility programs in jcl?

646


What is the purpose of the dd keylen parameter?

718


What is one line to pass PARM from JCL to COBOL?

611


is there any way to execute more than one proc in the same exec statement at the same time..?

2105


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.

1982


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

673


How to alter the parameters for the existing gdg?

710


Explain the hierarchy levels in jcl?

1117