Page 1 of 1

IEBGENER if the RECFM/BLKSIZE does not match

PostPosted: Thu Jul 31, 2008 5:21 pm
by martinf7031
Dear all,

Is there another utility that I can use other than the IEBGENER that will execute, regardless if the record format or blocksizes that does not match? A normal IEBGENER will fail if the RECFM/BLKSIZE does not match. I have included an example of two input files with different LRECL's and BLKSIZES

 //*********************************************************************
 //*                                                                   
 //*********************************************************************
 //STEP1    EXEC PGM=IEBGENER                                           
 //*********************************************************************
 //SYSPRINT  DD SYSOUT=*                                               
 //SYSUT1    DD DSN=SPLNS.TLIVE.PLD606.JAN03,DISP=SHR                   
 //               DD DSN=PSAVE.DLIVE.PLD606.JAN03,DISP=SHR                   
 //*                                                                   
 //SYSUT2    DD DSN=SPLNS.TLIVE.PLD606.CMP025.JAN03A,                   
 //             DISP=(NEW,CATLG,DELETE),                               
 //             LRECL=177,RECFM=FB,                                     
 //             SPACE=(TRK,(50,10),RLSE)                               
 //*                                                                   
 //SYSIN    DD DUMMY                                                   
 //*                                                                   
 //SYS1     DD UNIT=SYSDA,SPACE=(TRK,(300,30))                         
 //SYS2     DD UNIT=SYSDA,SPACE=(TRK,(300,30))                         
 //SYS3     DD UNIT=SYSDA,SPACE=(TRK,(300,30))                         


Regards,
Martin

Re: IEBGENER

PostPosted: Thu Jul 31, 2008 6:53 pm
by Bill Dennis
What all functions would you expect the program to do?

Pad the short records to the output LRECL?
Truncate, if needed.
Handle FB and VB?

Perhaps an ICETOOL-type step with multiple inputs and a common output but you'd need to specify how the input fields reformat to the output. It's not going to generically handle everything.

Re: IEBGENER if the RECFM/BLKSIZE does not match

PostPosted: Thu Jul 31, 2008 10:34 pm
by dick scherrer
Hello,

You cannot concatenate datasets with unlike dcb info - unless my menory has completely gone away :)