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 i use abend-aid instead of x-ped ?
What is the function of dbctl?
Name and explain the type of locks?
Can we give +2 instead of +1 while creating a new gdg file?
what are the parameter we cannot use in procedure? How many instream we can write in single jcl? Can we call instream to catalog and catalog to instream?
What is the worst thing that you’ve seen on a day?
How do you find out whether two Data Sets are having exact Data through ISPF Panel? (Say No of Records, Record Data exactly matching including spaces)
Please any one can tell me,What are the tools for pl/1 project in real time scenario?(what are the version control,debugging and files related tools)?
what about F1 & F2 keys in xpeditor? And their functionalities?
What are the error (ONCODES) codes did you encounter in PL/1 programme?
How to move a field DT 9(8) of input file to DT 9(8) COMP-3 in output file in ezytrieve? in the output file entire dt is not moved.If any answer plz reply as soon as possible.
How do you create a like table?