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

CICS signon value into an application program


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
f8ful

New User


Joined: 02 Nov 2006
Posts: 30

PostPosted: Sat Jun 05, 2010 12:58 am
Reply with quote

Does someone know what EIB value/commarea value/whatever value stores the UserID used to signon into a CICS region? I want to interrogate this value in my application program. Thanks.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Sat Jun 05, 2010 1:06 am
Reply with quote

You can get from the ASSIGN command.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Jun 05, 2010 1:13 am
Reply with quote

If you are allowed to use the INQUIRE TERMINAL command, which is a system programmer function, you can retrieve the user id associated with the terminal. The user id is not an EIB field and could only be retrieved from DFHCOMMAREA if another program placed it in there.

Some sites provide a way to retrieve the user id without using the INQUIRE TERMINAL command -- contact your site support group to determine if such a way exists at your site.
Back to top
View user's profile Send private message
f8ful

New User


Joined: 02 Nov 2006
Posts: 30

PostPosted: Fri Jul 23, 2010 4:59 pm
Reply with quote

Thanks for the assistance. The ASSIGN worked great for our needs.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top