× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Wayne,

Your correct.  Sorry I have been bouncing around so many variations of 
my testing it's driving me crazy.  I set the LRECL to 18 I still get 
the data trucation message.  If I set it to 19 I see the record on the 
mainframe with x25 on the end.  

Its like the FTP server/client won't use that for the end of record 
delimiter.

I was wondering if anyone else has seen this and if there is an FTP 
command that I'm not aware of.  I might just have the developer use 
DECS (allow Domino to access DB2 tables) and write it to a table but I 
would still like to solve this...

mike.


  4. Re: FTP of IFS file to Mainframe (Wayne McAlpine)
from: Wayne McAlpine <wayne.mcalpine@xxxxxxxxxxxxxxxxx>
subject: Re: FTP of IFS file to Mainframe

Mike, the field lengths don't seem to add up.  If both name fields 
are 8 
characters, then you have 'xxxxxxxx|xxxxxxxxLF' for a total of 18 
characters.

msmith6@xxxxxxxxxxxx wrote:
I'm going to post this to the Domino forum as well because that 
is the 
application that is creating the file but anyway here's my problem.

The Domino application creates a file in the IFS 
(under /lotus/domino/stc).  The file has a CCSID of 37.  The 
file 
consist of two fields, the first 8 bytes is name followed by a 
pipe 
symbol.  The pipe symbol is followed by another name.
This is were is gets tricky.

The record ends with x25, or LF.

When I view this via option 5, I see the data nicely formatted. 
Press 
F10 to turn on hex and I see all the characters correctly with 
x25 at 
the end of each line.
If I try to transfer this to our mainframe using the following :
(login)
quote cdup   <--Sets mainframe dataset to null
quote site lrecl=15    <--sets record length to 15, which is 
correct.> namefmt 1   <-- to get to IFS files
put /lotus/Domino/prod/Apps/file.dat 'tech.test.domino.upload'

I get a message that data has been truncated.  When I view it on 
the 
Mainframe, I only see on record.  Problem with end of record I 
suppose.> 
I thought that maybe if I put the file in ASCII mode it would 
ake a 
difference so I tried.
CPY OBJ('/lotus/domino/prod/Apps/file.dat') TOOBJ('FILEA.dat') 
TOCCSID> (*PCASII) DTAFMT(*TEXT)

I tried the same FTP sequece, same result.

I would think that this is an FTP issure rather than a Domino 
one.  I 
guess any application could just use x25 (LF) and not x25 x0D 
(LF/CR).> 
Seems like a simple thing but this has been taking up way too 
much 
time for an FTP deal.


TIA,

Mike


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.