Page 1 of 1

Output of rexx is coming in UPPER Case only

PostPosted: Thu Jan 12, 2023 3:41 pm
by arya_starc
Hi All,

My rexx output is always coming in upper case. Since we know rexx is case insensitive so not sure why the default output is coming in upper case only.
Can someone help me if any profile setting need to be change.

Re: Output of rexx is coming in UPPER Case only

PostPosted: Thu Jan 12, 2023 5:27 pm
by dneufarth

Re: Output of rexx is coming in UPPER Case only

PostPosted: Thu Jan 12, 2023 6:22 pm
by sergeyken
arya_starc wrote:Hi All,

My REXX output is always coming in upper case. Since we know rexx is case insensitive so not sure why the default output is coming in upper case only.
Can someone help me if any profile setting need to be change.

If you do not present here the SPECIFIC example of your code resulting in this problem then no one can give any reasonable answer.
For instance, in those tons of REXX code I've ever created all characters appeared exactly in that case I wanted them to appear.

This is not general REXX problem, this is YOUR SPECIFIC CODE problem.

Re: Output of rexx is coming in UPPER Case only

PostPosted: Fri Jan 13, 2023 1:16 am
by willy jensen
Do you, by any chance, read the stack using something like PULL REC? Or start a subroutine with something like ARG PRM ?
To preserve case you must use PARSE PULL REC and PARSE ARG PRM respectively.
As sergeyken said, this has to be a coding error, not the product itself, so please show us some code...

Re: Output of rexx is coming in UPPER Case only

PostPosted: Fri Jan 13, 2023 1:44 am
by sergeyken
willy jensen wrote:Do you, by any chance, read the stack using something like PULL REC? Or start a subroutine with something like ARG PRM ?
To preserve case you must use PARSE PULL REC and PARSE ARG PRM respectively.
As sergeyken said, this has to be a coding error, not the product itself, so please show us some code...

This is one possibility, out of many others.

It is not good idea: trying to guess what might be wrong in an unknown code of an unknown person. It resembles guessing in a lottery game.

Same as the call to a car service:
"Every morning I try to drive by car from home to office, but every time I failed. What do I wrong?"