• Subject: RE: EBCDIC-to-ASCII
  • From: "Mike Cunningham" <mcunning@xxxxxxx>
  • Date: Thu, 01 Feb 2001 23:17:21 -0500

You don't need to go to the trouble of converting the file, FTP will
convert it for you.  We do FTP distribution of files all the time.  We
build the file (usually in QTEMP) using whatever means are best (CL/RPG,
SQL, Query) and then FTP the file to either a Novell server, an AIX
server or an NT server.  You can also feed commands to FTP to automate
the entire process. There is one problem hiding in here, your
application can't tell of the FTP script completed normally or not.

>>> Smildenber@Washcorp.com 02/01/01 09:24AM >>>
Larry,
 
We ftp files and the EBCDIC-ASCII translation happens automatically in
that
process.  We also use CPYTOSTMF to convert from a database file to an
ASCII
file in the IFS.  You could do this and then ftp the file from the
IFS.
 
Scott Mildenberger

-----Original Message-----
From: Larryt222@aol.com [mailto:Larryt222@aol.com] 
Sent: Thursday, February 01, 2001 6:58 AM
To: MIDRANGE-L@midrange.com 
Subject: EBCDIC-to-ASCII 


I have a file that is created in the evening and has to be FTPd to a
non-400

service.  Therefore, the file has to be transfered in the evening
unattended. 
 I need to add a conversion routine to change from EBCDIC-to-ASCII and
then 
FTP the job.  It has to go in a CLP because FTP transfer is dependent
on a 
multiple of things completing normally first.   

My question, is there a EBCDIC-to-ASCII  program/rountine that I can
put
into 
my clp that will translate file A EBCDIC into file B ASCII so I can FTP
B.


Larry 

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.