View previous topic :: View next topic |
Author |
Message |
vjkumk Beginner
Joined: 28 Sep 2005 Posts: 98 Topics: 33
|
Posted: Tue Jan 03, 2006 10:29 am Post subject: HOW TO RECEIVE COMMAND LINE ARGUMENT VALUES in REXX? |
|
|
usually i used to execute my Rexx exec as
tso exec 'pds name(rexx member)'
i have seen some TSO utilities which accepts values through command line.
for example
tso toolname value1
so i have 3 questions!
1)is there is any other way of executing the rexx exec apart from the command line ?
2)and how to recieve value from the command line argument?
like TSO MYTOOLNAME ARG1 ARG2
3)i have seen some menu for compiling rexx code,but we are able to run the exec straight away with tso command,what is the difference between compiling the rexx code and running with tso command? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue Jan 03, 2006 12:18 pm Post subject: |
|
|
Just to add to the FAQ on running Rexx programs, see the Parse instruction in Rexx for retrieving parameters and search the web or this board for examples. Also, ISPF edit macros, if written in Rexx, use a different means of retreiving parameters. See the ISREDIT MACRO statement for that if you are writing ISPF edit macros. |
|
Back to top |
|
|
|
|