Author: sergeyken
Posted: Tue May 02, 2017 7:36 pm (GMT 5.5)
The whole trick is: whenever you get the message
then try to
I can recommend not to be lazy, and format your statement(s) properly. It makes easier further searching for typos, etc.
_________________
Tyrannosaurus-REXX
Posted: Tue May 02, 2017 7:36 pm (GMT 5.5)
Danielle.Filteau wrote: |
THANK YOU !!!!!!! it finally worked. I wish syncsort would give you more information to help diagnose these kinds of errors. Are there any tricks you know to help with situations like this? I have 26 of these cases to code ... lol |
The whole trick is: whenever you get the message
Code: |
WER247A UPDT1 HAS INCOMPATIBLE LRECL |
- - compare your BUILD definitions, and LRECL of your output file, or
- use some new DSNAME without DCB parameter defined in your DD statement; the file will be created with LRECL taken from your BUILD parameter - you can compare it to what you really need; in some cases even output DD with SYSOUT=* may help to visually find the difference in output.
I can recommend not to be lazy, and format your statement(s) properly. It makes easier further searching for typos, etc.
Code: |
... INCLUDE=(3,3,CH,EQ,C'017', AND,56,8,CH,NE,C'99991231', AND,16,2,CH,EQ,C'AR', AND,25,1,CH,NE,C'*', AND,67,1,CH,EQ,C'N'), BUILD=(1,66, 67:C'Y1',69,96, 165:C'CONSERV',3X, 175:&DATE1,184,16, /,1,24, 25:C'1',26,30, 56:C'99991231',64,100, 165:C'CONSERV',3X, 175:&DATE1,184,16) |
_________________
Tyrannosaurus-REXX