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




You have to split the record in two:

     Axxxxxxxxxxxxxxxxxxxxxxxxxxxx
     Bxxxxxxxxxxxxxxxxxxxxxxxxxxxx

per each record that you want to write to your flat file.

Peter Vidal


                                                                                
                   
                    "Smith, Mike"                                               
                   
                    <Smith-Mike@Crest.ar        To:     
"'RPG400-L@midrange.com'"                  
                    amark.com>                  <RPG400-L@midrange.com>         
                   
                    Sent by:                    cc:                             
                   
                    owner-rpg400-l@midra        Subject:     RE: record size 
limit                 
                    nge.com                                                     
                   
                                                                                
                   
                                                                                
                   
                    03/07/01 03:42 PM                                           
                   
                    Please respond to                                           
                   
                    RPG400-L                                                    
                   
                                                                                
                   
                                                                                
                   




no, The problem is not the number of records in the file, its the size of 1
single record.  The max is like 32767 characters for 1 record.  thats where
my problem is.  I'm dropping data because i fill up the record.

-----Original Message-----
From: Jim Langston [mailto:jimlangston@conexfreight.com]
Sent: Wednesday, March 07, 2001 2:40 PM
To: RPG400-L@midrange.com
Subject: Re: record size limit


You can even change the flat file after it was created, and specify
*NOMAX.

Regards,

Jim Langston

Peter_Vidal@pall.com wrote:
>
> Create the flat file as:
>
> CRTPF FILE(FLATFILE) SIZE(*NOMAX)
>
> Peter Vidal
>
>
>                     "Smith, Mike"
>                     <Smith-Mike@Crest.ar        To:
RPG400-L@midrange.com
>                     amark.com>                  cc:
>                     Sent by:                    Subject:     record size
limit
>                     owner-rpg400-l@midra
>                     nge.com
>
>
>                     03/07/01 02:00 PM
>                     Please respond to
>                     RPG400-L
>
>
>
> I am writing a conversion program that writes to a flat file.  The problem
> i'm having is that i have a few records that are blowing past the
> 32thousand+ record size limit.  Does anyone have any suggestions on how i
> can get around this.
> This is a file that is being FTP'd to an Unix machine.
>
> Thanks
> Mike
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---
>
>
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------------------------------------------
>                   Name: $RFC822.eml
>    $RFC822.eml    Type: Outlook Express Mail Message (message/rfc822)
>               Encoding: base64
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

$RFC822.eml


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.