Endevor COBOL compile job is failing at PGM=NATBATCH in Endevor processor and getting a "NAT0856 Automatic logon with invalid logon data; logon failed." error.
Issue persists only when compiling with Endevor, same compilation is working outside the Endevor processor.
Release : All Supported versions
Endevor processor steps are executed under the context of the Endevor ALTID.
1) Have the Natural security team defined a new profile in Natural Security for the Endevor alternate ID.
or
2) Code the ALTID=N parameter on the Natural batch step in the processor so the processor step runs under the context of the user -
//NATBAT EXEC PGM=NATBATCH,ALTID=N,MAXRC=4