Answer Posted / vinay sonar
By using IEBCOPY
Syntax is
DD1 DD DSN=PMAP391.NEW.PS,DISP=SHR
DD2 DD DSN=PMAP391.NEW.PS,DISP=SHR
OR
Type Z infront of dataset name in catlog
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Explain dfsort utility?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Explain the job statement in jcl?
In job processing, what happens in execution stage?
Explain the function of the dd dcb keyword?
What is jcl in mainframe?
Is automatic restart possible in jcl?
What is one line to pass PARM from JCL to COBOL?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
what is the purpose of coding class parameter in job statement?
Explain how can a jobs execution priority be modified?
What is the function of //cntl statement?
a dd statement has 2 types of parameters. Name them?
Is it possible to define dd statements as you want?