03-27-2018 06:43 PM
Today there was a strange issue in my Platform Process manager.
I tried to execute the job and the job got failed in the environment i.e. in Platform Process Manger.
When I'm checking the logs, there were no errors in the log and even the data has been loaded into destination as expected.
What could be a potential reason for showing exit in Platform Process manager.Thanks in advance
03-28-2018 03:05 AM
first, I wonder if you have the option ERRORABEND enabled. Such option enables the SAS code to continue, even if it finds errors in a specific data step or procedure.
Second, I would check the log generated by your SAS code for that SAS job, including the log and lst files and the log from the Process Manager, say, lsb.events and such. Or the history of your job. What is the exit code for that job? That would give us more information.
04-04-2018 07:50 AM
I think you should look at the sasbatch.bat -file
As default it returns RC=1 if there is warnings in the sas-program. This will PPM interpret as an error.
To make it accept warnings and return 0, you should remove the REM statements in the last 4 lines of the sasbatch.bat-file
if %rc%==1 goto makenormalexit
exit /b %rc%
exit /b 0
You should consider the arguments in this discussion:
04-04-2018 08:18 AM
And if it's a WARNING, then clean up your code so that you don't get the WARNING on a proper run. WARNINGs are there for a purpose and should not be globally ignored.
04-04-2018 08:23 AM