A job returns an exit code of 255 for Platform Suite for SAS® in the Windows environment


In the Windows environment, a job might not execute and exits with a code of 255. However, the job's command runs fine if you paste it into a Command Prompt window. This problem can be caused by two security issues:

In the first case (permissions for cmd.exe), the installer normally adds Read/Execute permission to cmd.exe for local/User Groups. If that fails, then a warning message is issued during the installation.

To correct the problem:

  1. Find the active cmd.exe file (Windows/System32/cmd.exe or WINNT/System32/cmd.exe).
  2. Right-click and select Properties ► Security. The click Add.
  3. Click Locations... and select the name of your local host machine. Click OK.
  4. In the Object field, type users.
  5. Click Check Names.
  6. Click OK.
  7. Click Apply.