[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

2440.0. "Help modules with underscores not stored!" by MLNTSC::MANENTI () Fri Mar 19 1993 10:27

	Hi,
	I have a problem in CM subsystem of ALL-IN-1 3.0.
	Store Application (SA) procedure fails storing HELP modules
	which name contains underscores (ex. TEST_MENU).
	I found a topic (no. 1394) that describe the same problem but
	it's not clear for me, how to solve it.
	Any help or suggestions are more appreciated!
	Thanks in advance.
					Bye
					Graziella
	
T.RTitleUserPersonal
Name
DateLines
2440.1Double the underscores?IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeWed Mar 24 1993 13:275
    Don't you have to double the underscores in the help source file?
    That's one of the reasons why we try to use "$" to separate names in
    form fields, to avoid this problem.
    
    Graham
2440.2wrong example!MLNTSC::MANENTIThu Mar 25 1993 07:5810
    Sorry, I forgot an '_' in my example reported .0 (correct is
    TEST__MENU). Anyway the problem, as described in topic no. 1394, is
    in CM_GET_HLP script (invoked to store site elements) that does not
    intercepts .MEM files because the #CM_HLP_TYPE symbol that should be =
    MEM, when .MEM files are managed, is empty!
    Does anyone help me to solve this problem?
    Thanks a lot.
    
    Graziella
    
2440.3Use #CM_SRC_OUTPUTFRAIS::MSCHULZMichael SchulzThu Apr 01 1993 10:0534
As mentioned in note 1394 #CM_HLP_TYPE will not be set in script CM_GET_HLP.
The temporary name of help-module (xxx.RNO or xxx.MEM) is stored in 
#CM_SRC_OUTPUT. To get a correct value for #CM_HLP_TYPE insert the following 
line

GET #CM_HLP_TYPE = FN$REVERSE(FN$EXTRACT(FN$REVERSE(#CM_SRC_OUTPUT),1,3))

after line

.IF #CM_SRC_OUTPUT EQS "" THEN .EXIT

in script CM_GET_HLP.

In this way both parts of the help-module will be stored. I didn't test all
options, where CM_GET_HLP is used, but it seems to work without any problem.   

Another bug is, that the MEM-files will not be put to the formatted 
help-library, if You do a restore of the help-modules. They will be restored
to the source help-library only.
Since I couldn't locate this error yet, I suggest to do a little work-around
like this (after You've restored the help-modules):

 $LIB/EXTRACT=name__helpmodule/OUT=name__helpmodule.RNO name_of_source_helplib  
 $RUNOFF/OUT=name_helpmodule name__helpmodule
 $LIB/INSERT name_of_formatted_helplib name_helpmodule.MEM
 $DELETE name__helpmodule.RNO;*,name_helpmodule.MEM;* 


Hope this will help a little bit,
Michael



2440.4ThanksMLNTSC::MANENTIMon Apr 05 1993 10:406
    MANY MANY THANKS MICHAEL,
    for your help. I tried your workaround and it works fine!
    
    Bye
    
    Graziella