MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GU versus GN efficiency when both use a qualified SSA?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
craigmvs
Beginner


Joined: 20 Nov 2004
Posts: 1
Topics: 1

PostPosted: Sat Nov 20, 2004 9:37 am    Post subject: GU versus GN efficiency when both use a qualified SSA? Reply with quote

Hello All.

I've recently been challenged as to my use of a GU call instead of a GN call on a root segment.

With either call I have a qualified SSA, the relational operator of which is an equal sign. No command codes are in use.

My values for the search field of the SSA are available to me in the same sorted order as the root key of my database.

We are talking about 7,000 root segment calls in a single COBOL program execution. The execution is DLI.

Would a GN call be substantially more efficient under these conditions than a GU call?

Craig
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Nov 22, 2004 9:28 am    Post subject: Reply with quote

I am not aware of any effeciency difference if this is a truly random call. If your PCB is already positioned fairly close in the database and you are progressing forwards, then GN may give you an advantage, depending on database organization.

Try changing the GU to a GN and see if it makes a difference in the CPU usage.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group