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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top