using the RCDLEN param C receives "XSQF005I : Read buffer too small. Possibly src reclen > dest reclen" (SCI72630)
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
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.
|Commerce||Sterling Connect:Direct for i5/OS||Not Applicable|
Connect:Direct OS/400, Release 3.4.00