🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3027

Re: Command in REXX to execute the text in a variable?

#3027
From: Bob Jackiewicz
Date: Wed, 18 Nov 1992 21:44
34 lines
1806 bytes
In article <1992Nov18.185413.15488@watson.ibm.com>, cnadler@vnet.ibm.com (Cliff
Nadler) says:
>>       Filename='f:\utils\unzip -v '
>>       Program='g:\aoc.zip'
>>       xxxxx Program,Filename
>>
>>       where xxxxx is a command that would pass "f:\utils\unzip -v
>>       g:\aoc.zip" to an environment shell (DOS or OS/2).
>
>INTERPRET is the command you want, however, it is not recommended for use
>(especially with compilers - they HATE that command !). If you just use
>Program Filename
>on a line, REXX will execute the values of the variables in it's default
>environment (as REXX code if possible, else using the CMD environment for
>a default).

The last thing I would use would be INTERPRET. That functionality is
not needed here. I would go with the

   Program Filename

to be generic. To be politically correct, however, I think one of

    address CMD Program Filename
    address DOS
    address OS2

is more appropriate. In above, I KNOW DOS works, but I'm note too sure
about CMD or OS2.

  Brought to you by the sick mind of      University of Illinois at Chicago
  Bob Jackiewicz, writer of wrongs,                    BITNET: U25042@UICVM
  wronger of rights; not UIC.                InterNet: U25042@uicvm.uic.edu
  OS/2: Bill Gates' worst nightmare!
Technical Details
Message-ID: <92323.154450U25042@uicvm.uic.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!uicvm.uic.edu!u25042
References: <widow.722104795@camelot> <1992Nov18.185413.15488@watson.ibm.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!uicvm.uic.edu!u25042
Organization: University of Illinois at Chicago
Date: Wed, 18 Nov 1992 15:44:49 CST
From: Bob  Jackiewicz <U25042@uicvm.uic.edu>
Message-ID: <92323.154450U25042@uicvm.uic.edu>
Newsgroups: comp.os.os2.programmer
Subject: Re: Command in REXX to execute the text in a variable?
Distribution: usa
References: <widow.722104795@camelot> <1992Nov18.185413.15488@watson.ibm.com>
Lines: 34