How do you send the output of a COBOL program to a member of
a PDS?

Answer Posted / vinay sonar

//STEP1 EXEC PGM=IEBGENER
//SYSUT1 DD SYSOUT=*
//SYSUT2 DD DSN='PDS NAME TO WHICH OUTPUT IS TO BE COPIED'

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about ISPF/TSO Commands

1315


which utility is used to sort a file in jcl?

751


what are the statements that are not valid to be included in an include statement?

779


when does a dataset go uncataloged?

841


Give the syntax of job specifying jcl statement.

640






Can I send output of job to my remote device careerride123?

671


What are steplib and joblib?

725


In sms datasets, what is the function of the dd mgmtclas keyword?

865


Mention the types of job control statements?

693


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

734


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2175


What is the syntax of JCL statement?

700


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9222


Explain the job statement in jcl?

653


Explain the purpose of the dd keylen parameter?

680