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 |
if you wish to use the rewrite command how must the vsam file be opened?
what is difference between repro and export? if any one know this plz tell me
Explain the biggest disadvantage of using a vsam dataset?
What more info you should give in the DD statement while defining the next generation of a GDG?
What is the difference between lds and esds?
what is meant by BUFND & BUFNI..?
How do you calculate record size of an alternate cluster? Give your values for both unique and nonunique.
How is the sorting of vsam files carried?
Tell about the ams used in vsam?
What is the main function of key-sequenced data set?
What is control interval?
what is the use of the file status clause in the select statement in vsam?