Interview Questions   Tutorials   Discussions   Programs   

CICS - How to get the sign-on user-id from an application program?

asked mar September 7, 2014 06:21 AM  

How to get the sign-on user-id from an application program?


1 Answers

answered By Mswami   0  

The Single Sign On implementation in mainframes involves the creation of maps and calling the respective programs by using XCTL calling command in CICS. The XCTL command is used to call programs that are in the same level.

There are two types of SSO based on architecture: 1. Web based 2. Non web based.

Some of the primary implementations associated with SSO are:

Session Time:

Session time is the time duration which governs signing in and out. This can be implemented in mainframes by the use of EIBTIME variable. If the time limit exceeds the predefined session time the login page is automatically thrown, whereas if the session has not expired the user can access any application assigned without signing in again. This is done by saving the time in the database at the time of logging-in and the difference is calculated with current time.


EIB stands for Execute Interface Block . It contains system build variables like EIBCALEN, EIBCPOSN, EIBTRMID etc. EIBTRMID refers to the terminal id of the transaction being used currently. It changes every time a new session is opened.


Initially EIBTIME contains the time when the transaction started . In order to get the current time, we need to issue the ASKTIME command which populates the time field with the current system time.

   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!