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

Differentiate between ci split and ca split?

649


what are s0c1, s0c4, s0c5, s0c7 abends?

921


Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?

734


What is a lds (linear data set) and what is it used for?

638


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

669






How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?

717


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

811


in a cobol select statement, can you tell what is the organization for a ksds?

759


What is a vsam dataset?

725


Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.

2012


what do you mean by a vsam split?

710


why ci and ca splits are not possible in esds and rrds?

825


how can you load a vsam data set with records ?

769


Describe the uses of ams?

666


What is the device independent method to indicate where a record is stored?

718