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 can we extract data from IMS DB and load it onto oracle database by converting it.Pls someone help me
What is comp-1?
Categorize the mainframe manual testing?
1) What is ONCODE (Return code) in PL/1? 2) How to handle the ONCODE in PL/1? Please give me some examples?
what is the scope of commitment control?
can any one exaplin about Decision Tables in test region with good example
WHAT ARE THE RETRIVAL ORDER OF FILES IN RPG&sql?
How many types of evaluate statements are available?
How do you write from PL/1 code to JCL?
Explain foreign keys?
Can we move alphanumeric incentive to the numeric field?
what u mean by csrloc and rtncsrloc in rpgIV in as/400.Give an eg? to do...give some coding...what is row no and column no ???..if possible...give a no of lines coding....please