Joined: 25 Jun 2007 Posts: 196 Location: Bangalore
Hi,
Quote:
What does the manual say about the message:
WER247A SORTOUT HAS INCOMPATIBLE LRECL
Explanation for WER247A from SYNCSORT documentation:
Quote:
WER247A ddname HAS INCOMPATIBLE LRECL
EXPLANATION: The ddname will be SORTOUT, SORTOFxx, SORTOFx
or the ddname provided by an OUTFIL FNAMES parameter. There is a
conflict between the LRECL specification for the indicated output
file and either the post-OUTFIL or post-OUTREC record length.
Padding of records is not permitted after OUTFIL processing, so
the LRECL may not be greater than the post-OUTFIL record length.
Alter- nately, truncation of records is not permitted after the
OUTREC state- ment or the OUTFIL OUTREC processing, so the LRECL
may not be less than the post-OUTREC record length.
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
himanshu7 wrote:
Thanks Shankar,
Bipin the error is not because of the LRECL.Please check the log posted.
If that really were the case then maybe SYNCSORT might have issued a different message.
All the evidence points to this being the problem, however there appears to be the second problem of you not believing what SYNCSORT and everyone else is telling you.
So is it SYNCSORT that is wrong, or perhaps ........ is it YOU
SYSIN :
SORT FIELDS=COPY
OUTFIL OUTREC=(21,1,CHANGE=(1,C',',C'R '))
WER276B SYSDIAG= 2930, 179177, 179177, 1064317
WER164B 6,916K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 1M BYTES USED
WER108I SORTIN : RECFM=FBA ; LRECL= 64; BLKSIZE= 27968
WER110I SORTOUT : RECFM=FBA ; LRECL= 64; BLKSIZE= 27968
WER247A SORTOUT HAS INCOMPATIBLE LRECL
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
The LRECL of both the files are same.
What could be the possibility of this error?
First of all, the control cards originally posted do not match the SyncSort message output. These are not from the same execution of the job.
Second, there is an error in the following statement:
Code:
OUTFIL OUTREC=(21,1,CHANGE=(1,C',',C'R '))
You cannot have a length of 1 for the CHANGE field if you specify the replacement as 'R ' which has a length of 2.
If you are still encountering difficulties with this application, please contact me offline at alissa.margulies@syncsort.com with the complete job listing as a text attachment and I would be happy to assist you further.