A SAS Data Integration Studio deployed job that is scheduled or run in batch mode might receive the following Warning and Error in the SAS Log:
WARNING: ARMINIT: Negative appid returned - check macro parameters, appid=-1(0xFFFFFFFF).
ERROR: The PERFINIT macro has not been run.
These messages are generated when the following is true:
You can resolve this issue by performing one of the following:
The Collect Runtime Statistics option is turned on by default. Therefore, all newly created jobs, as well as all jobs that are migrated or imported from earlier versions of SAS® Data Integration Studio, will generate performance statistics. Once a job has been created, the only way to turn the option off is to open the job in the Job Editor window. Then, right-click the canvas and select Collect Runtime Statistics to clear the option.
If you want to collect runtime statistics and are executing the generated job code via the DATA Step Batch Server, see Configure DATA Step Batch Servers on Windows or UNIX to Collect ARM Log Information for instructions to enable this functionality.
If you want to collect runtime statistics and are executing the generated job code via some other SAS invocation method, see ARM Logging Using the SAS Language for instructions to enable this functionality.
For more information about ARM logging, see the SAS® 9.2 Interface to Application Response Measurement (ARM) Reference.