| 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 | 
    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.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 71.1 | IS THIS WHAT YOU MEAN? | FDCV11::MADDEN | Mon May 23 1988 15:47 | 10 | |
|     CREATE A FEX WHICH SETS GLOBAL VARIABLES
    GLOBAL.FEX
    -SET &&BUSINESS='XXX'
    EXECUTE THE FEX 
    $ FOCUS
      EX GLOBAL
      EX MOD1 
    
      FIN
    $ EXIT
 | |||||
| 71.2 | need via vms | SHRBIZ::SKIEST | Wed May 25 1988 08:48 | 5 | |
|     Need to enter variable via menu or other means in VMS then transfer
    to focus, have no problem within focus.......
    
    Al
    
 | |||||
| 71.3 | some ideas... | MEMV03::COPPERSMITH | It's an allegory... | Fri May 27 1988 12:25 | 7 | 
|     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.
 | |||||