What is the use of IEBGENER ?
Answers were Sorted based on User's Feedback
Answer / p.venkateswarao
IEBGENER is used to copy the data from one Physical
sequential(PS)dataset to another ps.
//aza048ex job class=a,msgclass=x,notify=&sysuid
//step exec pgm=iebgener
//sysut1 dd dsn=aza048.naveen.file1,disp=shr
//sysut2 dd dsn=aza048.naveen.file2,
// disp=(new,catlg,delete),
// dcb=(lrecl=80,blksize=800,recfm=fb),
// space=(trk,(10,10),rlse)
//sysprint dd sysout=*
//sysout dd sysout=*
//sysin dd *
/*
//
Here sysut1 is the input file and sysut2 is the output file
| Is This Answer Correct ? | 18 Yes | 3 No |
Answer / vinay sonar
IEBGENER is used to copy data from one ps to another ps.
Also is it used to copy data from ps to spool area and vica
versa
For more refer mainframe refresher from MUTTU
| Is This Answer Correct ? | 1 Yes | 0 No |
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
how can we override data definitions in jcl. can any one give detailed example
What are the parameters that are used in creating a gdg?
a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?
how to see the latest generation in gdg?
What is a Generation Data Group (GDG)?
mainframe questions like basic&depth
TIME parameter in JOB statement or EXEC statement specifies What type of time (CPU time or execution time)?
Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?
Can anyone tell me the syntax for printing two files at two different destinations in a single step?
What is the function of a dd statement?
I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....