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 sort packed decimal if i can tell the syntax
how many max steps can we use in a job? pls answer to my question
suppose i have 10 job steps and i want to execute only step 6.How to write?
I have four steps in jcl they are STEP1,STEP2,STEP3 and STEP4. Can it possible to run the reverse order like step4 first then step3,step2,step1?
i have 10,000 records in one input file.i want to sort 1 to 5000 records in one outputfile and remaining records sort in another output file write the syntax for this?
what is DSN in JCL and what are the parameters to declare the DSN?
Passing a variable parm from JCL to a cobol/db2 program
In job processing, what happens in execution stage?
if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
What is the meaning of the following declaration : DCB=BLKSIZE=, What is the difference between above declaration & not specifying DCB at all for a output file?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?