Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


HOW TO SORT RECORDS IN VSAM FILE?

Answers were Sorted based on User's Feedback



HOW TO SORT RECORDS IN VSAM FILE?..

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

HOW TO SORT RECORDS IN VSAM FILE?..

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

HOW TO SORT RECORDS IN VSAM FILE?..

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

Post New Answer

More VSAM Interview Questions

On which datasets You can have ALT INDEX?

2 Answers  


What is the COBOL RECORD KEY clause?

2 Answers  


What is the Difference between LDS & ESDS ?

3 Answers  


Create syntax for a VSAM file ?

2 Answers   Xansa,


what do you mean by the cobol record key clause in vsam?

0 Answers   IBM,


When CISZ is declared as 4096 at cluster level,is this true that data will have 4096 and index will have default?????

1 Answers   Wipro,


If you wish to use the REWRITE command haw must the VSAM file be opened?

1 Answers  


How many times secondary space allocated?

5 Answers  


What are the different parameters that are used in vsam?

0 Answers  


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 ?

1 Answers   IBM,


What makes vrrds different from vsam?

0 Answers  


what are s0c1, s0c4, s0c5, s0c7 abends?

0 Answers   IBM,


Categories