× 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.



Uros -

Recently we needed to get a file with packed decimal data to an s/390 using
FTP.  I had to use block transmission mode (FTP command: MOde Block) to make
this work.  The notes that I have indicate that block mode only works with
binary or EDCDIC transfers.

Let me know if this helps,
Scott Ingvaldson
AS/400 System Administrator
GuideOne Insurance Group

-----Original Message-----
Date: Tue, 7 Jan 2003 14:52:59 -0500
From: "Uros Davidovic" <Uros_Davidovic@compaid.com>
To: "'Midrange Systems Technical Discussion'" <midrange-l@midrange.com>
Subject: VAX to AS/400 packed field conversion problem

Hey gang, trying to transfer files from a VAX system to the 400. We
currently have a process in place that converts the packed fields on the
VAX to signed numerics, then we FTP them ASCII and finally, copy from
the flat file on the 400 to the database on the 400 that contains packed
fields. Is there a simpler way to do this, I was playing around with the
*TBL option on the CPYFRMSTMF (trying to copy to IFS as is), and trying
to research what character set ID I would need to convert to (is VAX
ascii?), but this does not seem to work?

Any ideas how to simplify?

Thanks,
Uros



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.