View previous topic :: View next topic
|
Author |
Message |
ap_mainframes
Active User
Joined: 29 Dec 2005 Posts: 181 Location: Canada
|
|
|
|
Hi,
I have a partial key populated and I am making a qualified GU call. But looks like it is still reading the database from the top. Is there any way that I can read the segment from the partial key which I have ?
Please advise. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Load the high level portion of the key - then initialize the low order key fields with low-values. Make your operator > (greater than) - qualify your SSA and do a GN. An unqualified GU will always position you at the beginning of a database. |
|
Back to top |
|
|
|