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

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3669.0. "how to lookup DNS root of directory in fullname?" by MICROW::LANG () Wed Sep 02 1992 12:20

    
    When I enter a command for a global entity (which is a fullname) and
    just the entity name is entered, the whole fullname is returned. 
    Can someone tell me the call which retrieves this information.
    Ideally, I would like to do it from outside of the MCC environment
    (through a system service call, if there is one.)  If this is
    not possible, then how would it be done within an AM?
    
    EX:		enter ->  create tpcontroller tpcon1
    
    		returned -> TPSDNS_NS:.tpcon1
    
    		(want to retrieve TPSDNS_NS portion)
    
T.RTitleUserPersonal
Name
DateLines
3669.1Use mcc_dns_* routines or SYS$DNS routinesTRM::KWAKWed Sep 02 1992 13:2116
    
    RE: .0
    
    You can use mcc_dns_opaque_fullname() routine to convert a fullname
    into an opaque format fullname, and then call
    mcc_dns_fullname_string() to convert the opaque fullname into
    a string format. The string format fullname will be prefixed with
    the namespace name.
    
    If you do not want to use DECmcc routines, you can use SYS$DNS() or
    SYS$DNSW() system service routine (check with NOTED::DNS or
    NOTED::DNS_PROGRAMMER notes conference). You can use function codes
    dns$_parse_fullname_string and dns$_full_opaque_to_string in 
    SYS$DNS() calls.
    
    William