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



Some times we need to translate EBCDIC to ASCII  on the iSeries to get the 
desired result when we have to export to funny platforms.
  Afterwards we FTP with Binary the result.
  The routine we use lookes like this.
   
   *                                                                
 * Add Carriage return                                            
 *---------------------------------------------------------------*
C                   MOVEL(P)  ACFCHAR94     ACFCHAR96             
C                   MOVE      X'0D25'       ACFCHAR96             
 *                                                                
 * Translate.                                                     
 *---------------------------------------------------------------*
C                   CALL      'QDCXLATE'                          
C                   PARM      96            LEN               5 0 
C                   PARM                    ACFCHAR96             
C                   PARM      'QASCII'      TBL              10   
 *                                                                
   
  Kind regards.
  Eduard Sluis.

Matt.Haas@xxxxxxxxxxx wrote:
  Search in the archives for "iconv".

Matt 

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jonathan S. Dela
Cruz
Sent: Wednesday, November 30, 2005 4:25 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: EBCDIC to ASCII

Anyone knows on how to convert EBCDIC Data to ASCII data?

Thanks,
Jonathan 
Analyst/Programmer

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.