Joined: 28 Jan 2012 Posts: 316 Location: Room: TREE(3). Hilbert's Hotel
Arun Raj wrote:
Code:
184,16
Also the length of the last field should go up as well, to make it 200. As of now it adds up only to 199.
Yup. That's why I suggested to add a space either after DATE1 or in the end or may be change the length to 17 to make it 200, whichever meets the OP's requirement.
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
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
then try to
- 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.