Getting NAT0856 Natural security error executing Endevor Generate with a Natural step
search cancel

Getting NAT0856 Natural security error executing Endevor Generate with a Natural step

book

Article ID: 259815

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration

Issue/Introduction

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.

Environment

Release : All Supported versions

Resolution

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