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 multithreading in jcl?
Explain the purpose of dd dummy statement?
How can values be passed from the job stream to an executable program?
what is DSN parameter and DISP parameter is used for?
How to override loadlib?
What is the function of dd disp parameter?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
How do you create a temporary dataset?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
Explain the hierarchy levels in jcl?
How can unused space allocation be returned to the system when a dataset is closed?
How can a stopped job be started again?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
which parameter is use to declare the name of dataset in dd statement?
a dd statement has 2 types of parameters. Name them?