IEBGENER if the RECFM/BLKSIZE does not match



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

IEBGENER if the RECFM/BLKSIZE does not match

Postby martinf7031 » Thu Jul 31, 2008 5:21 pm

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
martinf7031
 
Posts: 5
Joined: Tue Jun 03, 2008 2:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: IEBGENER

Postby Bill Dennis » Thu Jul 31, 2008 6:53 pm

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.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: IEBGENER if the RECFM/BLKSIZE does not match

Postby dick scherrer » Thu Jul 31, 2008 10:34 pm

Hello,

You cannot concatenate datasets with unlike dcb info - unless my menory has completely gone away :)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post