tolerating LRECL mismatch



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

tolerating LRECL mismatch

Postby rroot » Fri Sep 07, 2012 7:47 pm

SYNSORT terminates with a user 016 abend on mismatch of SORTIN and SORTOUT lrecl:
WER108I SORTIN : RECFM=FB ; LRECL= 80; BLKSIZE= 6160
WER073I SORTIN : DSNAME=SYSOS.INFORMAT.POWEXCH.RUNLIB
WER237I OUTREC RECORD LENGTH = 1000
WER110I SORTOUT : RECFM=FB ; LRECL= 22; BLKSIZE= 27984
WER074I SORTOUT : DSNAME=SYS12249.T143435.RA000.ZSYSJOBS.LDKEYV.H01
WER247A SORTOUT HAS INCOMPATIBLE LRECL

DFSORT puts out warning message, populates the SORTOUT with the correct length record and terminates normally:
ICE171I 0 SORTOUT LRECL OF 22 IS DIFFERENT FROM SORTIN(NN) LRECL OF 80 - RC=0

How can I make SYNCSORT toleate this situation?
rroot
 
Posts: 2
Joined: Fri Sep 07, 2012 7:30 pm
Has thanked: 0 time
Been thanked: 0 time

Re: tolerating LRECL mismatch

 

Re: tolerating LRECL mismatch

Postby Akatsukami » Fri Sep 07, 2012 8:11 pm

You can't; use INREC or OUTREC to create a 22-byte output record.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: tolerating LRECL mismatch

Postby dick scherrer » Fri Sep 07, 2012 8:31 pm

Hello and welcome to the forum,

This depends on whether you want 22 bytes in the output or 80. If 22 is the desired output lrecl, do as Akatsukami suggested.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: tolerating LRECL mismatch

Postby rroot » Fri Sep 07, 2012 11:24 pm

thanks for the quick responses. We do want 22, so will specify an OUTREC of 22.
rroot
 
Posts: 2
Joined: Fri Sep 07, 2012 7:30 pm
Has thanked: 0 time
Been thanked: 0 time


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post