Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IRR (internal rate of Return ) calculation using cobol.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: IRR (internal rate of Return ) calculation using cobol.
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    Post subject: Reply to: IRR (internal rate of Return ) calculation using c
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

Site Director


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

PostPosted: Thu Oct 29, 2009 8:40 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 1 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts EXIT or RETURN cvnlynn CLIST & REXX 18 Wed Jul 19, 2017 2:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us