Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What the CALC command does

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

New User


Joined: 11 Apr 2005
Posts: 16

PostPosted: Wed Apr 13, 2005 5:56 pm    Post subject: What the CALC command does
Reply with quote

Hello,

I would like to know if someone can explain to me what the CALC command does? Say ie OBTAIN CALC dbrecord?

Also, what does it mean when they say CALL 'database name' USING something? Does this mean that they are calling a certain database within the program using the given dbkey?

Thank you so very much. I appreciate the help.
Back to top
View user's profile Send private message

harishskumar

New User


Joined: 18 Feb 2005
Posts: 13
Location: Bangalore

PostPosted: Fri Apr 15, 2005 12:49 pm    Post subject: Re: What the CALC command does
Reply with quote

Hey,

Think you are new to IDMS.

There are 3 kinds of records in IDMS.

1.Calc Records
2.Via Records
3.Direct Records

Calc stands for "Calculated". When IDMS stores a record it calculates a target page based on a logical/symbolic key using hash alogorithm. So to get a calc record you need to supply the key value and say OBTAIN which will fetch the record from database.

Another thing to note is that OBTAIN is Equivalent to FIND + GET. Let me explain you what find and get mean.

FIND - will check the database for occurance of the record in the DB.
GET - will fetch the record for which currency has been established by previous FIND command in to Call area.

OBTAIN will do both establish currency onthe record and retrieve it to the Call area.

Hope this helps...

for remaining types of records and stuff I would suggest you to go thru IDMS manual or books..
Back to top
View user's profile Send private message
harishskumar

New User


Joined: 18 Feb 2005
Posts: 13
Location: Bangalore

PostPosted: Fri Apr 15, 2005 12:54 pm    Post subject: Re: What the CALC command does
Reply with quote

Sorry I forgot to answer your following question.

Quote:

Also, what does it mean when they say CALL 'database name' USING something? Does this mean that they are calling a certain database within the program using the given dbkey?


When you say USING something.... it means you are saying that the word after USING actually contains the Key value or reference to the key.
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 MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us