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 |
How is the sorting of vsam files carried?
what is freespace
how many ways can we open i vsam file ? like print ch ids (/) is thre any other way to open the vsam file please can any one answer ?
if you wish to use the rewrite command how must the vsam file be opened?
What is Control Interval, Control Area ?
How do you define an ALTINDX ? How do you use ALTINDXs in batch, CICS pgm?s ?
Explain the index set?
FREESPACE can be specified for which type of cluster? a.LDS b.RRDS c.ESDS d.KSDS
What is a vsam dataset?
is it slower if you access a record through alternative index as compared to primary index?
is it required that primary key values have to be unique? Do alternate key values have to be unique?
how many buffers are allocated to vsam ksds and esds?