IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Actual distinction between GU and GN call


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arivazhagan_k

New User


Joined: 05 Dec 2007
Posts: 57
Location: chennai

PostPosted: Tue Jun 02, 2009 2:36 pm
Reply with quote

Hi,

When we issue PLITDLI call with 'GU' function and fully qualified SSA, I know it will fetch a specific databse record. when we change the SSA key value it will start from the beggining of the database and it will fetch the specific record. But for function code 'GN' it will search the record from where the database pointer last time landed.

Here my question/doubt is even though we are calling 'GU' as random retrieval it has to sequentially search through the database till get the specfic record right. OR If you say there wil be a index will be maintained internally then for index also the pointer need to run through sequentially to identify the specific index right......

Help me to under stand the concept clear...


Thanks,
Arivazhagan
Back to top
View user's profile Send private message
dominickim

New User


Joined: 28 Feb 2007
Posts: 65
Location: NS, CA

PostPosted: Wed Jun 03, 2009 1:39 am
Reply with quote

Hello Arivazhagan,

Yes, DL/I manages different types of database and each database has their own storing rules. The link below might help you to understand how the record is stored base on different database types. Find your database type from DBDGEN source for database that you are reading.

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims9.doc.adb/a1h1df1.htm
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts CICS DPL call CICS 6
Search our Forums:

Back to Top