Read it from history file

1,357 views
Skip to first unread message

VENKATAKRISHNAN CHANDRAMOULI

unread,
Nov 8, 2010, 10:27:45 PM11/8/10
to t2...@googlegroups.com
Dear All,
 
I want to read FUNDS.TRANSFER record from history latest record. I know only the FT id from STMT.ENTRY how to read the latest record from the file without selecting the record.
 
Please reply me.
 
Thanks and Regards
CVK

H Anureka Rajesh

unread,
Nov 9, 2010, 12:08:43 AM11/9/10
to t2...@googlegroups.com
Hi CVK,
F.READ.HISTORY:

CALL F.READ.HISTORY(FN.HIS.FILE, Y.HIST.ID, R.HIST.REC, F.HIS.FILE, YERR )

OR 

EB.READ.HISTORY.REC:

CALL EB.READ.HISTORY.REC(HIST.FILE, HIS.ID, HIST.REC, YERROR)

Using F.READ.HISTORY will be the better option, here HIS.ID is normal live file ID and it will get latest history ID by default.

VENKATAKRISHNAN CHANDRAMOULI

unread,
Nov 9, 2010, 1:07:00 AM11/9/10
to t2...@googlegroups.com
Thanks Anu

sandeep gowda

unread,
Nov 8, 2010, 11:21:38 PM11/8/10
to t2...@googlegroups.com
There is a subroutine to call latest history record 
EB.READ.HISTORY.REC(F.FUNDS.TRANSFER,FT.ID,REC.RET,RET.ERR)

This will return latest from history
--
sandeep H L
bangalore

sandeep gowda

unread,
Nov 9, 2010, 12:15:07 AM11/9/10
to t2...@googlegroups.com
Hi CVK,

Both EB.READ.HISTORY.REC and F.READ.HISTORY will take live file Id and return latest history record. And both routines perform exactly the same way. you can use anyone of them.

On Tue, Nov 9, 2010 at 10:38 AM, H Anureka Rajesh <anurek...@gmail.com> wrote:

Murali Ravichandran

unread,
Nov 8, 2010, 10:53:41 PM11/8/10
to t2...@googlegroups.com
Hi,
    
   You can use the CORE routine EB.READ.HISTORY.REC to read the latest history record.

CALL EB.READ.HISTORY.REC(FILE.NAME, REC.ID, R.HISTORY.REC, READ.ERR)

Regards,
Murali Ravichandran
--
Warm Regards,
Murali Kris
Reply all
Reply to author
Forward
0 new messages