09-19-2008
Talking REXX
All,
We are talking REXX, right? $ is not allowable in vars in REXX, so what are we talking?
Both "eval" and "interpret" work in REXX, but they have different formats, so you need to look in the manual for your version of REXX. There are several versions such as:
PREXX - Personal REXX
Regina - Another Personal REXX
OO-REXX - Official OO Rexx version (good docs)
Once you install you will enter "rexx cmdfile" at command line or for OO rexx enter the OO shell and execute the project. You can actually use OO rexx either way.
To display on screen, via command line, the "say" command, similar to PHP "echo" is used. Not eval or interpret.
Actually your script looks more like a PHP or PERL script than REXX. Is that what you are trying to do?
Let us know what else to help.
OMR
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
I am initiating a process from a mainframe using FTP. I'd like to use REXX statements in a CLIST to perform a capture of data from a UNIX system. Is there a "native" REXX language on UNIX. I've seen references for uni-REXX, OOREXX, S/REXX.
Thanks,
oldschool (1 Reply)
Discussion started by: oldschool
1 Replies
2. Shell Programming and Scripting
ksh $ETL_XXX/bin/filename.ksh wf_workflowname .
Which is used in post session command. (2 Replies)
Discussion started by: dummy_needhelp
2 Replies
3. UNIX for Dummies Questions & Answers
Hi guys,
I have no idea on unix but suddenly, my cobol programs calls a unix script that i know nothing about.
can you guys interpret these lines for me?
i know its a print command but I want to actually know how many copies it prints.
qprt -da -P $1 -t '6' -i '6' -l '70' $2
qprt -da... (1 Reply)
Discussion started by: supacow
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
So I am new to Unix, and I need to check the performance of some apps I am running. But I don't know how to interpret the output from TOP.
Could somebody please explain the difference between the different values. And also explain how I can have a process which has a %CPU > 100?
... (7 Replies)
Discussion started by: dj_jay_smith
7 Replies
5. Shell Programming and Scripting
Was wondering if someone could interpret this for me -- I'm not sure what everything means. It's a shell script from my bash book:
cd ()
{
builtin cd "$@"
es=$?
echo "$OLDPWD ->$PWD"
return $es
}
what I don't quite understand is the "$@". I think, if I understand... (6 Replies)
Discussion started by: Straitsfan
6 Replies
6. UNIX for Dummies Questions & Answers
I know $0 is the entire file's contents (at least I think that is what it is!), but what exactly is: $0!~
This was a snippet from a larger line
awk '$0!~/^$/ {print $0}'
This deletes blank lines, but I want to know specifically the $0!~ part... I am guessing /^$/ is regex for blank line...... (5 Replies)
Discussion started by: glev2005
5 Replies
7. Shell Programming and Scripting
Can anyone tell me how to interpret this:
listpage="ls |more" (the spaces are there in the example)
$listpage
It's from my bash book and I'm not sure what it means (3 Replies)
Discussion started by: Straitsfan
3 Replies
8. Solaris
1) Install below required pkg
SUNWbtool, SUNWlibm, SUNWarc, SUNWhea and SUNWsprot
SUNWsprox
2) Install GCC
3) Download Regina-REXX-3.6.tar Pkg for regina
4) tar -xvf Regina-REXX-3.6.tar
5) cd Regina-REXX-3.6
./configure --build=sparc --enable-32bit --with-staticfunctions... (1 Reply)
Discussion started by: mahendra170
1 Replies
9. Shell Programming and Scripting
I am taking over the responsibilties of maintaing a web page for the Mainframe Computer. This web page was designed using rexx. How can I debug this web page. I have tried using TRACE IR, but this does not work and displays the web page incorrectly. I want to be able to step through the web page... (3 Replies)
Discussion started by: Steve Carlson
3 Replies
10. UNIX for Beginners Questions & Answers
I booted into single user mode with
/usr/sbin/reboot -- -s
but after doing a control -d
my
who -r
shows
run-level 3 Nov 17 14:07 3 0 S
I was expecting it to show run-level S
why is this still in run level 3?
thanks (1 Reply)
Discussion started by: goya
1 Replies
LEARN ABOUT DEBIAN
rxqueue
rxqueue(1) General Commands Manual rxqueue(1)
Name
rxqueue - The Regina Rexx Interpreter external queue utility
Syntax
rxqueue [ queue ] [ /fifo | /lifo | /clear | /pull | /queued ] [ text ]
Description
rxqueue is utility that provides access to the Regian Rexx external queue daemon (rxstack) via stdin and stdout
Options
queue The name of the queue to use. By default this is SESSION.
/fifo Stacks the text onto the queue in first in, first out order.
/lifo Stacks the text onto the queue in last in, first out order.
/clear Removes all lines currently stacked in the queue.
/pull Extracts the next line from the queue to stdout and removes it from the queue.
/queued
Returns the number of lines stacked on the queue to stdout
Environment
rxqueue uses the following environment variables if set.
RXDEBUG
Enables debugging. Same as specifying -D option.
RXSTACK
The port number on which rxqueue listens. By default this is 5757.
RXQUEUE
The name of the queue to be used if not specified by the client using rxqueue. By default this is SESSION.
Copyright
The Regina Rexx interpreter is distributed under the GNU Library General Public License, see the file `COPYING-LIB' in the source code dis-
tribution.
Author
Anders Christensen, University of Trondheim, Norway <anders@pvv.unit.no>.
Maintainer
Changes to Regina since 0.07a, Mark Hessling <mark (at) rexx.org> with significant assistance from Florian Grosse-Coosmann.
See Also
rxstack(1)
There are several good reference books on Rexx. The most famous is "The Rexx Language" by Mike Cowlishaw. Visit http://www.rexxla.org (The
Rexx Language Association) for any Rexx related information.
rxqueue(1)