View previous topic :: View next topic
|
Author |
Message |
ignich7
New User
Joined: 02 Nov 2005 Posts: 66
|
|
|
|
I want a transaction called ABCD to be executed automatically once the user log on to CICS successfully. Please let me know how to do it?
The user initially gets log on screen because GMTRAN is CESN. After the successful logon, I want this ABCD to be executed automatically.
Thanks for your assistance and time in advance :)
Gnana Nicholas |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Why not change GMTRAN? |
|
Back to top |
|
|
ignich7
New User
Joined: 02 Nov 2005 Posts: 66
|
|
|
|
I want CESN to be executed first inorder to enable the user to logon with user id and passsword. Once the logon is successful, I want ABCD transaction to be executed automatically.
How would I do that using GMTRAN? |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
Write your own Signon transaction.
Set GMTRAN to your transaction ID.
reveiw EXEC CICS SIGNON command for additional information.
caution !! if you are an application programmer, I doubt seriously
that your Tech Support will approve of this.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
caution !! if you are an application programmer, I doubt seriously
that your Tech Support will approve of this.. |
Completely agree - they probably will not. . .
On many systems that support a user being taken directly to "their menu" when they sign on, something to accomplish this is already in place. Suggest you talk with the CICS support people and learn what might be available on your system. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Write an exit-program for exit XSNON (Signon Program-DFHSNP, transid CESN). At the end of the exit-program when everything is good and you're about to return, issue a CALL to a TRUE, passing the name of the transid you'd like to START after the signon is complete.
You can issue CICS API's in a TRUE, but you can't issue CICS API's in an exit program for GLUE XSNON (only XPI's) and that's the problem.
If this seems to be too heavy duty, then address the terminal's TCTUA in the XSNON exit-program and store the name of the transid you need to START in it.
Meanwhile, you have a transaction, which was started via a PLT-PI program and it's rummaging through all the terminal TCTUA's. When it finds a valid transid, it issues a START of this transid and moves SPACES to the TCTUA where it lives, so it won't be started again.
I'm not saying that both of these are ideal, they're just two of many ways to do this.
HTH....
Bill |
|
Back to top |
|
|
|