FTP file transfer issue with different gateways



Ask about System customization & performance, Workload management, I/O device configuration etc.

FTP file transfer issue with different gateways

Postby onesegi » Tue May 21, 2013 11:40 pm

Hi,

I am facing a very unusual issue explained below:

We have a production job setup which transfers a mainframe dataset to .TXT file on a specified server destination. The mainframe dataset contains 50 Record length of data which has 2 bytes of SPACE at the end of each records. So 48 bytes contain some alphanumeric value and last 2 bytes contains spaces.

While running a job from production, only 48 record length is being transferred and SPACES are not transferred even though it is a valid data and comes under pre-defined layout. When we transfer the same dataset to same server with exactly same parameter/configuration from TEST environment, all 50 bytes of record length gets transferred. I could see only change in production and TEST environment is the GATEWAYS. We use different gateways for production and TEST.

This has increased my manual efforts and causing issues at receiving end. Please advise. Thanks in advance.
onesegi
 
Posts: 3
Joined: Tue May 21, 2013 11:26 pm
Has thanked: 0 time
Been thanked: 0 time

Re: FTP file transfer issue with different gateways

Postby Robert Sample » Tue May 21, 2013 11:49 pm

There is a mainframe FTP setting that could affect your results, especially if the test and production TCP stacks are in different LPARs. In the FTP parameters section of the TCP/IP configuration PDS, look for the TRAILINGBLANKS setting. If this value is FALSE, then trailing blanks are automatically removed during an FTP transfer. If this setting is TRUE, trailing blanks will be retained during an FTP transfer. Your site support group should be able to check the settings for test and production.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: FTP file transfer issue with different gateways

Postby onesegi » Wed May 22, 2013 12:10 am

Thank You so much! Is there anyway that I can check the settings without taking help of my site support group?
onesegi
 
Posts: 3
Joined: Tue May 21, 2013 11:26 pm
Has thanked: 0 time
Been thanked: 0 time

Re: FTP file transfer issue with different gateways

Postby Robert Sample » Wed May 22, 2013 1:15 am

Set up an FTP of one of your files. Submit it and let it complete. Change the name and add
QUOTE LOCSITE TRAILINGBLANKS
before the PUT command. Compare the two files to verify which one has trailing blanks and the other does not. Since the command is a toggle, if the first file has trailing blanks then your site is using TRAILINGBLANKS FALSE and vice versa.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: FTP file transfer issue with different gateways

Postby onesegi » Wed May 22, 2013 3:17 am

Thank you, again!
onesegi
 
Posts: 3
Joined: Tue May 21, 2013 11:26 pm
Has thanked: 0 time
Been thanked: 0 time


Return to System programming

 


  • Related topics
    Replies
    Views
    Last post