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 the need to code commits in batch programs?
If JOBA is in MSGW due to data decimal error and DUMP is generated and I found that Decimal field formatted with some special char which is coming from Input file amd file has millions of records. How I can find out on which record the error is occur. Please share your experience.....
Hi all, I have >200 members per Dataset, I need to delete 2 lines from all members of a Dataset. To do Manually it is difficult. So please tell me simple method. is there any Tool or........
what is the main purpose of using file-aid ?
2 Answers NIIT, Tech Mahindra,
Which is the difference between delimited by size and delimited by space?
what is use of linkage section?
whose product is x-peditor ?
What will happen if both steplib and joblib are specified?
how can we repair a soc-7 error?
Is it rquired any server for Ibm framework? Give me list of Ibm framework & recent version IBm framework?
How many module come in Ibm framework?
how can you define a dataarea(DTAARA) IN RPG? Which spec you define it C-spec/D-spec?