IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

User defined command which invokes a rexx exec


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
reachcyrus

New User


Joined: 13 Jul 2007
Posts: 24
Location: chennai

PostPosted: Sun Jul 15, 2007 1:48 pm
Reply with quote

i have wrriten a rexx program which will generate a jcl and submit the JCL.

We have line commands like 'D' - Delete, 'V' - View , Hrecall , 'S' - short message.

I need to define a command 'FJ' - which will invoke the rexx program which i mentioned earlier.

1. I use 3.4 option.
2. Will get list of datasets.
3. Then type 'FJ' beside the dataset.
4. Then exec should invoked.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Jul 15, 2007 10:21 pm
Reply with quote

The moment your REXX was saved in SYSEXEC/SYSUEXEC/SYSPROC etc., you can invoke it as a DSLIST line command (aka 3.4).

Also, it will QUEUE the dataset name, so you can use it in ARG.

O.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Trouble using REXX SDSF interface to ... CLIST & REXX 3
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts Instream REXX? JCL & VSAM 13
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
Search our Forums:


Back to Top