Synon – Maximum OR conditions in CASE Statement

40 pts.
Tags:
OS/400
Synon
Synon/Cool 2E
Hi,

My Synon program doesnt allows me to add more than 10 OR Conditions in one CASE Statement.

C1 OR C2 OR  C3 OR C4 OR C5 OR C6 OR C7 OR C8 OR C9 OR C10 OR C11 OR C12 OR C13.

when given like above, it only generates the source for first 10 conditions. Remaining are ignore and even no error messages while generating the source or compiling the program.

Is there any setup needs to be done or it was synon's functionality to provide only 10 conditions in one single case statement.

 

 



Software/Hardware used:
OS/400 - Synon Cool 2E

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Pure guess here since it's been 15+ years since seeing Synon -- I wouldn't be surprised if 10 is the limit. Further, I'd also guess that Synon provides a different function to handle such a number of conditions. Look for alternatives. E.g., in SQL you might write WHERE code='A' or code='B' or code='C'; but you can also write WHERE code in('A','B','C'). Ugly possibility -- Can you create a new condition like C99=C1 OR C2 OR C3? If so, you might be able to shrink your list by consolidating sets of conditions into one condition. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following