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
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.
Endevor 18.1/19.0 include changes in how authorization is being passed between programs.