not able to convert vb to fb



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

not able to convert vb to fb

Postby ranga_subham » Thu Jul 16, 2009 3:18 pm

Hi, I am trying to convert a VB file to FB using CONVERT feature of sort but unsuccessful. My file LRECL is 133 and RECFM is VB and below is the sort job I am using....

//STEP0002 EXEC PGM=SORT                         
//SORTOUT  DD  DSN=THERESA.TEXT1,         
//             DISP=(NEW,CATLG,DELETE),           
//             UNIT=SYSDA,                       
//             SPACE=(TRK,(1,1),RLSE),           
//             DCB=(RECFM=FB,LRECL=133,BLKSIZE=0)
//SYSOUT   DD  SYSOUT=*                           
//SORTIN   DD DSN=THERESA.TEXT,DISP=SHR   
//SYSIN  DD *                                     
  OPTION COPY                                     
  OUTFIL OUTREC=(5,133),CONVERT
/*                                               


SYSOUT shows this error:

WER108I  SORTIN   : RECFM=VB   ; LRECL=   133; BLKSIZE=  6233
WER230A  SORTOUT  OUTREC FIELD OUTSIDE RANGE                 


Please let me know where I am going wrong.

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: not able to convert vb to fb

 

Re: not able to convert vb to fb

Postby Alissa Margulies » Thu Jul 16, 2009 8:36 pm

You need to subtract 4 from the OUTREC length because your are not including the RDW. If you want the LRECL to remain 133, then code something like this:
OUTFIL OUTREC=(5,129,133:X),CONVERT
Alissa Margulies
Syncsort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Alissa Margulies
Global moderator
 
Posts: 369
Joined: Tue Feb 26, 2008 11:15 pm
Location: USA
Has thanked: 1 time
Been thanked: 1 time

Re: not able to convert vb to fb

Postby ranga_subham » Fri Jul 17, 2009 8:03 pm

Thank you. :D
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post