Menu

#372 new concatenation chars

closed
None
5
2012-08-14
2009-09-07
bugstumbler
No

Concatenation works with the || chars. Please make oorexx more mainframe compatible and let us use the !! chars for concatenation, too.
Thanks.

Discussion

  • Rick McGuire

    Rick McGuire - 2009-09-07

    !! are not concatenation characters for mainframe Rexx. || has always been the only explicit concatentation operator.

     
  • Nobody/Anonymous

    hmmm .. so I have 300 syntactical incorrect but running rexx'es . Is this use of !! instead of || customizable by a sysprog ? - I guess the || isn't available on the HOSTs codepage 273 or is mapped to annother char. (Z/OS 1.9 TSO)

     
  • bugstumbler

    bugstumbler - 2009-09-09

    still open for me:
    so I have 300 syntactical incorrect but running rexx. Is the
    use of !! instead of || customizable by a sysprog ? - I guess the || isn't
    available on the HOSTs codepage 273 or is mapped to annother char. (Z/OS 1.9 TSO)

     
  • Rick McGuire

    Rick McGuire - 2009-09-09

    The code points that Rexx on TSO recognizes as operator characters is a fixed EBCDIC code point that may display using different glyphs in various locales. The character does not change...it is still considered the | character even though it might display as a ! for you. In fact, the ! character is a valid symbol character, so attempting to add this as an operation would creates some significant incompatibilities.

     
  • bugstumbler

    bugstumbler - 2009-09-10

    even though it might display as a ! for you ..
    I understand this partly. When I type in a !! for concatenation it works ( I do not type in a || and get a !! on display) even printing, transfers via FTP and so on gives me the !. It seems to me that the ! ist a true ! and the REXX interpreter or s.th. else translates this.
    (If I typein the | within TSO, it is mapped into a lttle "hook" symbol and this is rejected by the MF REXX interpreter)

    Either way, you won't offer this with oorexx.

     
  • David Ashley

    David Ashley - 2009-09-10

    Don't feel alone. I have run into this problem myself. This is NOT a Rexx problem, it is an FTP problem. Depending on how the ftp server is configured on the mainframe the '|' character can be translated in several ways. This is due to the source and target code pages used for the translation. There is nothing you can do to correct this. If it is a real problem you will need to contact you mainframe admin and see what can be done about modifying the translation code pages.

    BTW, the FTP server on the mainframe has two set of translation pages, one for uploads and one for downloads. The default install for the mainframe actually uses different code pages for each direction. Of course, this can lead to very inconsistent results for file transfers!

    I hope you have better luck with your mainframe admin than I have had in the past with this issue. Most of them tend to ignore this issue.

     

Anonymous
Anonymous

Add attachments
Cancel