Program PERSYS can be run in either online or batch mode. The report from the program will list all the CA Ideal users and the systems they have access to along with their authorizations.
These are the steps to use this tool.
- Save the file that is attached to this article, and upload it to an 80-byte mainframe file.
- Run the CA Ideal IMPORT command (program IDUTSTRN) to load the programs and report into the desired CA Ideal system.
- Compile the DSFERR and PERSYS programs.
- Run the PERSYS program as desired.
CA Ideal program PERSYS calls 2 programs: DDCALL, and DSFERR. It also uses 1 report called PERSYS. All components should be imported using the IMPORT ALL command as shown below. Be sure to note the version numbers of these entities.
Here is a JCL snippet for the import:
//SRCTRN EXEC PGM=IDUTSTRN
. . .
//EXTSRC DD DISP=SHR,DSN=Import file (PERSYS)
//SRCLIST DD SYSOUT=*
//SYSIN DD *
SIGNON PERSON uuuuu...
SET ERROR CONTINUE
SET IMPORT DUPLICATE REPLACE
SET IMPORT NEW SYSTEM xxx
IMPORT ALL
/*Here is another JCL snippet for the compile:
//COMSTP EXEC PGM=IDBATCH,COND=(5,LT)
. . .
//SYSIN DD *
SIGNON PERSON uuuuu...
SEL SYS xxx
COMPILE DSFERR V 6
COMPILE PERSYS V 7
/* Here is a JCL snippet to run the program:
//RUNSTP EXEC PGM=IDBATCH,COND=(5,LT)
. . .
//SYSIN DD *
SIGNON PERSON uuuuu...
SEL SYS xxx
RUN PERSYS V 7
/*
//PERSYS DD SYSOUT=*