AS/400, BPCS, show only totallines (with all information), summirazid on ILQTY from the SIL-file

45 pts.
Tags:
AS/400
BPCS
Query
Good afternoon,

I made a query with some files like SIL, SSM and IIM. Now I want to summarize on quantities of sales (ILQTY, SIL-file) but other field (like 6 more or so) still need to be showed with only the totals per item (ILPROD).

In my overview I get only Productitem and quantity summarized, but my other fields from the SIL, SSM and IIM files disappear, while I still need to see them.

How can I do that?

Thank you very much!

Rgds,

David

 

 

 

 

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    What query product are you using? Query/400? Query Manager? Straight SQL? (ODBC?) Something else...? Maybe an easier question is -- How do you get to the point of creating a query? That should tell us which product it is, if you don't know the answer. Can you run a STRSQL command? ...or STRQM command? It sounds like you have defined a query and then executed it as a summary run. However, this has caused values from detail lines to disappear (because detail values aren't part of a summary.) You want to know how to include certain non-summary values in your summary output. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following