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.
FTP file transfer issue with different gateways
-
- 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 file transfer issue with different gateways
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.
Re: FTP file transfer issue with different gateways
Thank You so much! Is there anyway that I can check the settings without taking help of my site support group?
-
- 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 file transfer issue with different gateways
Set up an FTP of one of your files. Submit it and let it complete. Change the name and add 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.
Code: Select all
QUOTE LOCSITE TRAILINGBLANKS
Re: FTP file transfer issue with different gateways
Thank you, again!
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3
- 5063
-
by jrcox
View the latest post
Wed Jul 29, 2020 7:52 pm
-
- 1
- 1342
-
by jcdm
View the latest post
Mon Oct 24, 2022 6:10 pm
-
- 2
- 2270
-
by Terry Heinze
View the latest post
Tue Feb 15, 2022 9:13 pm
-
-
Code conversion issue while reading JCL using REXX
by vsgurunath » Fri Jun 19, 2020 10:19 pm » in CLIST & REXX - 11
- 4315
-
by vsgurunath
View the latest post
Thu Jun 25, 2020 4:08 pm
-
-
-
Issue Create/delete ALIAS IDC3013I and then IDC3012I
by jcdm » Thu Dec 05, 2024 9:26 pm » in VSAM/SMS - 1
- 1707
-
by willy jensen
View the latest post
Fri Dec 06, 2024 12:04 am
-