Hi, smijoss, thanks very much for ur suggestion and we have made the same solution.
However, the aim that I posted this topic is to check it out that whether this phenomenon existes in ur or other people's site/shop, if so, I think the limitation notice should be added to the reference in the future.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Feng hao,
Code:
INCLUDE COND=((1,4,CH,EQ,C'GOOD'),AND,
(9,6,SS,EQ,C'AAAAA1,AAAAA2,AAAAA3,AAAAA4,AAAAA5,AAAAA6,
BBBBB1,BBBBB2,BBBBB3,BBBBB4,BBBBB5,BBBBB6, -
CCCCC1,CCCCC2,CCCCC3,CCCCC4,CCCCC5,CCCCC6, -
DDDDD1,DDDDD2,DDDDD3,DDDDD4,DDDDD5,DDDDD6, -
EEEEE1,EEEEE2,EEEEE3,EEEEE4,EEEEE5'))
C'string' specifies a single string and can be a maximum of 256 characters.
Your syntax is embedding blanks in the string. It's not giving you the string you think it is. See "z/OS DFSORT Application Programming Guide" for the correct way to code a continued string.
C'string' specifies a single string and can be a maximum of 256 characters.
Yes, that is the problem which I didn't realize before. It is that the max length of a string rather than the total number of substring which can be listed after the'SS'.
I was misunderstanding the problem until yesterday.Thanks very much for your accurate explanation!
----------------------------------
Hi, smijoss,
Thank you very much for your comments and good suggestions.
I didn't get the message when you suggested to me that I should check the section of 'Line continuation', otherwise, maybe I could get the point earlier. Thank you all the same!!