IBM Support

Windows failed to start program PSTOOLS.EXE, Error Code = 126

Troubleshooting


Problem

System path (TUXDIR and NLSPATH) and PeopleSoft working directory must be set for PeopleSoft application during VU recording.

Resolving The Problem

These two system environment variables must be set on PeopleSoft and Rational install system:

a) TUXDIR needs to be added or set to c:\tuxedo
b) NLSPATH needs to be added or set to %TUXDIR%\LOCALE\C

Windows Error Code 126 means "The specified module could not be found." More specifically, the error suggests that some component (such as a dll) that the PSTOOLS.EXE application requires can't be located when the API recorder kicks off an instance of PSTOOLS.EXE.

If you still receive above error, try to run the application as Robot is trying to do:

1) Make sure that Robot isn't running.

2) Start a DOS cmd window.

3) Go to the %RATL_RTHOME% directory. Since the customer is not explicitly specifying a Working Directory in the API recording Start Application dialog, %RATL_RTHOME% is used by default.

4) In the DOS window, type the exact command given as the Executable in the API recording Start Application dialog ("N:\PS\hr701\bin\CLIENT\WINX86\pstools.exe").

5) Verify that the application started in this manner can be used to do the same actions as the customer was trying to record.

If the application works OK when invoked as described above, we'll need to collect more information about what's happening during the API recording. To facilitate this, API debugging utility can be used to gather such information.



[{"Product":{"code":"SSSHDX","label":"Rational Robot"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Recording","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.00;2003.06.12","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21180729