If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > CODASYL - Network Database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-06-02, 12:43
KarateKid KarateKid is offline
Registered User
 
Join Date: Apr 2002
Posts: 5
CODASYL - Network Database

Hi,

I need some Experts for CODASYL, a network database system.

Is somebody with a basic knowledge in here?


Best Regards.
Reply With Quote
  #2 (permalink)  
Old 10-06-02, 15:33
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,540
i used to have a pretty decent knowledge of idms

emphasis on past tense

what's the question?

rudy
http://rudy.ca/
Reply With Quote
  #3 (permalink)  
Old 10-06-02, 15:56
KarateKid KarateKid is offline
Registered User
 
Join Date: Apr 2002
Posts: 5
yeah, cool

I hope you can help me.

For testing a university test in germany i have to do the folowing task:



Design the following Query with CODASYL-DML:

"Which Consultant (Name) has done Calls abaout a special Software (string "Windows2000")?"

on the following relational Database:

Consultant(Id, Name, PhoneNumber, Address)
Client (Id, Name, Phonenumber, Account)
Calls(Client-Id, Consultant-Id, Software-Id, Day, Time)
Software(Number, Description)
Requires_Software(Number-1, Number-2)

But we only can use the following CODASLYL Statements:

FIND ANY <Record name> USING <Key Name>
FIND FIRST <Record name> WITHIN <Set name>
FIND NEXT <Record name> WITHIN <Set name>
FIND LAST <Record name> WITHIN <Set name>
FIND OWNER WITHIN <Set name>
FIND CURRENT <Record name> [WITHIN <Set name>]
GET <Record name>
STORE <Record name>


Thank you.
Reply With Quote
  #4 (permalink)  
Old 10-06-02, 16:27
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,540
i don't have FIND ANY in the book i'm looking at -- presumably that's how you find the Software record for Windows2000? i'm not sure, but you have to find that record first

then find owner within calls-software

loop
if calls.software-id same as software.software-id
find owner within consultant-calls
print consultant name
endif
find next within calls-software
endloop

or something like that

i'm guessing, because you didn't say what the sets were

rudy
Reply With Quote
  #5 (permalink)  
Old 10-06-02, 17:46
KarateKid KarateKid is offline
Registered User
 
Join Date: Apr 2002
Posts: 5
thank you for that first answer,

tomorrow I try to put a Network Modell in here to show you the settypes and so on!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On