What does IEBGENER do?
Answers were Sorted based on User's Feedback
Answer / guest
Used to copy one QSAM file to another. Source dataset should
be described using SYSUT1 ddname. Destination dataset should
be described using SYSUT2. IEBGENR can also do some
reformatting of data by supplying control cards via SYSIN.
| Is This Answer Correct ? | 43 Yes | 0 No |
Answer / pradeep
The IEBGENER can be used to call one JCL from another JCL,
example:
//TEST003 JOB 'SORT002',MSGCLASS=X,CLASS=T
//*
//STEP001 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD DUMMY
Here the TEST003 Job when submitted, we inturn submit the
JCL member XXX.GENERAL.STUDY(TEST001)
| Is This Answer Correct ? | 25 Yes | 6 No |
Answer / balakrishnan,maples148
used to copy a group of records of variable length from one
qsam file to another. the file may be ps or pds member..
source file must be specified in SYSUT1 and destination is
specified in SYSUT2.
| Is This Answer Correct ? | 23 Yes | 5 No |
Answer / shakila vinayagam
You can use IEBGENER to perform the following tasks:
1) Create a backup copy of a sequential data set, a member
of a partitioned data
set or PDSE or a UNIX system services (USS) file such as a
HFS file.
2)Produce a partitioned data set or PDSE, or a member of a
partitioned data set or
PDSE, from a sequential data set or a USS file.
3) Expand an existing partitioned data set or PDSE by
creating partitioned members
and merging them into the existing data set.
4) Produce an edited sequential or partitioned data set or
PDSE.
5) Manipulate data sets containing double-byte character
set data.
5) Print sequential data sets, members of partitioned data
sets or PDSEs or USS
files.
6) Reblock or change the logical record length of a data
set.
7)Copy user labels on sequential output data sets.
| Is This Answer Correct ? | 13 Yes | 4 No |
Answer / vijay
1.IEBGENER is used to copy contents from
* one PS to another PS/member of a PDS,
* one PDS member to a PS/member of a PDS.
2.It is also used to concatenate two datasets with same
BLK size.
3.The source can be a instream data/ a PS/member of a PDS.
The destination can be a PS/member of a PDS/spool data.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / amar
000100 //TECH301A JOB CLASS=A,NOTIFY=&SYSUID
000110 //JCLLIB1 JCLLIB ORDER=USER.PROCLIB
000200 //STEP01 EXEC PGM=IEBGENER
000300 //SYSUT1 DD DSN=TECH301.AAAAA.PS,DISP=SHR
000400 // DD DSN=TECH301.BBBBBB.PS,DISP=SHR
000401 //SYSUT2 DD DSN=TECH301.CCCCCC.PS,DISP=SHR
000500 //SYSPRINT DD SYSOUT=*
000600 //SYSOUT DD SYSOUT=*
000700 //SYSIN DD DUMMY
BY using the IEBGENER we can pass two input files data into single output file
by
Amarnath k
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / aditya skand
using this utility we can also send emails
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / mohan tk
1.Create backups of sequential dataset or create members of
partitioned dataset.
2.create partioned dataset or members from a sequential
input dataset.
3.copying a sequential dataset
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / guest
It is Dummy Utility. It is used to copy ps to
ps ,concentating data sets it will be ps file or pds file.
| Is This Answer Correct ? | 8 Yes | 19 No |
Please explain with syntax and an example, the Inrec fields and Outrec build in sort.
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?
How can you execute a COBOL program via SYSIN in JCL?
When we give TYPERUN = SCAN , what are the syntax errors we get?
How to use COND Parameter in jcl
What is GDG and what is the maximum limit of versions that can be created?
What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?
what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
a dd statement has 2 types of parameters. Name them?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).