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 |
What is next sentence and continue unique?
by using xpeditor if i want to debug the sub pgm ? how canu code in xped for main pgm and sub pgm ? wht is the debugging process ?
How do you eliminate the duplicates?
can i use abend-aid instead of x-ped ?
how can u view a vsam file using file-aid
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 u debug without using xpeditor ?
How much memory does variable of 6 decimal (15, 2) take in PL/1?
If a gdg contains 20 versions .. how to copy those versions ps?
What is the difference between Verify & Index in PL/1?
does anybody know about niit technologies ? how is that company ? any body working in that company ? please answer my question.I got selected in NIIT Technologies delhi.
What is the maximum value that can be stored in s9(8) comp?