You probably need a little RPG pgm that reads in the fields and outputs them
packed.

Clare

----- Original Message -----
From: "Uros Davidovic" <Uros_Davidovic@compaid.com>
To: "'Midrange Systems Technical Discussion'" <midrange-l@midrange.com>
Sent: Tuesday, January 07, 2003 7:52 PM
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
>
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.