× 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.



I have a program which generates a margin file for
    today's date....the program is as follows...
    
----------------------------------------------------------------------------------------
PGM    
CPYF FROMFILE(QGSJL/GFE1) TOFILE(QFLIB/YDJF1)
    MBROPT(*REPLACE) 
      CRTFILE(*YES) INCREL((*IF POFFIC *EQ '980')
(*AND
    PFIRM *EQ 'J') (*AND PEXCH *EQ '22')
      (*OR POFFIC *EQ '980') (*AND PFIRM *EQ 'J')
(*AND
    PEXCH * EQ '24')) FMTOPT(*NOCHK)        
MARG3AC P4(YDJ) P5(YDJF1)  -----> this step will
    create file YDJ.REQS
YCTAC200C REQSFILE(YDJ.REQS) POSFILE(YDJF1)
    OUTFILE(YC200)
   ENDPGM 
-----------------------------------------------------------------------------------------
    the report looks like .....
     A/C        EXCH      INITIALMARGIN(IM)
    
====================================================================
     I want to generate a report which should consist
 
    yesterday's  report(for this i will be saving
previous
    day's initial margin and pick up the data from
there
    for the report)
    
    my final report should look like below...
    
 A/C  EXCH     IM          IM      FLUCTUATION
             evious day)  (today)     
    
    
    IM stands for Initial margin...
    Fluctuation is diff btw previous day's IM and
Today's
    IM.         
    
=====================================================================
    can anyone give me some solutions how to proceed
and
    implement this in the program ,Iam stuck at the
moment
    ....My report keeps on changing daily (today?s
initial
    margin will become  previous day?s initial margin
in
    tomorrow?s report).....can anyone suggest how do i
    pick up yesterdays initial margin and change the
value
    in today's report and calculate fluctuation
    (difference btw yday's IM and today's IM)..please
    shoot me up with mails if some thing nt
    understood....awaiting for some ideas..
    Thanks in advance for ur help..
    Murali.
    
 


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.