HOW TO SORT RECORDS IN VSAM FILE?
Answers were Sorted based on User's Feedback
Answer / sumit agnihotri
when we load a records through the REPRO command in the VSAM file so the input file must be sorted on the primary key using SORT utility ..
//sysin dd *
sort fileds = (1,5,ch,a)
/*
//
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / pooja
by using pgm=sort
and in sysin dd pass sort fields(first coloumn no,lenth of
the character,ch,a/d)
a for ascending and d for descending
| Is This Answer Correct ? | 7 Yes | 5 No |
Answer / sumit agnihotri
vsam file record are enter in a sorted order but when we
retrieve a records in KSDS so we specify a primary key
(unique) , in ESDS we enter a record in any order but
retrieve a records through the RBA (Relative byte address)
who r auto-generated, and also enter a record in any order
but retrieve records through the RRN (relative record
number)....
so the Answer is that we enter a records in a VSAM file
in a sorted order ....
| Is This Answer Correct ? | 3 Yes | 2 No |
What is a vsam dataset?
Is CA(Control Area) is part of CI(Control Interval)
HOW TO SORT RECORDS IN VSAM FILE?
What is the maximum record length for the VSAM dataset?
explain the differences between vsam and non-vsam files
If you wish to use the REWRITE command haw must the VSAM file be opened?
what is the use of reuse in vsam?
what is the concept of AIX in vsam ????
What's a LDS (Linear Data Set) and what's it used for?
What is the device independent method to indicate where a record is stored?
what is the purpose of the verify function of idcams?
what is meant by s0c-07 system abend codes?