View previous topic :: View next topic
|
Author |
Message |
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Howdy,
I am looking for different things that can be done but probably should not be done in the online environment.
One is sorting a file online (unless it is tiny).
Another is running file compares or searches online.
Another is compiling online.
Also, "Big" queries run in SPUFI.
What performance dehancers have you seen on your systems?
Is it true that the online file transfer uses more resources than ftp?
Thanks for the feedback.
d |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Avoid Browse/Edit/View on a large data set with a poor BLKSIZE. I once did this deliberately to make a point; the difference in response time for a DOWN MAX command was dramatic. |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
I have done the following without issue:
Run a SORT against a file with 400,000 records in less than 2 seconds.
Compared two files (Cobol programs) of 90,000 lines in less than 2 seconds.
It may be the speed of our processor, but many things like that work fine.
Even a longer wait beats submitting a batch job and having to go to the held queue for the results.
Just my opinion, nothing more. |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Agree daveporcelan. Some things that I would not have dared do in the past I now do routinely. SRCHFOR on member lists; SRCHFOR on a data set lists, to name but two.
OTOH I am a very impatient guy. If I think that the response time will be > 8-10 seconds, and it is something that I will have to do more than once, I try to find a way to do it in batch. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Thanks for the replies.
Many of the things that cost the most make life easier for the developer.
Things like those mentioned run very quickly many places these days. Our chargeback works on i/o and cpu utilization and these skyrocket.
Toggling to an output screen should be little to no inconvenience. When i'm on tso submitting jobs, i typically have an sdsf screen open or the equivelent in ROSCOE.
What i'm trying to do is generate a list of the more expensive things people do with no regard to the cost.
Some places have an entire test lpar that is not charged back. Then resource use is less of a concern.
Thanks again - keep'em coming
d |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Use of any interactive debugger can cost lots of $CPU. That used to be a huge concern in some shops, and in some cases kept those tools out of the environment completely.
I haven't used ROSCOE in over 20 years, and that was in a very tight-fisted shop where only the systems programmers were allowed to have access to TSO. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
This client is primarily a roscoe shop.
Due to some rather sudden increase in contractor staff for a couple of projects, TSO is seeing more action and these folks are used to doing things the fastest way for them. They have not had to worry about the cost at previous clients (apparently).
Thanks for the mention about interactive debuggers. One of our folks ran Xpediter against a big batch probram and sucked up about 18 million cpou seconds . . . Bet that doesn't happen again
Question, is there any db2 impact when running an online debugger?
The 2 line items that have Jumped recently are TSO and DB2.
Quote: |
only the systems programmers were allowed to have access to TSO. |
Yup, rather common. The good news was that as a DBA i was given the same access most places
Later,
d |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
ISPF selection 4 - Foreground Compiles (Your friendly SYSPROG may call you) |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
ispf panels
where the number of records/rows or whatever is done
is updated constantly (or every 100 or 1000). |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Using an interactive debugger should not have much impact on DB2 cpu usage but can have an impact on the performance of the subsystem. Someone stitting at a breakpoint for 30 minutes analyzing code might be holding locks for that entire period of time.
I have often used debuggers on batch programs, but I always make an effort to keep the input file as small as possible. That's not just to save CPU; I am far too impatient to sit there watching the code churn through 10,000 records before reaching the one that is causing the problem. |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
-Don't do a report look up in Control-D without a USER specified. LOTS of data to sift through for that. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
Processing large files using interactive SAS Program editor. Batch sas is well suited for large files or any type of file processing as it reduces utilization peaks. |
|
Back to top |
|
|
|