IBM Support

A Run Task ended with Return Code 9009. What does that mean? (SCI40123)

Technote (FAQ)


Question

A Run Task ended with Return Code 9009. What does that mean? (SCI40123)

Answer

This is probably a batch (.bat, .cmd). A program called in the batch was not found, and Windows sets the %errorlevel% to 9009. Connect Direct will always return the current return code from a Run Task.

For example:

        Microsoft Windows 2000 [Version 5.00.2195]
        (C) Copyright 1985-2000 Microsoft Corp.

        H:\>direct
        'direct' is not recognized as an internal or external command,
        operable program or batch file.

        H:\>echo%errorlevel%
        9009

        H:\>

Historical Number

PRI18987

Product Alias/Synonym

Fact


CONNECT:Direct Windows, all releases
SCI40123
Windows 2000

Goal


FAQ: A Run Task ended with Return Code 9009. What does that mean?

Document information

More support for: Sterling Connect:Direct for Microsoft Windows

Software version: All

Operating system(s): Platform Independent

Reference #: 1544334

Modified date: 23 July 2004