× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Create a physical file with the following columns and values:

EXCH    SUM
22      1
24      2
JA      1
JB      2

Then use it as a secondary join file in your original query.  Sort by and
break by SUM.

-Jim

James P. Damato
Manager - Technical Administration
Dollar General Corporation
<mailto:jdamato@xxxxxxxxxxxxxxxxx>



-----Original Message-----
From: murali dhar [mailto:hydchap1@xxxxxxxxx]
Sent: Tuesday, February 24, 2004 8:32 AM
To: Midrange Systems Technical Discussion
Subject: QUERY!


Hi,
I have written a query which is generating the
following PF.

ACCOUNT    EXCH               INITIAL  
                              MARGIN(IM)  
JJ2102201   22           57,301,710.00  
JJ2102201   JA                   10.00  
JJ2102201   JB                   20.00  
JJ2102201   22           83,190,000.00  
 

 Now I need to add
(22 & JA )IM's   and (24 & JB) IM's to produce the
report as follows:

ACCOUNT    EXCH               INITIAL  
                              MARGIN   
JJ2102201   22           57,301,720.00  
JJ2102201   22           83,190,020.00 
Tried with same query but could not succeed ,seems my
query may  not help  to achieve this as required , can
some one post pointers? any easier solutions , do i
have to call  RPG to do this modification?
TIA,
murali.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.