×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




An interesting idea but the CPYSPLF command doesn't seem to work with
variable length fields.

Albert York                          



        -----Original Message-----
        From:   midrange-l-bounces@xxxxxxxxxxxx
[SMTP:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Brendan Bispham
        Sent:   Friday, October 08, 2004 10:50 AM
        To:     Midrange Systems Technical Discussion
        Subject:        Re: Determining spool file record length

        On Friday 08 October 2004 18:02, York, Albert wrote:
        > That's what I ended up doing.
        >
        > However, when I reprint the report I need to know the actual
length. I
        > ended up using a small RPGLE program which rips through the file
and
        > determines the  longest record. Not fancy but it works.

        I realise it's done now but it just occurred to me that if you used
3000 byte 
        VARLEN fields the record length would be irrelevant and, possibly, a
logical 
        file keyed on the 2 byte length field might tell you the longest
record with 
        one READ...
        --
        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-2026 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.