How would I list the UserIDs defined in Dispatch?
Can this be done in batch? Online?
Release : 11.7
The client, in the Dispatch online can use:
. 9 SYSGEN - View, Update Sysgen Information
then
C USER DEFINITION - Define Online Viewing Users and Associated Recipients
which will list the UserIDs (associated Recipient IDds) defined to Dispatch.
If internal security is being used, there is a batch job to list the UserIDs defined to the IDMS database.
You can enter the "DSOPTN" command, from the "Enter next task code:" prompt, to see the security options.
Note: PTF RO71200 is needed to add the "DSOPTN" command.
---------------------------------------------------------------------------------------------------------------
Dispatch can optionally be configured to use ‘Internal’ or ‘External’ security.
With external security, users are defined directly to the site security package (TSS, ACF2, RACF).
Most client sites use internal security.
You would need to access the security package to list all users defined / authorized to access Dispatch.
With internal security, users are defined directly to the Dispatch database.
Most client sites do not use internal security.
If you do use internal security, please reference the sample batch job below that will list all users defined to the Dispatch database.
To determine how the Dispatch task is configured for security you can;
From the Enter Next task Code prompt enter : -
DSOPTN
If the DSOPTN command fails, due to not having PTF RO71200 applied to your system, you can enter the following commands;
From the Enter Next task Code prompt enter : -
showmap cadssec
(NOTE: You will receive an error, which can be ignored, and you can continue)
At the next Enter Next task Code prompt enter : -
DCMT D MEM PROG CADSSEC
The VSGMU230 Sysgen User Screen can be used to define and maintain user IDs, and it allows you to associate report recipients with specific UserIDs.
This report recipients to UserID association allows users to print and view report output based on security authorization.
Below is a sample batch job to list all users defined to the Dispatch database for internal security.
This job must be executed with Dispatch down.
//*------------------------------------------------------------*
//CASYSG EXEC PGM=RHDCSGEN,REGION=2048K
//STEPLIB DD DISP=SHR,DSN=YOUR.DS117.CADSLOAD
//SYSLST DD SYSOUT=*
//SYSPCH DD DUMMY
//CAIMDB DD DSN=YOUR.DS117.DMSGDB,DISP=SHR
//CAIDDB DD DSN=YOUR.DS117.DICTDB,DISP=SHR
//CAILOAD DD DSN=YOUR.DS117.DLODDB,DISP=SHR
//*YSCTL DD DSN=YOUR.DS117.SYSCTL,DISP=SHR
//*AICTL DD DSN=YOUR.DS117.SYSCTL,DISP=SHR
//SYSJRNL DD DUMMY
//SYSLST DD SYSOUT=*
//SYSIPT DD *
ICTL=(1,72)
DIS SYSTEM 1.
DIS ALL USERS.
/*
//
---------------------------------------------------------------------------------------------------------
There is no Dispatch screen that lists UserIDds defined to the internal IDMS database.
However, you can use the IDMS ONLINE SYSGEN COMPILER to list the UserIDs defined to the database.
From the Enter Next task Code prompt enter : -
SYSGEN (This will access the SYSGEN 10.2 ONLINE COMPILER. )
Enter on LINE 2 COLUMN 1:
DIS SYS 1. (This will display various IDMS system options. We do this to get current on the system.)
Press the "CLEAR SCREEN" KEY
Enter on LINE 2 COLUMN 1:
DIS ALL USERS. (this will list all userids defined to the database, you can PF7/PF8 scroll up/down thru the list)
To exit the SYSGEN COMPILER, HIT your HOME KEY TO PUT CURSOR ON LINE 1 COLUMN 2.
Enter : END
END SYSGEN 10.2 ONLINE NO ERRORS
This will return you to ENTC prompt.