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
 

 

To save cost in batch programs

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

New User


Joined: 26 Apr 2007
Posts: 37
Location: USA

PostPosted: Mon Aug 13, 2012 12:28 pm    Post subject: To save cost in batch programs
Reply with quote

Hi
I would like to know what kind of benfits we get if change below

'If program files are defined as "ACCESS IS DYNAMIC" and they're only being accessed sequentially, change them to "ACCESS IS SEQUENTIAL". Same holds true for files defined as "ACCESS IS DYNAMIC" and the access is purely random, change them to "ACCESS IS RANDOM".''

I would like to analyse my all batch programs and change if we get benfits.

Please let me know..

Thank you
Sree
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Mon Aug 13, 2012 1:39 pm    Post subject: Reply to: What r the key areas to lookin to save cost in bat
Reply with quote

Please don't tailgate an old topic.

Why don't you look at what the Cobol manuals have to say, and also try a couple of sample programs?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Mon Aug 13, 2012 2:30 pm    Post subject:
Reply with quote

Merely changing the ACCESS clause in the program will save little, if anything, since that clause is mostly for COBOL and has little or no run-time impact.

Managing buffers, which requires JCL changes, on the other hand can make a big difference especially if your site does not use vendor software to do so and your site uses the default buffering.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Aug 13, 2012 8:01 pm    Post subject:
Reply with quote

Reading suggestion: VSAM Demystified. It's an IBM Redbook. That will tell you a lot of what you need to know. I'm pretty sure it's been kept updated, but make certain the specs match what your site is running.

You can get huge benefits in programs that are i/o bound on the VSAM files, but it's more than changing the access type. As said before, you need to also increase/improve the amount of read buffers the program can access.
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: Mon Aug 13, 2012 8:59 pm    Post subject:
Reply with quote

Hello,

Not to say the obvious, but you first need to identify whicn processes are using "too much" system resources. Then address the worst offenders first.

These may be vsam. sequential, and/or database processes. Each requires a different king of "tuning" - but first (imho) identification of where to get the best return on the improvement work.
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 HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 5 Tue Nov 29, 2016 9:25 pm


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