How to fetch even records from one file to another file by
using ICETOOL in JCL?
Answer Posted / rajvee
Step01 exec pgm=sort
.
.
.
sysin dd *
sort fields=copy
outfil fnames(out1,out2),split
first rec will be in out1 file, second in out2,third in
out1 and so on..
so out2 will have even number recs.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
A dd statement consists of 4 fields. Name them?
Brief description of inline procedure of jcl.
How is the record format of an output dataset specified?
which utility is used to run a cobol-db2 program?
What are some jcl statements that are not allowed in procedures?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
What is the purpose of dd?
Is automatic restart possible in jcl? If yes, how?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What is use of restart and how to use it?
Is there any command to check wether the ps file is in sorted order?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
What are the utility programs in jcl?
What are the 2 types of parameters in dd statement?