[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iamok::dtrdig

Title:DATATRIEVE INTEREST GROUP
Notice:ADD KEYWORDS TO NOTES FOR EASY SEARCHES
Moderator:IMTDEV::KRATZER
Created:Fri Mar 21 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3011
Total number of notes:9337

2999.0. "CDD creation via DTR" by HANDVC::STEVELIU () Wed Mar 19 1997 09:33

    
    I got some DTR procedures from a customer to try to test out some
    problem, when I repeat what the customer did, I got :
    
    $ mc dtr32
    
    DEC DATATRIEVE V6.1
    Digital Query and Report System
    Type HELP for help
    
    DTR> set dictionary cdd$top.uat.td
    Element "CDD$TOP.UAT.TD" not found in dictionary. <-- error 1
    DTR> @tdmast_rec.dtr
    Element "TDMAST_REC" not found in dictionary.     <-- error 2
    [Record is 160 bytes long.]
    DTR> exit
    
    please tell me exactly what I need to do to remove these errors.
    I do not even have any DTR documents on hand.
    
    Is the customer supposed to give me a procedure to define the elements
    in the dictionary and to create the dictionary and to create the 
    domains ? in what order ? please inform me if I have missed out
    any steps.
    
    steve
      
T.RTitleUserPersonal
Name
DateLines
2999.1BUSY::SLABBuzzword BingoWed Mar 19 1997 10:5817
    
    	The SET DICTIONARY command is failing because you don't have a
    	sub-dictionary TD in sub-dictionary UAT in CDD$TOP.
    
    	Do this:
    
    	DTR> SET DICTIONARY CDD$TOP
    	DTR> DEFINE DICTIONARY UAT
    	DTR> SET DICTIONARY UAT
    	DTR> DEFINE DICTIONARY TD
    
    	and then you can issue the SET DICTIONARY CDD$TOP.UAT.TD command.
    
    	The second error is tough to solve right now.  Can you post the
    	TDMAST_REC.DTR file, or make it available for copying over the
    	network if it's too big to post?
    
2999.2BUSY::SLABCrackerWed Mar 19 1997 17:4022
    
    	And regarding the "element not found" error, ignore it.  It's a
    	non-fatal error that means that there is an imbedded "delete"
    	command referring to a DTR object that doesn't exist.
    
    	The person who sent you the file to invoke in DTR did an
    
    	EXTRACT object ON filename
    
    	and DTR automatically added
    
    	DELETE object
    
    	as the first line in filename.  DTR is just telling you that it
    	can't find that object to delete, but it is setting up the REC
    	file that you want, since it tells you how big the record def-
    	inition is.
    
    	If it makes you feel better, edit out the DELETE command from
    	the file before going into DTR and invoking via @filename, but
    	like I said, it's non-fatal and is working.
    
2999.3thanksHANDVC::STEVELIUThu Mar 20 1997 01:2713
    
    
Yes, the firstline of tdmast_rec.dtr is in fact
    
DELETE TDMAST_REC;                  <<<<<<<<<
REDEFINE RECORD TDMAST_REC USING
    01  TDMAST_REC.
            "
            "
            "