A DNA Job may fail with the below error, found in the output file. The error code is 77 here but could be a different value.
Checking for existence of SQT file:
Error encountered - SQT file does NOT exist:
(F:\OSI\BANK\SQT\SAMPLE.SQT).
Exiting with error (return code = 77).
Deleting temporary files (debug is OFF):
DNAP: Exiting with return code 77.
Additional issue seen is the network drive is listed as Unavailable as seen below, also found in the output file of the Job:
*************** In PREFIX.DNAP.bat... ***************
Current network drive mappings and statusef:
New connections will be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
Unavailable F: \\example\mapdrive Microsoft Windows Network
The command completed successfully.
Network drive failed to map resulting in SQT file not found
The PREFIX.DNAP.bat script is a "Prefix" script that run a Windows "net use" command.
This command is running successfully but returned the drive as unavailable.
As the net use command is a windows command, it is recommend to refer to your OS and/or Network Admin to assist in determining why this command is failing to map the network drive when run by the Agent's Service Account.