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

What is Cataloged Procedures?

794


what is the compile process of cobol program expalin with code

2117


what is use of dsn parameter in dd statement?

762


When output dataset space is required, what quantity categories are used?

948


How to submit jcl through a cobol program?

777






How does jcl act on a cobol code?

731


Explain how can an in-stream dataset be terminated?

800


What is the function of a dd statement?

805


How to pass the parameter in parm using linkage section ? (syntax)?

747


Explain the function of job statement in jcl?

735


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

690


how to do automated restart when a job abends?

958


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

758


How is a type of file defined in the jcl that executes the cobol program?

817


Define concatenating?

754