Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Actual distinction between GU and GN call

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Actual distinction between GU and GN call
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    Post subject:
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.

http://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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
No new posts PCOMM macro to call another PCOMM macro boyti ko All Other Mainframe Topics 4 Tue Jul 12, 2016 4:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us