[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

2730.0. "OA$CURDOC_FILENAME values" by MLNTSC::MANENTI () Wed May 19 1993 12:03

	Hello everybody,

	I'm experiencing this ALL-IN-1 behaviour ...
	the value of OA$CURDOC_FILENAME symbol is different on two 
	system running same ALL-IN-1 (3.0) version.
	On a system, the value reports only the ALL-IN-1 subdirectory
	(for example [.doc1]zupcj4fyk.wpl) where the wps-plus document
	is contained, while on the second machine, the value of the
	symbol shows the whole path of the document 
	(lb14:[manenti.allin1.doc1]zudvmsn82.wpl). Why?

	Many thanks in advance for your infos.

						Bye

						Graziella 
	 
	
T.RTitleUserPersonal
Name
DateLines
2730.1Shared Drawer ?!?VNABRW::EHRLICH_KThe Pit and the Pendulum!Wed May 19 1993 12:1512
    Graziella,
    
    	well I think the reason for OA$CURDOC_FILENAME displaying only 
    [.doc1]zupcj4fyk.wpl is that this document is in a drawer which is NOT
    Shared to other user.
    
    After a drawer gets a SHARED one, OA$CURDOC_FILENAME must contain the
    full directory-path for the FCS. 
    
    Best regards
    Charly_from_CSC_Vienna
    
2730.2drawers not sharedMLNTSC::MANENTIWed May 19 1993 13:4813
	Hi Charly,

	sorry but both drawers are not shared!
	I tried with two NEW users that have only the MAIN (private)
	drawer.
	Other ideas?
					Thanks a lot.

					Ciao

					Graziella

	
2730.3Default directory NES drawer directoryIOSG::MAURICENight rolls in, my dark companionWed May 19 1993 16:2113
    Hi,
    
    The document filename is expanded from a relative filename to a full
    filename if the user's current directory is not the drawer directory.
    When the context is the MAIN drawer normally the two directories are
    the same.
    
    If you want the relative filename, even if the wrong directory is
    current, you can get it from new (to V3) symbol oa$curdoc_daf_key.
    
    HTH
    
    Stuart
2730.4default directory = drawer directory47315::MANENTIThu May 20 1993 10:3622
	On the WP menu, with MAIN drawer selected, I do:
	<GET OA$CURDOC_FILENAME
	and it shows:
	a1disk:[allin1.mgr.doc2]zuqxenglp.wpl
	
	Same situation, same command, same user (MANAGER), same 
	ALL-IN-1 version, on another machine, the result is:
	
	[.doc1]zupcj4fyk.wpl

	In both cases, the user's current directory seems to be the
	drawer directory but the oa$curdoc_filename has different
	values.

	Have you other suggestions?

	Many thanks.

					Graziella

	

2730.5IOSG::MAURICENight rolls in, my dark companionThu May 20 1993 11:0911
    Is this effect actually causing any problems?
    
    Type:
    
    .if oa$profil_direct nes log$oa$curdwr_direct
      then "This is the reason"
      else "It's a mystery!"
    
    Cheers
    
    Stuart
2730.6drawer_iuidMLNTSC::MANENTIThu May 20 1993 18:0824
	Hi,
	after many investigations we find out the possible cause
	of the problem.
	There's an undocumented field, in the PARTITION.DAT, called 
	DRAWER_IUID that contains the device where the drawer is 
	located and the file identification number of the DOCDB.DAT 
	for the drawer.
	The OA$CURDOC_FILENAME includes the full filename also
	when the device specified in this field is not equal to
	that specified in the DIRECTORY partition field.
	To avoid misunderstanding, we think to substitute all 
	OA$CURDOC_FILENAME symbols in our applications with the 
	OA$CURDOC_DAF_KEY to get always the relative filename 
	value.
		

					Bye

					Graziella