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

Execute REXX on logon with ISPF


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
wetzer123

New User


Joined: 22 Dec 2015
Posts: 9
Location: Germany

PostPosted: Thu Feb 17, 2022 7:01 pm
Reply with quote

I have some REXX running within logon Processing via parm on Logon procedure. Now I would like to execute things that need ISPF for example VGET. I do not find a way how to automatically run REXX coding with ISPF on logon. Is there a chance of doing this?
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Feb 17, 2022 11:27 pm
Reply with quote

You need to have ISPF active to use ISPF services, like VGET. Normally, you would do something like:
Code:
Address TSO "ISPSTART CMD(myrexx2)"

And in your second rexx program, you will be able to use ISPF services.

But it seems like you want to use VGET to get some setting so that you can determine subsequent processing in your logon rexx. It becomes tricky to communicate between the two rexx programs.

I have two suggestions.
1. I suggest try using OUTTRAP in logon exec and SAY in the second rexx program to communicate between the two.

2. If SAY does not work, then you may need to write to a file then read it later.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Fri Feb 18, 2022 2:47 am
Reply with quote

For another method to pass variables between REXX pgms, see the REXXGBLV program at harders-jensen.com
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Fri Feb 18, 2022 2:47 am
Reply with quote

For another method to pass variables between REXX pgms, see the REXXGBLV program at harders-jensen.com
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
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
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top