What kind of box are you connecting to?  To PUT a packed field on our
mainframe we needed to specify:

EBcdic    
MOde Block 

A PUT uses replace as a default, if you are using GET you will need to
specify "(REPLACE".  I don't think that the file will append unless you
use the APPEND command to send it.

Regards,
 
Scott Ingvaldson
iSeries System Administrator
GuideOne Insurance Group


-----Original Message-----
date: Mon, 21 Aug 2006 14:03:11 -0500
from: Al Mac <macwheel99@xxxxxxxxxxx>
subject: Re: FTP Trainee

   I now have additional confirmation that data got sent via FTP.
   The far end is telling me that they got a file with invalid data.

   Since I not know if successive tests replaced the target file or
appended
   to it, if appended, then the beginning of the file might reflect my
   efforts while I was still trying to figure out how to make this work,
and
   not yet getting it perfected.

   I had created the file using Query/400 and now need to extract DDS
source
   from that.  Looks like Query/400 may be putting numeric data into
packed
   or other format ... does anyone know if that is true for Query/400
output
   files, ie. what is the 400 name for the format?

   I know there is a 400 command to create source code needed to create
a
   specified file.
   I just not remember off hand the name of that command, and hoping
someone
   here can jog my memory.

   Here's how the last record of the file appears in Display File DSPF
(a
   check paid to me)

    -O/+-  o/|NCBA  |ONE DAY PAYMENT aCURALISTER MACINTYRE   MP1127

   Here's the raw data for that same line, viewed thru query/400 (an
expense
   check to me)

    20060808  15704  NCB   A   164.14   ONE DAY PAYMENT 1469  ALISTER
   MACINTYRE   MP1127

   Al Mac


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.