If a gdg contains 20 versions ..
how to copy those versions ps?

Answers were Sorted based on User's Feedback



If a gdg contains 20 versions .. how to copy those versions ps?..

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

If a gdg contains 20 versions .. how to copy those versions ps?..

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

Post New Answer

More IBM MainFrame AllOther Interview Questions

What is next sentence and continue unique?

0 Answers  


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 ?

1 Answers   Syntel,


How do you eliminate the duplicates?

0 Answers  


can i use abend-aid instead of x-ped ?

1 Answers  


how can u view a vsam file using file-aid

5 Answers   CSC, IBM,






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.

0 Answers  


how do u debug without using xpeditor ?

1 Answers   TCS,


How much memory does variable of 6 decimal (15, 2) take in PL/1?

1 Answers   IBM,


If a gdg contains 20 versions .. how to copy those versions ps?

2 Answers   IBM,


What is the difference between Verify & Index in PL/1?

2 Answers   IBM,


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.

0 Answers  


What is the maximum value that can be stored in s9(8) comp?

0 Answers  


Categories