What is the use of IEBGENER ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in ways data can be passed to a COBOL program from JCL?

669


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9222


what is DD statement is used in JCL?

683


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1670


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

7613






how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

791


which parameter is used to check the syntax of a jcl without executing it?

802


What is the function of the dd avgrec keyword in sms datasets?

843


Name the statement which can be used to send data to another mvs jes3 node?

607


Explain dd statement in jcl?

646


what is DSN parameter and DISP parameter is used for?

680


What is the function of the dd mgmtclas keyword in sms datasets?

743


What are the parameter we cannot use in procedure?

644


what are the statements that are not valid to be included in an include statement?

778


What are the utility programs in jcl?

650