1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Rexx .cmd files no longer work in TCC 20

Discussion in 'Support' started by pizzaman, Sep 30, 2016.

Tags:
  1. pizzaman

    Joined:
    Oct 24, 2011
    Messages:
    53
    Likes Received:
    0
    None of my extensive collection of Rexx scripts run in version 20, but did so in 19. I'm using the supported ooRexx interpreter 4.2.0 (2014, the latest).

    Apparently TCC 20 isn't recognizing "/*" as the first 2 characters in the file and tries to run it as a Windows batch file. Maybe it's not checking at all.

    Error messages stream across the screen and the TCC window crashes, which is not a surprise under the circumstances. Here is a fragment of the error stream captured via stderr:

    TCC: C:\Bin\cpdesc.cmd [23] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [24] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [25] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [26] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [27] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [28] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [29] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [30] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [31] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [32] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [33] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [35] Unknown command "rxFuncAdd"
    TCC: C:\Bin\cpdesc.cmd [36] Unknown command "sysloadfuncs"
    TCC: C:\Bin\cpdesc.cmd [38] Unknown command "Vers"
    TCC: C:\Bin\cpdesc.cmd [39] Unknown command "SubVers"
    TCC: C:\Bin\cpdesc.cmd [41] Unknown command "/*"
    TCC: C:\Bin\cpdesc.cmd [42] Unknown command "parse"
    C:\Bin\cpdesc.cmd [45] Usage : IF [/I] [NOT] condition [.AND. | .OR. | .XOR. [NOT] condition ...] command
    TCC: C:\Bin\cpdesc.cmd [45] Unknown command "file1"
    TCC: C:\Bin\cpdesc.cmd [45] Unknown command "file1"
    TCC: C:\Bin\cpdesc.cmd [47] Unknown command "say"
    TCC: C:\Bin\cpdesc.cmd [48] Unknown command "say"
    TCC: C:\Bin\cpdesc.cmd [49] Unknown command "say"

    Hopefully this will be fixed at some point. Meantime I'm still using TCC 19.
     
    #1 pizzaman, Sep 30, 2016
    Last edited: Sep 30, 2016
  2. w_krieger

    Joined:
    Nov 2, 2008
    Messages:
    176
    Likes Received:
    0
    I still use v 20, but resort to using 4nt v 8.0 when i need this. Most of my Extprocs run to rexx scripts.
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,812
    Likes Received:
    82
  4. pizzaman

    Joined:
    Oct 24, 2011
    Messages:
    53
    Likes Received:
    0
    Indeed it is. That was fast. Thanks, Rex.
     

Share This Page