IBM Support

Process submiited within a shell script fails with XCPS002I

Troubleshooting


Problem

A CDU process is being submitted by a UNIX shell script.
The process fails with XCPS002I, errno=2.

Symptom

XCPS002I
Error: Source file open failed. Errno=2

Cause

The shell script used to submit the process issued a "remove" command just after the submission of the Connect:Direct process script.
The source file was deleted by the shell script before the Connect:Direct process script fully started.

Resolving The Problem

Add the "maxdelay" parameter to the Connect:Direct submit command so that UNIX waits until the process completes before returning control to the shell for the next instruction.
Reference the following section of to the CDU online System Guide.

Related Information

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSKTYY","label":"IBM Sterling Connect:Direct for UNIX"},"ARM Category":[{"code":"a8m0z000000cwUZAAY","label":"ABEND"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Historical Number

PRI2596

Document Information

Modified date:
13 February 2024

UID

swg21522437