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 is the main function of key-sequenced data set?
What is the significance of the SHAREOPTIONS parameter?
What is the maximum record length for the VSAM dataset?
What is the difference between sequential files and ESDS files?
what are the additional information you should give in the dd statement while defining the next generation of a gdg?
Alt key is used for what type of vsam file
what does a file status of 02 on a vsam signifies?
What is the difference between lds and esds?
Do all versions of the GDG have to be of the same record length ?
What are the types of VSAM datasets?
what is the meaning of dynamic processing in vsam?
Name some common VSAM error conditions and codes. ?