If a gdg contains 20 versions ..
how to copy those versions ps?
Answers were Sorted based on User's Feedback
Answer / siva
use IEBGENER or REPRO
Assume that you have already created ps
Example :
//iebgen1 exec pgm=iebgener
//sysprint dd sysout=*
//sysut1 dd dsn=your.gdg.name, disp=shr
//sysut2 dd dsn=your.ps.name, disp=old
//sysin dd dummy
//
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / mdvasanth86
You will not have 20 versions, you might have 20 Generations.
If you want all the data from the GDG copied to another PS
file , you can use the GDG base as the input and copy to a
sequential PS file.
SORTIN -> GDG base
SORTOUT -> PS FILE
EXEC PGM=SORT
OPTION COPY
HTH
| Is This Answer Correct ? | 2 Yes | 0 No |
how to display the negative numbers?
Explain lock contention?
Explore the syntax of the evaluate statement?
accept ws-date from date will return the current date?
how are start and xctl different?
Is it possible to move an alphanumeric incentive to a numeric field?
Can the values of alphanumeric be moved to variable numeric?
What are the mainframe computing pros and cons?
Tell me abt any another framework which is challening for Ibm framework
How to compare two files by using sort?
Tell about how do you eliminate the duplicates?
What is z os in mainframe?