using the RCDLEN param C receives  "XSQF005I  : Read  buffer too small. Possibly src reclen > dest reclen" (SCI72630)

Technote (troubleshooting)


Problem(Abstract)

using the RCDLEN param C receives  "XSQF005I  : Read  buffer too small. Possibly src reclen > dest reclen" (SCI72630)

Symptom

using the RCDLEN param C receives "XSQF005I : Read buffer too small. Possibly src reclen > dest reclen"
not defining RDCLEN C recieves "ACOP070I :Size of record received not equal to record size of file" & RC =4
XSQF005I


Resolving the problem

UNIX is a variable length file system, with no set record lengths, just LF to determine record length.

OS/400 native file system is a DB2 FB file system with specific record lengths determined by the file description.

When send from UNIX to OS/400 to a new file RCDLEN(nnn) should be used in the OS/400 SYSOPTS, or the files record length will be 23040 which is what UNIX and Windows send in C:D for a record length.

When RCDLEN(nnn) is used to set the files record length on OS/400 there will possibly be warning message ACOP070I because the record is being padded with blanks since the UNIX record may not be as long as the OS/400 record since it is variable.

Finally when creating a file on OS/400 the default is FILETYPE(*SRC) which means an additional 12 characters for sequence number and date fields. Normally this is not needed for a inbound UNIX file and FILETYPE(*DATA) should be specified.

Cross reference information
Segment Product Component Platform Version Edition
Commerce Sterling Connect:Direct for i5/OS Not Applicable

Historical Number

PRI6698

Product Alias/Synonym

Fact


Connect:Direct OS/400, Release 3.4.00
SCI72630

Rate this page:

(0 users)Average rating

Document information


More support for:

Sterling Connect:Direct for UNIX

Software version:

All

Operating system(s):

All

Reference #:

1537445

Modified date:

2008-03-28

Translate my page

Machine Translation

Content navigation