a input file contains 1000 records, how to move the first
500 record into one out put file and how to move to second
500 records to anothere output file
Answer Posted / bvr
THIS IS FOR COPY FIRST 500 RECORDS
using IDCAMS utility
//sysin DD*
REPRO -
INFILE(DD1) -
OUTFILE(DD2) -
COUNT(500) THIS IS FOR COPY FIRST 100 RECORDS
/*
THIS IS FOR COPY next 100 RECORDS
using IDCAMS utility
//sysin DD*
REPRO -
INFILE(DD1) -
OUTFILE(DD2) -
skip(500) -
COUNT(500)
/*
| Is This Answer Correct ? | 16 Yes | 4 No |
Post New Answer View All Answers
What is the purpose of dd?
Explain the function of the dd dcb keyword?
What is the syntax of JCL statement?
which utility is used a dummy utility?
What is the use of symbol // in jcl?
what is “Cond= even” and “Cond=only”?
What are the jcl procedures?
what are the statements that are not valid to be included in an include statement?
what are JCLLIB and STEPLIB in JCL?
How can a stopped job be started again?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
What statement can be used to send data to another mvs jes3 node?
what is use of dsn parameter in dd statement?
How to pass data to a program that is coded in an exec statement?