how to write a jcl prog to copy alternate recs from ps1 to
another ps2,suppose ps1 having 10 recs?
Answer Posted / mahesh
//step1 exec pgm=iebgener
//sysut1 dd dsn=fss149.mahesh.ps1,disp=(shr)
//sysut2 dd dsn=fss149.mahesh.ps2,disp=shr
| Is This Answer Correct ? | 2 Yes | 23 No |
Post New Answer View All Answers
What is jcl in mainframe?
What is the use of symbol // in jcl?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What is notcat 2 - gs?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
Explain the jcl exec statement?
Are there any set of rules for the names of the steps used in a job? What are they?
Explain how can a stopped job be started again?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
how to run batch program without jcl?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
What is one line to pass PARM from JCL to COBOL?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
Differentiate between the joblib and the steplib statements?
how you can access an uncataloged dataset in a JCL?