Re: Weird problem a customer is having with a file

Peter Lunde <[email protected]>
Newsgroups gmane.comp.lang.as400.mi
Message-ID <20060425164740.HMVC10262.tomts22-srv.bellnexxia.net@smtp1.sympatico.ca>
James,

Unforunately, I am not aware of any way to suppress the level 0 records on a Query/400 summary output file.  And there could easily be ++++++ dates at other levels.

I don't think a four digit year will help, because, the customer is summarizing the file by date.  That means that the grand total record does not have a valid date.

Perhaps Query/400 is not the best way to summarize a file.  I would recommend using SQL, Query Manager, or Format Data to summarize the file.

Anyway, I will try to replicate this problem tomorrow and see if I can update the file.

Peter Lunde
[email protected]

============================================================
From: "James H H Lampert" <[email protected]>
Date: 2006/04/25 Tue PM 12:00:30 EST
To: MI Programming on the AS400 / iSeries <mi400-Zwy7GipZuJhWk0Htik3J/[email protected]>
Subject: Re: [MI400] Weird problem a customer is having with a file (James H H Lampert)

<snip>

Regarding the origin of the file (apparently through 
Query/400), I have this from the customer:

> The file is a dump of a physical file with report summary
> function count on date. So output file contains all
> summarized records with break level 1 and a final
> summarized record break level 0 with datepost field as
> ++++++.
. . .
> Do not know how this can be avoided.

I reiterated my suggestion that he use a 4-digit year date 
format in the query (not even knowing if this is possible 
in Query/400), but if anybody else has a better idea, I'll 
be happy to pass it on.

JHHL


_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.