FTP help

TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...
Thampy
Posts: 36
Joined: Sat Sep 26, 2009 2:27 pm
Skillset: Cobol,Jcl,Vsam,Db2,Ideal,Datacom
Referer: My colleagues informed about this forum

FTP help

Postby Thampy » Fri Oct 05, 2018 2:39 pm

I am working on a requirement to send EDI files via FTP. The EDI file is having record length of 256 and one EDI message is spanned across multiple records. There are some messages that spanned across 1000+ records. The target system wants every single message in one line. Due to 32767 mainframe logical record constraint I am unable to combine records as some message require 256000 length.

Could you please advise how to handle this.

User avatar
prino
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
Referer: Google
Location: Vilnius, Lithuania
Contact:

Re: FTP help

Postby prino » Fri Oct 05, 2018 3:40 pm

Change the program(s) on the target system to reassemble the short records.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: FTP help

Postby Robert Sample » Fri Oct 05, 2018 6:50 pm

Since you cannot get around the limit on LRECL, you need to fix the problem somewhere other than z/OS.