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 |
Can you explain function of dbctl?
What do you mean by an alias?
How many types of evaluate statements are available?
When the job statement is used?
can we describe the results of opening for input empty vsam files in a cobol program?
in options (main) , what is meaning of main . if u not used main what will happen? After compiling, os will not understand where to load and execute from
What will happen if both steplib and joblib are specified?
What is the mainframe testing?
What are the mainframe computing pros and cons?
When do you get -811 sqlcode and how to resolve it?
What is the binary search?
Where is the vsam ksds placed?