IBM Support

Error message LCPR001I when transferring files from Connect:Direct for Unix to Connect:Direct for Windows

Troubleshooting


Problem

When transferring a file from Connect:Direct for UNIX to Connect:Direct for Windows, error LCPR001I is reported by the CDW server.

Symptom

LCPR001I:
       Rec len in Comm buffer bigger than IO buffer size.
       The record length extracted from a communications buffer was longer than the IO buffer where the record was to be placed.

Environment

IBM Sterling Connect:Direct for UNIX
IBM Sterling Connect:Direct for Windows

Diagnosing The Problem

Check the process script and the file format.

Resolving The Problem

Change the process script to send the file in binary format.

Here is an example for a binary copy from Connect:Direct for UNIX to Connect:Direct for Windows:

 
STEP1 COPY
     FROM (
                FILE=/home/data/tmp/test
                SYSOPTS=":datatype=binary:"
                 )

     TO (
          FILE=C:\temp\test
          DISP=RPL
          SYSOPTS="datatype(binary)"
           )

Note the different syntax in the SYSOPTS for the CDU and CDW sides.

[{"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"},{"code":"a8m0z000000cwUdAAI","label":"CD PROCESS"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
22 November 2023

UID

swg21645033