1758066 Members
2652 Online
108867 Solutions
New Discussion

AUTOSYS mchine names

 
SKI_3
New Member

AUTOSYS mchine names

Hi Everyone,

Iam pretty new to autosys and
my requirement is that i want to pass the machine name for autosys as variable , is it possible . I tries assigning machine name to global variable but it does'nt work . also I would like to know , how to view the value of global variables .Thank a bunch in advance.
1 REPLY 1
spex
Honored Contributor

Re: AUTOSYS mchine names

SKI,

You need to export the variable to the environment:

# HOSTNAME=$(hostname) && export HOSTNAME

However, environmental variables do not persist across sessions. This means that $HOSTNAME will be unset if you end the session, or switch users.

# echo $HOSTNAME

to return the value of a variable.

PCS