In a file(PS), we dont know how many records are there.
requirement is divide half n half the records n insert into
2 another files(PS).
Answers were Sorted based on User's Feedback
Answer / shaan
Use Sort program to count the no of records and then sent
half of them to a PS file using sort fields=copy with
skiprec and stopaft command.
Is This Answer Correct ? | 18 Yes | 3 No |
Answer / kk
Write a cobol program with an Index and read the input file
and write to two files based on alternative records.
Is This Answer Correct ? | 1 Yes | 4 No |
What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..
How can you create a VSAM dataset? Can you write a JCL for it?
How do you convert flat files to VSAM files ?
How to createing new version of GDG with out loosing the data in preaves GDG version?
Is CA(Control Area) is part of CI(Control Interval)
when u r using repro command what happens if both infile and outfile names same
What is the upgrade set?
Under IDCAMS , multiple functions can be executed, each of which returns a cond code. What will be the condition code returned to the operating system ?
What does a file status of 02 on a VSAM indicate?
Describe SHAREOPTIONS parameter (SHR) in Define Cluster command.?
can we access sequential files online
What is the main function of key sequenced data set in vsam?