There is a debit field and a credit field in the record layout.
The requirement is to print a third column which is a running total.
In RPG it would be
runtotal = runtotal + debit - credit
I want to do this with query but can't figure it out.
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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives