Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Running a transaction automatically after each logon

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
ignich7

New User


Joined: 02 Nov 2005
Posts: 66

PostPosted: Mon Feb 22, 2010 9:13 pm    Post subject: Running a transaction automatically after each logon
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8200
Location: East Dubuque, Illinois, USA

PostPosted: Mon Feb 22, 2010 9:31 pm    Post subject:
Reply with quote

Why not change GMTRAN?
Back to top
View user's profile Send private message
ignich7

New User


Joined: 02 Nov 2005
Posts: 66

PostPosted: Tue Feb 23, 2010 2:47 am    Post subject:
Reply with quote

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
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Feb 23, 2010 3:39 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Feb 23, 2010 3:48 am    Post subject:
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Tue Feb 23, 2010 3:55 am    Post subject: Reply to: Running a transaction automatically after each log
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Job is running with no response!!! Vignesh Sid DB2 3 Fri Oct 27, 2017 6:28 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm
No new posts Need to track the CICS transaction fr... sam8051 CICS 3 Mon Aug 07, 2017 3:11 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us