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

How can I get the status of a user


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







PostPosted: Tue May 06, 2008 4:07 pm
Reply with quote

Dear colleague,

How can I get the status of a user or task weather it is active or not?
My requirement is in the application program I need to check weather a particular user is active (logged on or not) in CICS or not.
I think it can be done by EXEC CICS INQUIRE, but can any body give the complete syntax.
Back to top
Bill O'Boyle

CICS Moderator


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

PostPosted: Tue May 06, 2008 6:54 pm
Reply with quote

Review the INQUIRE REQID command, which can be found in the CICS "System Programming Reference" manual for your given version/release.

Note that this (like many other INQUIRE, SET, etc, commands) are "SP" (System Programmer) commands and require that the program be translated (not compiled) using the "SP" translator option.

Some shops don't allow application programs to issue "SP" commands and hence, the reason for this "Heads-Up".

Regards,

Bill
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 Job completes in JES, but the status ... IBM Tools 1
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts user exit in IBM Infosphere Optim DB2 8
No new posts Running a Job with the Default User ID JCL & VSAM 2
Search our Forums:

Back to Top