SCT System Logoff Utility

Introduction

Certain systems sometimes require that all users be logged off from the online system (AOS). This utility will perform that function for a given SCT system.

Invocation

Online

In the online environment, invoke this function by entering the following CICS command:

SCTU,002,xxx

where xxx is the SCT system number (000=ZSS, 001=SIS, 002=FRS, 003=HRS and 005=LMS).

Batch

This can be invoked in the batch environment by using Batch CAFC. Here is a JCL step to invoke the function:

//*********************************************************************
//*****    AFCBATCH:  INVOKE BATCH CAFC
//*********************************************************************
//AFCBATCH EXEC  AFCBATCH,APPLID=PROD
//AFCBATCH.SYSIN  DD  *
CP1I,TRAN,AFSG                                                         C
CP1I,TRAN,SCTU,002,xxx                                                 C
CP1I,TRAN,CESF LOGOFF                                                  E
/*
  

where yyy ise defined as above.

Technical

Basic Functioning

When a user is logged onto AOS, the system creates a temporary storage queue. In it is stored information that gets passed between applications. Information about the user's security and system being accessed is also stored. If this queue is absent, the AOS system assumes a new logon is needed.

This utility scans all temporary storage queues. If the queue is for the desired system, the queue is deleted. As a result, the next time that user makes an action, the user is logged back on as a new logon. This means any security changes, etc., will then be in effect.

Limitations

This utility will not force the person completely out of AOS or CICS. It merely makes sure the person has to go through a new logon process.

There is also a window of opportunity whereby a logon can get skipped. The SCT system programmatically recreates the queues during normal processing. Certain coincidental timing problems can leave a user logged on. To fully remove users, use the ZFOC disable function.


OIT--Applications Support


Last Modified: Tuesday, 28-Nov-2000 11:00:26 CST

©1999 All Rights Reserved