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






If you are on V5R2 you may want to check out the new text file creation
conversion ID parameter on open().  This eliminates the need to open the
file to create, close, and then reopen for conversion.  You can just open
with create and specify the CCSID or codepage for data conversion.

Bruce



                                                                                
                                                       
                      Joel Cochran                                              
                                                       
                      <jrc@xxxxxxxxxx>            To:       
midrange-l@xxxxxxxxxxxx                                                    
                      Sent by:                    cc:                           
                                                       
                      midrange-l-bounces@x        Subject:  Re: CCSID for 
Dummies - SOLVED                                             
                      idrange.com                                               
                                                       
                                                                                
                                                       
                                                                                
                                                       
                      07/31/2003 04:20 PM                                       
                                                       
                      Please respond to                                         
                                                       
                      Midrange Systems                                          
                                                       
                      Technical Discussion                                      
                                                       
                                                                                
                                                       
                                                                                
                                                       




Thanks Tim,

I went through the example you sent and was able to get it corrected.

I was creating the file, writing all my lines, and then closing the
file.  Based on your approach I changed that sequence to create, close,
open, write, close and it worked like a charm.

I think what was happening was that since the file was never re-opened
in ASCII, I was writing all the data lines as EBCDIC instead.  Strange
that IE still recognized it...

Thanks!

Joel
http://www.rpgnext.com


On Thu, 2003-07-31 at 16:10, midrange-l-request@xxxxxxxxxxxx wrote:
> message: 1
> date: Thu, 31 Jul 2003 10:06:41 -0700
> from: "Hatzenbeler, Tim" <thatzenbeler@xxxxxxxxxxxxx>
> subject: RE: CCSID for dummies...
>
> This template code works for me, when I create either an XML, or CSV
file...
>
> It's a direct rip-off from Scott's (great/fantastice/enlighting/well
> written/nice samples provided) IFS tutorial... I just merged all the
pieces
> into 1 source file...
>
> I just wish IBM would pay Scott a gazillion dollas to write some of their
> technical manual's.
>


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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 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.