Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need advice on FTP from AIX to NT to be picked up by a VSE TCP job

Status
Not open for further replies.

jdodd

Programmer
Apr 1, 2003
2
US
I have created a file on an AIX platform which is then ftp'd to a Windows NT platform via an integration tool. From there, I attempt to run an FTP job from vse which picks up the file and pushes it to the mainframe.

The problem I am seeing is:
1. Since the file is created on an AIX plaform, which equates BINARY and ASCII, the end-of-record terminators are not seen by the receiving mainframe when the default ASCII transfer mode is used, causing the FTP job to abend.
2. If binary is specified in the FTP job, the file is successfully pushed up to the mainframe. However, it is unusable by the dependent COBOL programs, since the file is still in binary mode.
3. In my research, I have found that there are a couple of settings that I would like to attempt to override (from our ftpbatch system file), such as the CRLF, however I cannot find documentation on the syntax required to do this.

Can anyone offer any suggestions?

Thanks!

Jessica
 
Jessica;

I just had the same problem with a client of mine. No matter what I tried the other vendor's mainframe coughed over what I sent.

Finally, I created a perl program that opened the file on the AIX machine and wrote it out as ascii but altering the format to be compatible. This actually involved eliminating the EOL characters and writing the file out as one large byte blob. That file was then ftp's to the NT server and picked up from there and every was fine ever after!!!

I was using an inexpensive product on the NT called TitanFTP server. It worked far better than the NT server stuff.

Hope this helps.

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top