Examples
*Example 1: Add an Environment Variable with CCSID 37*
ADDENVVAR ENVVAR(altdir) VALUE('/mydir/dir2') CCSID(37)
This command adds the environment variable named altdir with the value
/mydir/dir2 to the environment variables for the job. The value 37 is
stored with the environment variable to indicate its CCSID.
*Example 2: Set an Environment Variable to Null*
ADDENVVAR ENVVAR(LIBPATH) VALUE(*NULL)
This command adds the environment variable named LIBPATH with the null
(x'00) character value to the environment variables for the job.
*Example 3: Add a System-level Environment Variable*
ADDENVVAR ENVVAR(homedir) VALUE('/home') LEVEL(*SYS)
This command adds a system-level environment variable named homedir with
value /home.
*Example 4: Reset a Job-level Environment Variable*
ADDENVVAR ENVVAR(altdir) VALUE('/mydir/dir3') REPLACE(*YES)
This command replaces the existing value of the variable altdir with the
new value of /mydir/dir3.
El 5 de marzo de 2014, 17:48, Carlos C. <[email protected]> escribió:
>
> Buenas Foreros
>
> Queria hacerles una consulta respecto al comando ADDENVVAR para enviar o
> capturar archivos con SFTP.
>
> Saludos
>
>
> Carlos Pedrozo
>
> ____________________________________________________
> Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
> Forum.Help400 (c) Publicaciones Help400, S.L.
>
--
*Jorge Arturo Pèrez Osorio.*
.
"There are 10 types of people in the world.
Those who understand binary, and those who don't."
____________________________________________________
Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.