How to createing new version of GDG with out loosing the
data in preaves GDG version?
Answer Posted / amrita
While mentioning the GDG file in JCL, write (+1) infront of
the file name eg: DD DSN=xxx.yyy(+1),DISP=(NEW,,)
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain the function of entry-sequenced data set?
Explain the process in which flat files are converted into vsam files?
differentiate between sequential files and esds files in vsam?
what will happen when you try to open an empty vsam file in a cobol program for input?
Differentiate between control interval (ci) and control area (ca)?
What are the building blocks used in vsam datasets?
Would you specify freespace ce for an esds?
What is the main function of key-sequenced data set?
What are the information stored in ci?
how do you create an alternate index ?
What is the main purpose of having user catalog in vsam?
there are seven idcams commands in vsam. Can you name and explain each of them?
What are the distinctive features of a ksda, key sequenced dataset?
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
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.