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
 
How can I get the status of a user

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







PostPosted: Tue May 06, 2008 4:07 pm    Post subject: How can I get the status of a user
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: 2504
Location: Atlanta, Georgia, USA

PostPosted: Tue May 06, 2008 6:54 pm    Post subject: Re: How can I get the status of a user
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    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 User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts User Cancels the job PANDU1 DB2 1 Sat Mar 04, 2017 8:21 pm

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