|
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 thatis theapplication 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. Thefileconsist of two fields, the first 8 bytes is name followed by apipesymbol. 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.PressF10 to turn on hex and I see all the characters correctly withx25 atthe 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 iscorrect.> namefmt 1 <-- to get to IFS filesput /lotus/Domino/prod/Apps/file.dat 'tech.test.domino.upload' I get a message that data has been truncated. When I view it ontheMainframe, I only see on record. Problem with end of record Isuppose.>I thought that maybe if I put the file in ASCII mode it wouldake adifference 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 Dominoone. Iguess 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 toomuchtime for an FTP deal. TIA, Mike
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.