Author: Bill Woodger
Subject: Reply to: INVALID FIELD OR CONSTANT IN SORTOF ??
Posted: Wed Jan 11, 2017 5:23 pm (GMT 5.5)
If you poke the message reference into a search-engine, you should get to the description in the KnowledgeCentre, which will lead to this:
I suggest you use the match-marker in the REFORMAT statement, a ? (question-mark) which you then test for 1 (on 1, not on 2), 2 (on 2 not on 1) and B (a match), which will simplify things (you don't need the FILL) and to do your test you'll have to split the field into multiple ones.
Subject: Reply to: INVALID FIELD OR CONSTANT IN SORTOF ??
Posted: Wed Jan 11, 2017 5:23 pm (GMT 5.5)
If you poke the message reference into a search-engine, you should get to the description in the KnowledgeCentre, which will lead to this:
Quote: |
the length for a field with a format other than SS was greater than 256 |
I suggest you use the match-marker in the REFORMAT statement, a ? (question-mark) which you then test for 1 (on 1, not on 2), 2 (on 2 not on 1) and B (a match), which will simplify things (you don't need the FILL) and to do your test you'll have to split the field into multiple ones.