Wednesday, November 23, 2011

IEBGENER


 This is a IBM supplied utility. This is used to copy the data from one sequential file to another. The DD name must b e SYSut1 and SUSut2.
This can also be used to send reports to one or more users mail ids
Can also be used to send reports to printers

Data Set Concatenation :- copy multiple files
The multiple dataset can be concatenated by specifying single DD name and multiple DD operands
Rules:- all datasets file attributes must be same
All data files must be stored in one device
Note : maximum 255 ps,s can be concatenated
Maximum 15 pds’s cam be concatenated

//job001           job(xyz), ‘abc’ class= L MSGclass=x,  MSGLEVEL=(1,1), time=(1,1) reglon=look,type run= run,  notify=&sysid
// act001                      exec     pgm=IEBGENER
//sysut1                        DD      DSN=user.sour.data.i1, disp=shr
//                                 DD      DSN=user.sour.data.i2 disp=old
//                                 DD      DSN=user.sour.data.i3 disp=old
//sysut2                        DD      DSN=user.sour.data.o1, disp=shr
//                                 DD      DSN=user.sour.data.o2 disp=old

//sysout                        DD      sysout=*
//sysprint                      DD      sysput=*
//


note: many ps can be copied to one ps only multiple out ps’s cannot be copied 

No comments:

Post a Comment