+C1G0700I PROGRAM NDVRC1 WAS FOUND NOT TO BE AUTHORIZED with Endevor API
search cancel

+C1G0700I PROGRAM NDVRC1 WAS FOUND NOT TO BE AUTHORIZED with Endevor API

book

Article ID: 139313

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin

Issue/Introduction

Calling Endevor API  through a COBOL program results in error:  +C1G0700I PROGRAM NDVRC1 WAS FOUND NOT TO BE AUTHORIZED - this stopped working after upgrading to Endevor 19.0 

 

Resolution

1. Instead of running EXEC PGM=<api_pgm>,  Run API program under NDVRC1 using PARM: EXEC PGM=NDVRC1,PARM=('<api_pgm>'). 

2. In API program, issue shutdown only when terminating program.  Do not issue shutdown at the end of each API request. 

See the  API and User Exits Reference in the documentation.

 

Additional Information

Endevor 18.1/19.0 include changes in how authorization is being passed between programs.