|
hAI ALL, Iam nt able to post my message to midrangeList due to some problems with my ID...I ve posted thrice but it was nt yet published in the List..since its bit urgent Iam posting here ,hoping to some response from the RPG&CL folks here..sorry for the inconvinience... -------------------------------------- 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) ----------------------------------------------------------------------------------------- the report looks like ..... A/C EXCH INITIALMARGIN(IM) 980 23 11,208,709,000 ==================================================================== 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 (previousday) (today) 980 23 11000 12000 1000 24 13000 12500 500 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!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
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.