IVP initialization

All sample commands in this section require certain environment variables to be set. This way, the IVP scripts are available through the PATH statement and the location of the customized configuration files is known. Use the pwd and cd commands to verify and change your current directory to the directory with the customized configuration files. The ivpinit shell script can then be used to set the RSE environment variables, such as in the following sample, where $ is the z/OS® UNIX prompt:

$ pwd
/u/userid
$ cd /etc/zexpl
$ . ./ivpinit
-- RSE_CFG set to /etc/zexpl -- based on current location
-- RSE_HOME set to /usr/lpp/IBM/zexpl -- defined in $RSE_CFG/rse.env
-- added product $PATH to PATH
-- PATH=/etc/zexpl:/bin:/usr/lpp/java/J8.0/bin:/usr/lpp/IBM/zexpl/bin:/usr/lpp/i
spf/bin:/usr/lpp/IBM/zee/bin:/bin

The first period (.) in . ./ivpinit is a z/OS UNIX command to run the shell in the current environment, so that the environment variables set in the shell are effective even after exiting the shell. The second period (.) is referring to the current directory.

Note:
  • If . ./ivpinit is not executed before the felfivp* scripts, the path to these scripts must be specified when calling them, as in the following sample:
    /usr/lpp/IBM/zee/bin/felfivpc
    Also, if . ./ivpinit is not executed first, all felfivp* scripts ask for the location of the directory holding the customized configuration files.