Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

DB2 :: RE: COBOL DB2 - CALL statement - high CPU consumption

$
0
0
Author: Rohit Umarjikar
Posted: Tue Sep 13, 2016 1:20 am (GMT 5.5)

Performance - Part 4.DB2 9 for z/OS Stored Procedures: Through the CALL and Beyond. However, I am not saying calling a SP is not possible or is a crime but why when we can do best with sub programs? Because if the indexes are proper and joins are good then sql should be executing quick with no issues,hence strongly suspect the TS to test by staging the same query in a sub program. for me or at my shop SP's are really meant to be get called from a distributed environment but no restriction for others.
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."icon_razz.gif


Viewing all articles
Browse latest Browse all 9405

Trending Articles