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
 
how to improve performace of an cobol program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
sunilkandepi

New User


Joined: 12 Aug 2006
Posts: 4
Location: new delhi

PostPosted: Sat Aug 12, 2006 10:23 pm    Post subject: how to improve performace of an cobol program
Reply with quote

Hi,

Could u plz help me how to improve performance of an Cobol program, I like to work in future abt to improve performance of program currently running inefficiently.

Regards,
Sunil kandepi
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Sun Aug 13, 2006 4:37 am    Post subject: Re: how to improve performace of an cobol program
Reply with quote

Sunil ,

Tell us about your COBOL program. Straight COBOL? DB2, IMS, VSAM? How many input files, output files? Describe what processing the program does. What is it that makes you think it is not running efficiently?

Dave
Back to top
View user's profile Send private message
sunilkandepi

New User


Joined: 12 Aug 2006
Posts: 4
Location: new delhi

PostPosted: Sun Aug 13, 2006 6:48 pm    Post subject: Thanks
Reply with quote

Dave,

Iam here US in client loction and need to work to improve performance of their COBOL programs, Is it any fundamental steps need to verify why the program is running inefficient.I will let in touch with u when have to start actual dig into program.


Thanks
Sunil kandepi
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Sun Aug 13, 2006 11:14 pm    Post subject: Re: how to improve performace of an cobol program
Reply with quote

Sunil,

One of the items that I first look at is the usage of the 'INITIALIZE' statement. This is very inefficient for repeated usage on data areas with lots of detail.

Create a '01' level copy of the same size as your data area, 'INITIALIZE' the data area once and copy that to the '01' copy. Replace the repeated 'INITIALIZE' with 'MOVE COPY to DATA-AREA'.

This simple change has saved us anywhere from 20-80% CPU usage and same on run time. The savings is determined by the number of uses and the complexity of the data-area.

Dave
Back to top
View user's profile Send private message
sunilkandepi

New User


Joined: 12 Aug 2006
Posts: 4
Location: new delhi

PostPosted: Mon Aug 14, 2006 1:29 am    Post subject: Re: how to improve performace of an cobol program
Reply with quote

Dave,

Thanks for your valuable information , plz guide me in future also same abt my queries.


Regards,
Sunil kandepi
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 Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm

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