View previous topic :: View next topic
|
Author |
Message |
wetzer123
New User
Joined: 22 Dec 2015 Posts: 9 Location: Germany
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
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 |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 734 Location: Denmark
|
|
|
|
For another method to pass variables between REXX pgms, see the REXXGBLV program at harders-jensen.com |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 734 Location: Denmark
|
|
|
|
For another method to pass variables between REXX pgms, see the REXXGBLV program at harders-jensen.com |
|
Back to top |
|
|
|