AppWorx, Dollar Universe and Sysload Community

Expand all | Collapse all

How to get context enviroment variables from do dollar Universe in a linux script

  • 1.  How to get context enviroment variables from do dollar Universe in a linux script

    Posted Oct 20, 2018 09:11 AM

    HI all

     

    I have a uproc  called "u_00"  that have an internal linux script, and when this uproc is running,  i will like to get some context enviroment variables from do dollar Universe.

     

    examples:

    Get the current uproc name ? in this case is  "u_00" .

    Get order number of current Uproc ?

    Get launch number ?

    Get the current session name ?

    Get  the current session number ? 

    Get the current launch number ?

     

    and used them as script  variables.

     

    Thanks in advance 



  • 2.  Re: How to get context enviroment variables from do dollar Universe in a linux script

    Posted Oct 29, 2018 09:59 AM

    Hello,

     

    Below you will find the variables you're looking for:

     

    session = $S_CODSESS

    session number =$S_NUMSESS

    uproc =$S_PROCEXE

    uproc number =$S_NUMPROC

    MU = $S_CODUG