Several CA Datacom functions require all libraries in STEPLIB to be APF authorized. How to dynamically add them to the APFLIST using CA SYSVIEW without requiring an IPL?
Release: Any
Component: CA Datacom/DB
CA Datacom/AD
Here is how to add the libraries dynamically to APF authorized list without requiring an IPL via CA SYSVIEW...
In SYSVIEW batch (PGM=GSVXBAT):
/*JOBPARM SYSAFF=node
//SYSVBAT EXEC PGM=GSVXBAT,PARM='LINECNT=66,SHOWINP=YES'
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COMMAND=(APFLIST)
COMMAND=(DOWN 1)
COMMAND=(ADD 'first library' vvvvvv)
COMMAND=(YES)
COMMAND=(ADD 'next library? vvvvvv)
COMMAND=(YES)COMMAND=(APFLIST)
/*
COMMAND=(APFLIST) will display the APF list. In the above example, the APF list is re-displayed after the libraries have been added. 'node' is the system. 'vvvvvv' is the volume where the library is allocated.
Also, you can add them in online SYSVIEW.
The online SYSVIEW commands are:
APFLIST
ADD 'first library' vvvvvv
YES
ADD 'next library' vvvvvv
YES
APFLIST
These libraries will remain APF authorized until the next IPL or until they are deleted the APFLIST via the SYSVIEW DELETE command.
Both CA Datacom/DB and CA Datacom/AD provide INSTJCL member APFADD.