Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Use of backslash in SAY

Use of backslash in SAY

Use of backslash in SAY

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?

RE: Use of backslash in SAY

I should have added that this is on a z/OS platform - v1.9

RE: Use of backslash in SAY

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?

RE: Use of backslash in SAY

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 '::'.

RE: Use of backslash in SAY

ok - I have now tried it as a CLIST - using this:
and still it translates it to a ':'.

So i guess it's not a REXX issue, but something peculiar to my setup.
Thanks anyway.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close