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

Conference ilbbak::ibi_focus

Title:FOCUS, from INFORMATION BUILDERS
Moderator:ZAYIUS::BROUILLETTE
Created:Thu Feb 19 1987
Last Modified:Mon May 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:615
Total number of notes:1779

71.0. "Vms and Global Variable challenge" by SHRBIZ::SKIEST () Wed May 18 1988 14:03

    How can I enter my Global variable &&Business to my focexe's (have
    20 modules that use the same global variable) so that I can have
    my users submit the batch stream and include the new variable when
    they submit the stream in VMS
    
    Help a new focus user...............
    
    
    Al
    
    237-2890 in Shrewsbury
    
T.RTitleUserPersonal
Name
DateLines
71.1IS THIS WHAT YOU MEAN?FDCV11::MADDENMon May 23 1988 16:4710
    CREATE A FEX WHICH SETS GLOBAL VARIABLES
    GLOBAL.FEX
    -SET &&BUSINESS='XXX'
    EXECUTE THE FEX 
    $ FOCUS
      EX GLOBAL
      EX MOD1 
    
      FIN
    $ EXIT
71.2need via vmsSHRBIZ::SKIESTWed May 25 1988 09:485
    Need to enter variable via menu or other means in VMS then transfer
    to focus, have no problem within focus.......
    
    Al
    
71.3some ideas...MEMV03::COPPERSMITHIt's an allegory...Fri May 27 1988 13:257
    To get info from VMS to FOCUS, set symbol or logical in VMS and
    recover in FOCUS using a user written subroutine that calls the
    appropriate rtl routine.  To go the other direction, set a logical
    in the job table, or use a rtl subroutine to set a symbol at the
    current process level.  Or write a file and read it in.  But focus
    can get out of synch with vms i/o without a means of trapping.
    Discussion available at 232 2246.