Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use of backslash in SAY

Status
Not open for further replies.

davepop

Technical User
Aug 10, 2009
4
GB
I want to do this:

SAY 'Look in this folder - My Documents\REXX'

but what I get is this:

Look in this folder - My Documents:REXX

How can I get a '\' to print in a SAY command?
 
I should have added that this is on a z/OS platform - v1.9
 
I don't know for sure.

On my system (z/OS V1R9) the backslash is a hex 'E0' and it shows up just fine in a SAY statement.

Maybe it's your 3270-emulator?
 
Thanks for the response. It's hex 'E0' for me too.

I don't think it's the emulator because the '\' shows up in the source code OK. It works correctly if I run the REXX in a TSO batch job. It displays as a ':' if I run it in ISPF or from the READY prompt.

I tried a TRACE I and that shows ':' as well:
<<
3 *-* say 'look in My Documents:REXX'
>L> "look in My Documents:REXX"
look in My Documents:REXX
>>

I have also tried '\\' - I just get '::'.
 
ok - I have now tried it as a CLIST - using this:
<<
WRITE LOOK IN MY DOCUMENTS\REXX
>>
and still it translates it to a ':'.

So i guess it's not a REXX issue, but something peculiar to my setup.
Thanks anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top