What is the purpose of the CONCALL utility?

Document ID : KB000011369
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

I need that ability to run an API without having to make the program apf autorized. What will CONCALL do to help me with my problem?

Answer:

Outside a processor, you can invoke programs directly via NDVRC1; however these programs must then reside in an authorized library.

The CONCALL Utility can be used to remove this authorization requirement.

Allthough the primary use would be for Application Program Interface (API) programs, the utility is generally usable for invoking any program (via NDVRC1) .

The Utilities Guide, 5.0 CONCALL--User Invocation Utility, Supplies the following example:

//STEP1 EXEC PGM=NDVRC1,PARM='CONCALL,DDN:MYLOAD,APIPGM, parameter data'

This example would cause program 'APIPGM', to be loaded from the loadlibrary designated by DD name 'MYLOAD'. The program 'APIPGM' suggests that he program contains API calls, but this is not necessarily the case.

Note that in such a context, the alternate id facility(ALTID), is not available, since this is only the case within a processor context.