IBM Support

Errors occur with Connect:Direct for UNIX: XCPS007I  XCPS002

Troubleshooting


Problem

You receive these errors with Connect:Direct for UNIX: XCPS007I  XCPS002

Symptom

XCPS002I
Error: Source file open failed. Errno=&FDBK. Filename=&FILE.
XCPS007I
Error: Error communicating with user exit program.
Error: Error communicating between Connect:Direct and user exit program due to an internal error, or due to a problem in the user exit program.
XCPS002I Source file open failed. Errno=2. Filename=Source_filename.

Cause

Miscoded parameters in /d_dir/ndm/cfg/node_name/userfile.cfg
Connect:Direct for UNIX made a system call to open the source file coded in the Direct Process and UNIX could not open the file. UNIX returned a code (2) which is a "Bad filename or directory". The source file name was coded incorrectly.

Resolving The Problem

If the user ID running the Process is not restricted to an upload directory by setting the "pstmt.upload_dir" parameter to a directory name in the Userfile.cfg, the Process MUST have the source filename coded with the absolute pathname.

If the user ID is restricted to an upload directory by defining a directory name in the pstmt.upload/download_dir parameter, a filename or a filename relative to the upload or download directory must be defined.

[{"Product":{"code":"SSFVK3","label":"IBM Sterling Connect:Enterprise for UNIX"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"2.5;2.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI196

Document Information

Modified date:
17 December 2019

UID

swg21546070