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 job processing, what happens in execution stage?

696


How dummy is used in jcl?

643


how you can direct the data to spool using SYSOUT option?

920


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1947


What do you understand by the term notcat 2 – gs?

751






Does jcl support automatic restart?

759


Explain the function of the steplib dd statement?

637


What is the maximum length of a single line of jcl?

825


Give the syntax of job specifying jcl statement.

636


How to pass the parameter in parm using linkage section ? (syntax)?

645


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1485


How can the submitting users racf authority be overridden in a job stream?

741


what is JCL?

691


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

662


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5058