How do you convert flat files to VSAM files ?
Answers were Sorted based on User's Feedback
Answer / dev
u can not directly convert a flat file to vsam file because
vasam file have something called key filed which u need to
specify and it should be in some order asc/dsc or we can
say sorted on key filed and then we can copy the flat file
to vsam file
Is This Answer Correct ? | 12 Yes | 4 No |
Answer / mainframe virumbi
The attributes of the VSAM and Flat files are totally
different, so we cant copy the entire characteristics, but
i think we can copy the contents i.e datas using idcams
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / sajid
use idcams export option which will convert a flat file into
vsam file by copying the datset along with its attributes...
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / jerry
please make sure that we should sort primary keys only in
asending order while copying.... here some one gave
ase/dse.. i think its not possible
Is This Answer Correct ? | 3 Yes | 6 No |
What's a LDS (Linear Data Set) and what's it used for?
How many Alternate Indexes you can have on a dataset?
What is the meaning of the DEFINE MODEL parameter?
Why is it required to have a keyed directed retrieval?
Alt key is used for what type of vsam file
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
How do you load a VSAM data set with records ?
By looking into the Jcl can we identify the dataset is VSAM?
5 Answers Cognizant, Keane India Ltd,
Create syntax for a VSAM file ?
can you specify some the distinctive features of a ksds, key sequenced dataset?
Is it slower if you access a record through alt index as compared to primary index?
what is the syntax of ams modal commands?