What is the purpose of the CONCALL utility?
search cancel

What is the purpose of the CONCALL utility?

book

Article ID: 11369

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

Need that ability to run an API without having to make the program APF authorized. What will CONCALL do to help me with my problem?

Resolution

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.

Although 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 load library 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.