Can we copy a sequential file to a VSAM file ? If yes, What
will happen of the size of the sequential file is bigger
than that of the VSAM file?

Answer Posted / kishore

If you give the RECFM=FB, then you can give the same record
length of that VSAM file.
If it VB, you should give LRECL is 4 + LRECL of VSAM file.

You can use, IDCAMS or IEBGENER for copy

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main function of key sequenced data set in vsam?

732


what are the additional information you should give in the dd statement while defining the next generation of a gdg?

761


Explain the process in which flat files are converted into vsam files?

762


there are seven idcams commands in vsam. Can you name and explain each of them?

864


Explain the significance of the shareoptions parameter?

748


difference between vsam and database tables

879


What is a lds (linear data set)?

760


How do you define an altindx?

771


How do you calculate record size of an alternate cluster?

886


Explain the index set?

821


How to get the last record in vsam file in cluster?

781


what are s0c1, s0c4, s0c5, s0c7 abends?

1007


In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?

1212


is it necessary that all versions of the gdg have to be of the same record length?

894


how can you load a vsam data set with records ?

876