What is the use of IEBGENER ?
Answers were Sorted based on User's Feedback
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 |
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 |
How to rename a VSAM file as well as it's index file?
WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
How do you pass parameters to the program as the job is being executed ?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
what is inrec fields and outrec fields in sorting
how can we override data definitions in jcl. can any one give detailed example
Which dd parameters are required?
How to pass the parameter in parm using linkage section ? (syntax)?
how many types of sorts are there in jcl?
wht r s722,s822,s122 and s222 abends pls reply fast
Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember