ASCII to EBCDIC with packed fields
george.j.wen@us.abb.com
george.j.wen@us.abb.com
Wed, 8 Aug 2001 10:53:03 -0500
--0__=hm2wZGr8dhVWXmy3kqbq2Vqc9cB8jqCOGV2HnNUawKvgDKBYWvvKXAnr
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
We do this sort of thing a lot. Our standard is to create a portable subfile
whose fields
have all been converted to type character already and and then FTP the file to
where-
ever it's needed (usually done in a CL prog). We're on an AS/400 now but the
same
standard worked equally as well on our Alpha box.
Good Luck.
|------------->
|(Embedded |
|image moved |
|to file: |
|pic23265.pcx)|
| |
|------------->
>------------------------------------------------------------------------|
|"Kesterson, Roger" <Roger.Kesterson@mtdsw.com> |
|08/08/2001 09:13 AM |
>------------------------------------------------------------------------|
To: "'powerh-l@lists.swau.edu'" <powerh-l@lists.swau.edu>
cc: (bcc: George J. Wen/NB/USFAC/ABB)
Subject: ASCII to EBCDIC with packed fields
Security Level:? Internal
PH 7.10.G2 on OpenVMS 7.1
I'm sorry, this isn't exactly a PowerHouse question. I am generating text
files from PowerHouse on our Alpha and FTP'ing them to our AS/400 to be used
by a MAPICS offline load program. Apparently, some crack (head) programmer
thought it would be amusing to put a smattering of packed fields into the
offline load file definitions, so when the file is FTP'd from the Alpha
(ASCII) to the AS/400 (EBCDIC), the packed fields get clobbered.
My hope is that someone out there has an easy solution to this problem.
Thanks in advance for any help you can offer!
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
--0__=hm2wZGr8dhVWXmy3kqbq2Vqc9cB8jqCOGV2HnNUawKvgDKBYWvvKXAnr
Content-type: application/octet-stream;
name="pic23265.pcx"
Content-Disposition: attachment; filename="pic23265.pcx"
Content-transfer-encoding: base64
CgUBCAAAAABBADEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAABQgABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA=
--0__=hm2wZGr8dhVWXmy3kqbq2Vqc9cB8jqCOGV2HnNUawKvgDKBYWvvKXAnr--