Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us