Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

AS400 quick report to display detail records with totals

Posted on 2011-09-11
5
568 Views
Last Modified: 2012-05-12
It's been a long time since I've worked on an AS400.  I can still change a little RPG code and do a few things, but my skills are not there any more.  I have a temp file that I want to print a quick report on inlcuding the detail lines and then grand totals of a few columns.  I want to do it using a quick tool.  I've used DFU in the past to generate a report with totals - but that was during data entry/update.  Can DFU or another tool take this temp file and create a quick report with grand totals?  I'm not sure what tool to use or if there is one that can be used in this case.  I'd much rather work with a tool than try and do RPG.  
0
Comment
Question by:cindyfiller
5 Comments
 
LVL 33

Accepted Solution

by:
shalomc earned 500 total points
ID: 36521664
use Query/400 or QmMqry.
commands are: wrkqry, strqm
0
 

Author Comment

by:cindyfiller
ID: 36522945
Thanks - won't be able to try it until this weekend, but will definitely try this.  Do these tools automatically come with the AS400 now?  
0
 
LVL 16

Expert Comment

by:theo kouwenhoven
ID: 36523742
Use SQL instead of QmQRY if it is a one shot only program
0
 
LVL 33

Expert Comment

by:shalomc
ID: 36524749
Afaik query is part of the OS and qmqry is not but I am away from a server and may be wrong.
0
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 36525041
Query/400 is an additional-charge licensed program, but you'll find it on most AS/400s.

Basic qmqry commands are part of the base OS (CRTQMQRY, STRQMQRY).  Query Manager provides additional functionality on top of the basic qmqry commands, and is an additional-charge licensed program.

- Gary Patterson
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Server encoding for storing Indian languages 9 52
RDBMS and No sql database 4 63
Sql Join Problem 2 53
T-SQL: Do I need CLUSTERED here? 13 59
APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question