MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HOW TO RECEIVE COMMAND LINE ARGUMENT VALUES in REXX?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
vjkumk
Beginner


Joined: 28 Sep 2005
Posts: 98
Topics: 33

PostPosted: Tue Jan 03, 2006 10:29 am    Post subject: HOW TO RECEIVE COMMAND LINE ARGUMENT VALUES in REXX? Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Jan 03, 2006 10:31 am    Post subject: Reply with quote

vjkumk,

Please read the FAQ listed here

http://www.mvsforums.com/helpboards/viewforum.php?f=24

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue Jan 03, 2006 12:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group