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: 2372
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: 628
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: 628
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 Access library name in REXX CLIST & REXX 6
No new posts access library name in REXX CLIST & REXX 2
No new posts Receiving RC 5 when executing REXX pr... CLIST & REXX 3
No new posts Evaluate variable to execute a jcl step JCL & VSAM 3
No new posts Calling IEHPROGM from REXX CLIST & REXX 7
Search our Forums:

Back to Top