[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

744.0. "OA$FBT_LIST_LIBTREE results" by GLOVES::ALLERTON (Steve Allerton 343-0205) Thu May 21 1992 22:12

    
    I'm trying to make sense out of the results returned from 
    OA$FBT_LIST_LIBTREE, e.g.
    
    $USERS:[ALLERTON.A1]AP2_FORMS.FLB;
     -- Open=1, .FLB open=1, .FLC open=0,Forms=11, Ref count=0, Channel=91
    
        ^^            ^^            ^^                           ^^
    
        What are the differences between                    Can someone
        these "Open" references?  The                    explain "Channel?"     
        documentation doesn't address the
        leftmost reference, nor does it explain
        "Channel."
    
    I'm guessing:
    
    Open=1(0)    Form Library is open(form library was opened, but is now
                                      closed)
    
    .FLB open=1  .FLB exists (When would this ever be 0 ?)
    
    .FLC open=0  There is no .FLC for this library.
    
    Thanks,
    
    Steve
T.RTitleUserPersonal
Name
DateLines
744.1Partial answerSHALOT::NICODEMWho told you I'm paranoid???Thu May 21 1992 23:1513
	Good guesses, Steve.  The first open is whether an OA$FLO_OPEN has been
done on this library.  In response to your question about the .FLB, if the form
library is open, the .FLB *must* be open; the .FLB file is necessary to get all
of the standard FMS type of stuff.

	And, as you also stated, the .FLC will be open if there is one -- *AND*
if it's correct to use it.  In other words, you may have a .FLC, but it won't be
opened if it's obsolete ("Obsolete version of .... Continuing.")

	Forms is the number of forms in the library.  I'm afraid I can't help you
on Channel...

	F
744.2Channel == Internal and not very interesting?IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeFri May 22 1992 11:4713
    Channel is probably either an RMS channel number, or an internal
    pointer into the DSAB list, or it's something from FMS.
    
    I don't suppose any of that would be ofinterest to anyone other than
    one of the developers.
    
    I guess we could look at the code if you're really interested!
    
    Graham
    
    PS Frank, so how could the first open ever be 0? If it's opened by
    default from the profile? Or is it 0, if the library has been closed
    again, but is still in cache?
744.3Can open *or* close form libraries under API controlSHALOT::NICODEMWho told you I'm paranoid???Fri May 22 1992 14:1516
�    PS Frank, so how could the first open ever be 0? If it's opened by
�    default from the profile? Or is it 0, if the library has been closed
�    again, but is still in cache?

	Just as the OA$FLO_OPEN causes the library to be initially opened, an
OA$FLO_CLOSE will close it.  There is very little in ALL-IN-1 that will cause a
form library to be closed.  However, any application could issue the OA$FLO_CLOSE
function.  In V3.0, for example, the new symbol OA$FORM_SEARCH_ORDER will list
only those form libraries which are Open -- try it!

	Closing a form library doesn't remove it from the list; that's why, if
you close a library and later re-open it, it's back in its original place in the
search order -- not at the end.  (And that's why V3.0 introduced some of the new
capabilities it did for re-ordering the form library search order.)

	F
744.4Pretty mundaneSHALOT::NICODEMWho told you I'm paranoid???Fri May 22 1992 14:2410
�   Channel is probably either an RMS channel number, or an internal
�   pointer into the DSAB list, or it's something from FMS.
 
	Actually, it's the internal channel number used by FMS.  When ALL-IN-1
issues an OA$FLO_OPEN, a new channel number is assigned, beginning at 0.  Any
application that uses FMS does the same thing, so if you're using DATATRIEVE,
you could also be defining FMS channels.  So as Graham says, it's not really
very interesting...
	
	F