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

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2809.0. "SM MFC MD ASO unable to select drawer" by CROCKE::YUEN (Banquo Yuen, Darwin Australia) Mon Jun 07 1993 10:46

    When using ASO option from SM MFC MD screen, got an error message of
    unable to select drawer.
    
    The ~~MAKE_DRAWER_CURRENT~~ subroutine in OAFC$DRAWER$MGT insert
    a "." just after the partition node name and before the partition
    unique name to form #OAFC_DRAWER_FULL, like this
    
    NodeName::."UniqueName"
    
    What is this "." for?
    
    The ASO option works fine when invoked from FC DRM screen.
    
    Thanks
    Banquo
    
    PS: Don't know this problem has been reported or not:-
    
        FC_DRAWER_REORG.SCP assume there will be a "." in the drawer
    	directory!  So if a drawer happens to be on the top directory of
        a device (or a rooted logical) this script does not work well.
    
      
T.RTitleUserPersonal
Name
DateLines
2809.1More information pleaseIOSG::MAURICEMon Jun 07 1993 12:1230
    Hi,   
    
    What errors do you get if you do a GOLD W? I think the "." is something
    to do with the syntax of drawer names passed to the File Cabinet
    Server. 
    
    The problem in FC_DRAWER_REORG.SCP is a known problem that is fixed in
    the PFR. The line -
    
    GET #FC_DIRECTORY = #FC_BACK_DIRECT:H #FC_RHCHAR #FC_DIRNAME:H ".DIR"
    
    has been replaced by:
    
    .IF #FC_BACK_DIRECT NES ""
      .THEN
         GET #FC_DIRECTORY = #FC_BACK_DIRECT:H #FC_RHCHAR #FC_DIRNAME:H
    ".DIR"
      .ELSE
         GET #FC_DUMMY = FILE$.DIRECTORY[#FC_CURDWR_DIRECT]
         GET #FC_DUMMY_LENGTH = FN$LENGTH(#FC_DUMMY)
         DECREMENT (#FC_DUMMY_LENGTH)
         GET #FC_DIRECTORY = FILE$.DEVICE[#FC_CURDWR_DIRECT] -
                             "[000000]" -
                             FN$EXTRACT(#FC_DUMMY,2,#FC_DUMMY_LENGTH) -
                             ".DIR"
    .END_IF
    
    Cheers
    
    Stuart
2809.2Historical reasons onlyCHRLIE::HUSTONMon Jun 07 1993 15:2225
    
    re.0\
    
    >NodeName::."UniqueName"
    >
    >What is this "." for?
    
    The '.' is ok, it is optional. The reason for it is historical. 
    along time ago, (in a world far away) the FCS used DNS naming as 
    the primary naming model, with the ultimate future of all 
    systems using DNS as the naming scheme. When DEC decided to change
    its outlook on DNS, the FCS was sort of, oh well shall we say, 
    stuck.  In a VERY short time period DECnet naming was designed and
    put in place in the FCS. Since DNS naming is still possible, just
    not advised (distribution level 1), and the name translation 
    routines were still in place/tested, we decided to stay with
    the DNS naming syntax, internally. A name like node::.drawer will
    be internally switched to node.drawer. The '.' after the
    '::' is optional simply for the reason that the leading dot in 
    a DNS name is optional, so node::.drawer is identical to node::drawer,
    I believe you will never get the '.' back from teh FCS, but it is
    ok to pass it in.
    
    --Bob
    
2809.3the dot make ASO does not workCROCKE::YUENBanquo Yuen, Darwin AustraliaTue Jun 08 1993 03:207
    But it is the dot nodename::."uniquename" that make ASO in
    SM MFC MD doesn't work.  It compares nodename::."uniquename" with
    nodename::"uniquename" and finds that they are different and
    display unable to select drawer!!!!
    
    Thanks
    Banquo
2809.4IOSG::MAURICENight rolls in, my dark companionTue Jun 08 1993 09:037
    Hi,
    
    Where did you find it making a comparison? What errors did you get?
    
    Thanks
    
    Stuart
2809.5Found and fixedIOSG::MAURICENight rolls in, my dark companionThu Jun 10 1993 15:0016
    Hi,
    
    I've found the problem now and it's fixed in the PFR. You have an easy
    workround - instead of typing ASO and then MDA, instead type MDA
    (hidden option) on the MD form.
    
    The ASO option in V3.0-1 has the line:
    
            THEN FORM FC$ADVANCE$OPTIONS/MORE='FC$DRAWER$MGT'
    
    but form FC$DRAWER$MGT does not have the ~~MAKE_DRAWER_CURRENT~~ and
    ~~CHECK_DRAWER_ACCESS~~ XOPs in it.
    
    Cheers
    
    Stuart