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
 

 

OBTAIN without record name

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
View previous topic :: :: View next topic  
Author Message
pav001

New User


Joined: 02 Nov 2005
Posts: 24

PostPosted: Tue Feb 06, 2007 2:02 am    Post subject: OBTAIN without record name
Reply with quote

Hi,

"OBTAIN <RECORD-NAME> DB-KEY IS DIRECT-DBKEY", will get the record instance for the record mentioned based on the db key.

What would "OBTAIN DB-KEY IS DIRECT-DBKEY" (no record name mentioned) fetch? I can see this being used in a program i am analyzing but cant make any sense out of it....


TIA!PAV
Back to top
View user's profile Send private message

mfarien

New User


Joined: 02 Mar 2007
Posts: 17
Location: USA

PostPosted: Sun Mar 04, 2007 1:29 am    Post subject: Re: OBTAIN without record name
Reply with quote

DB-KEY is unique for a record occurance. Record Name in this syntax is optional.
Hope that solves your question.

Each record occurrence is assigned a unique numeric identifier, called its database key (db-key).
A record occurrence?s db-key consists of a 32-bit field that typically contains a 23-bit page number and an 8-bit line number. The page number identifies the page in which the record occurrence is stored and the line number identifies the location of the record occurrence within that page.
IDMS/R uses database keys to keep track of where in the database record occurrences are physically stored.
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 -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts sort with previous record anatol DFSORT/ICETOOL 9 Thu Oct 06, 2016 2:36 am
No new posts Get Record count in summary record fo... Atul Banke DFSORT/ICETOOL 21 Fri Sep 23, 2016 4:17 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm


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