Check the following entries in CA Librarian CCF tables.
From the CCF option 12 Administration Services verify the programmer is defined and has access to the application in the following tables.
In this example programmer USER01 is defined to have access to application TEST.
Option 12.1 - User definition Table:
USER ID AUTHORIZATION CODE (OPTIONAL) AUTHORIZED APPLICATION
USER01 NONE TEST
USER01 is defined in the Programmers table reporting to manager MGR001.
Option 12.3 - Programmer Table:
MGRS ID PGMR ID
In the Manager table the manger MGR001 is defined to have access to application TEST.
Option 12.2 - Manager definition table:
MGRS ID AUTHORIZATION CODE (OPTIONAL) APPLICATION CHAIN GROUP
MGR001 NONE TEST
If the programmer and manager are defined properly in the user, manager, and programmer tables but you still get the "programmer is not defined" error message CCF004AS then check CCF Option 8 CONVERSION - LOGON ID conversion table:
TSO ID CCF ID
In this case scenario the TSO ID USER01 has been convert to USERA1 and USERA1 is not defined in user, programmer and in the manager definition table.
Either define the converted CCF ID in the user, manager, and programmer table or remove the entry in the conversion table.