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

i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.

1 Answers   TCS,


1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?

11 Answers  


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

0 Answers  


Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?

7 Answers   VS, Wipro,


What is the significance of addrspc parameter in the exec statement?

0 Answers  






i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?

4 Answers   IBM,


What will happen if two JOB statements are mentioned in an JCL continuously.

2 Answers   IBM,


What is Backward Referencing ?

3 Answers   HSBC,


Explain about LMGET�read a logical record from a data set

1 Answers  


Describe the EXEC statement, its meaning, syntax and keywords?

2 Answers  


List the different jcl statements that are not permitted in the procedures?

0 Answers  


oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset

3 Answers   Cognizant,


Categories