Menu Version

Scott Nelson scott at logicdatasystems.com
Thu Feb 28 15:48:24 PST 2008


Barry Wiseman wrote:
> Scott Nelson wrote:
>   
>> Nancy Palmquist wrote:
>>     
>>> Scott Nelson wrote:
>>>       
>>>> Kenneth Brody wrote:
>>>>         
>>>>> Quoting Scott Nelson (Thu, 28 Feb 2008 12:22:19 -0800):
>>>>>
>>>>>           
>>>>>> filePro 5.0.13 on SCO 5.07
>>>>>>
>>>>>> Define Menu help shows Menu Version can have an environmental variable
>>>>>> set to show in the Menu Version field when defining the Menu.  I 
>>>>>> have a
>>>>>> Main menu, and in one selection to call another menu, I am creating a
>>>>>> script file (F5) and setting the environment variable name in the
>>>>>> typical pattern: envar=name;export envar.
>>>>>>             
>>>>> What is the complete script being run that sets the variable?
>>>>>
>>>>>           
>>>> CONAME=LCHI;export CONAME
>>>> PFQUAL=LCHI;export PFQUAL
>>>> p LCacctm
>>>>
>>>>
>>>> In the 'Menu Version:' field on Define User Menu i have: $CONAME
>>>>
>>>>         
>>>>>> Then in the Menu Version
>>>>>> field, have tried $envar or %envar% and the value does not show, the
>>>>>> '$envar' is what shows.
>>>>>>             
>>>>> Define "does not show".
>>>>>
>>>>> What, exactly, is on the menu, and where?
>>>>>           
>>>> On the top right corner of the LCattm Menu it shows $CONAME
>>>>
>>>> The PFQUAL set works fine.
>>>>
>>>>         
>>>>>> What have I forgotten?
>>>>>>             
>>>> _______________________________________________
>>>> Filepro-list mailing list
>>>> Filepro-list at lists.celestial.com
>>>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>>>
>>>>
>>>>         
>>> On WINDOWS and UNIX, the crazy thing is like this:
>>> Enter the variable with % signs like on Windows.
>>>
>>> Menu Version: %MOSV%
>>>
>>> if you did:
>>>
>>> MOSV="12345" ; export MOSV
>>>
>>> it would display 12345
>>>
>>> ON windows, set MOSV=12345
>>>
>>> Not sure why but I could guess.
>>>
>>> Nancy
>>>       
>> Nancy,
>>
>> I tried that and the menu still runs as %CONAM% , which is the env var I 
>> am setting.
>>
>> Scott
>>
>>     
>
> Works for me here.
>
> foo="12345"; export foo
>
> and in the "Menu version" field I have
>
> 	%foo%
>
> Running the menu displays 12345.  This is 5.0.14 on linux, so who knows?
>
> Little sanity check: try adding a choice to the menu that executes
>
> 	@echo $CONAM
>
> what do you get?
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>   

Turns out my runmenu is the wrong version.  There were 'issues' with 
loading 5.0.13, and the IT staff loaded only parts of it.

Scott








More information about the Filepro-list mailing list