I have 3 duplicate records in a file .
I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?
Answer Posted / vignesh1988i
so , first sort the PS using JCL SORT utility and update the
PS file.
find the duplicates using XSUM . and write the duplicates
alone in a seperate PS.
take the seperate PS and give the control condition inside
SYSIN DD * as , sort fields with skiprec(3), since u need
only the 3rd one to copy
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
How does jcl act on a cobol code?
What is the function of a dd statement?
What parameter directs the output of the job log dataset?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
List in order the hierarchical levels of jcl?
Explain about LMFREE�free data set from its association with data ID
Explain the jcl exec statement?
Is acct parameter mandatory?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
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.
Is condition checking possible in jcl? If yes, how?
What is the significance of addrspc parameter in exec statement?
what is the use of JCL?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
which utility is used a dummy utility?