What is the use of IEBGENER ?

Answers were Sorted based on User's Feedback



What is the use of IEBGENER ?..

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

What is the use of IEBGENER ?..

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

Post New Answer

More JCL Interview Questions

can i sort packed decimal if i can tell the syntax

1 Answers   Barclays,


how many max steps can we use in a job? pls answer to my question

3 Answers   TCS,


suppose i have 10 job steps and i want to execute only step 6.How to write?

6 Answers  


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?

4 Answers   Broadridge, HCL,


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?

4 Answers   DELL,






what is DSN in JCL and what are the parameters to declare the DSN?

0 Answers  


Passing a variable parm from JCL to a cobol/db2 program

1 Answers   IBM,


In job processing, what happens in execution stage?

0 Answers  


if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.

4 Answers   IBM,


How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

4 Answers   IBM,


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?

1 Answers  


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?

0 Answers   CGI, Verizon,


Categories