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 / guest

ANS 1: if the input file is empty no problem. MAXCC=0.

ANS 2; If the input file contains atleast 1 rec, you will
get the folloing error meg.
============================================================
REPRO -

INFILE(INDD) -

OUTFILE
(OUTDD)
IDC3302I ACTION ERROR ON
T0629VR.VSAM.ESDS
IDC3351I ** VSAM I/O RETURN CODE IS 108 - RPLFDBWD =
X'8408006C'
IDC31467I MAXIMUM ERROR LIMIT REACHED.
IDC0005I NUMBER OF RECORDS PROCESSED WAS 12
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE
WAS 12
RETURN CODE 108 MEANS ==>RECLEN specified was larger than
the maximum allowed

Is This Answer Correct ?    17 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

differentiate between sequential files and esds files in vsam?

587


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

629


What is the purpose of relative record data set used in vsam?

689


can you specify some the distinctive features of a ksds, key sequenced dataset?

593


OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output

2075






How is record management performed in vsam?

591


what does a file status of 02 on a vsam signifies?

629


Explain the biggest disadvantage of using a vsam dataset?

584


What is the main function of linear dataset?

563


Describe the uses of ams?

544


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

580


what do you mean by a vsam split?

579


Define base cluster?

571


What is the use of lds (linear data set)?

574


difference between vsam and database tables

638