vikas


{ City } gurgaon
< Country > india
* Profession *
User No # 51646
Total Questions Posted # 0
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 2
Users Marked my Answers as Wrong # 4
Questions / { vikas }
Questions Answers Category Views Company eMail




Answers / { vikas }

Question { 16068 }

I have a file in which I have 20 records. I want my first
record to go into file 1 and second record to go in second
file. I want to copy the alternate records like this in the
two output files. How can I do this using JCL?


Answer

IDCAMS might be helpful for same.

Is This Answer Correct ?    0 Yes 4 No

Question { 5500 }

AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE
DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I
GET THE PROGRAM FOR THIS


Answer

A Sort program will do that for you. Just write
sumfiled=NONE. This will remove the duplicates for you.

Is This Answer Correct ?    2 Yes 0 No