IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IRR (internal rate of Return ) calculation using cobol.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jiteshpchavan

New User


Joined: 05 Mar 2009
Posts: 2
Location: mumbai

PostPosted: Thu Mar 12, 2009 2:42 pm
Reply with quote

Hi ,

We have one requirement where we have to automate (1 JCL) IRR calculations for given cashflow.

Input : Flat file containing cash flow entries. For a unit A there are 400 cashflow entries.

I have developed a cobol program for IRR calc but it is takes approx. 9 to 14 mins for a single unit.
Input file can contain 3000 units (Huge file because 400 cashflow entries for single unit). This will take large exeecution time hence more cost.

Please suggest solution or is there any alternative (using shell scripts or C ) if yes then pls explain..(i dont hav idea abt using shell scripts and c with cobol.. but i read it somewhere that we can do that ) .

we also gave thought to using tibco interface and doing calculations at bussiness ware house end. But our data size is 6048 bytes.
I also wanted to confirm the max. length of data that we can send it thorugh TIBCO. I think its 4000 (not very sure).
Back to top
View user's profile Send private message
SanjayKSharma

New User


Joined: 28 Oct 2009
Posts: 2
Location: UK

PostPosted: Thu Oct 29, 2009 4:49 pm
Reply with quote

Hi Jitesh,

Sorry I can't help with the performance query immediately. But I would be interested in your Cobol IRR rountine as I have a similar requirement. And if we come across a way to improve performance I can let you know.

regards
Sanjay
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 29, 2009 8:40 pm
Reply with quote

Hello,

Suggest you not ask for what is very likely proprietary code for that organization.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top