Page 1 of 1

Rexx OR operator | error

PostPosted: Fri Sep 10, 2021 3:25 pm
by cualquis
Hi!
I am new in this forum (I think) and ask you for some help, please.

I have many Rexx programs coded since many years in our mainframe, running well.
Now I have to run them in other country mainframe.
Well, the rexx operator OR "|" is translated in this mainframe like BBh and it is not shown in ISPF editor (it shows ":" ) and programs fail.
After many tests I got that 4Fh ( ! ) runs well instead of BBh ( | ); both symbols are in same key in keyboard. Anyway, this is a little drawback because it changes many things, like, as example, the "warning!!" screens.

I have senn in post31839.html?hilit= operator error#p31839 that somebody had similar problem with ^ operator.

Does exist a general solution for this kind of problem? (I can not change the codepage because the laptop and emulator are "hardened" by company).
Is there an alternative way to codify | operator without splitting a comparison sentence in many others?

Thanks in advance

Re: Rexx OR operator | error

PostPosted: Fri Sep 10, 2021 7:09 pm
by Terry Heinze
My emulator translates the right bracket "]" into a vertical bar "|". Does that help?

Re: Rexx OR operator | error

PostPosted: Fri Sep 10, 2021 9:51 pm
by cualquis
Thanks Terry.
I have tested but my keyboard+codepage+mainframe translates it to a non-visible FCh character