I have added the library in RACF:
RALT PROGRAM *** ADDMEM('SYS1.SYSTEM.LINKLIB'//NOPADCHK)
and
SETROPTS WHEN (PROGRAM ) REFRESH
The SYS1.SYSTEM.LINKLIB library is APF authorized
The sample job abnormally ends with:
ICH420I PROGRAM COZLNCH FROM LIBRARY SYS1.SYSTEM.LINKLIB CAUSED THE ENVIRONMENT TO BECOME UNCONTROLLED.
BPXP014I ENVIRONMENT MUST BE CONTROLLED FOR DAEMON (BPX.DAEMON) PROCESSING.
The sample jcl included this:
//COZCFG DD *
ssh-options=-oStrictHostKeyChecking=no
server-env-PASSWD_DSN=//myid.PASSWD(SITE1)
server-env-SSH_ASKPASS=/usr/lpp/coz/bin/read_passwd_dsn.sh
server-env-DISPLAY=none
//STDIN DD *
uname -a
env
//
Does COZLNCH have to be linked with AC=1 ?
COZLNCH and BPXP014I
COZLNCH does not need to run APF authorized, it does not need BPX.DAEMON authority and doesn't need to run program controlled.
So, these messages are curious. You would expect to see BPXP014I or BPXP015I if you tried to run a (user) program under the COZLNCH address which required BPX.DAEMON, but that shouldn't be the case with the sample.
Did you see these messages before you program-controlled your library or after (or both?)
Did you get any related messages in the system log (BPXP015I, etc)?
If not, please rerun with tracing enabled and email your entire job log to info@dovetail.com and we will take a look.
To enable tracing:
//COZLG1 JOB (),'COZ'
//STEP1 EXEC PROC=COZPROC,
// ARGS='-LD,t myuid@linux1.myco.com'
//COZCFG DD *
agent-options=-LD,t
ssh-options=-oStrictHostKeyChecking=no
server-env-PASSWD_DSN=//myid.PASSWD(SITE1)
server-env-SSH_ASKPASS=/usr/lpp/coz/bin/read_passwd_dsn.sh
server-env-DISPLAY=none
//STDIN DD *
uname -a
env
//
So, these messages are curious. You would expect to see BPXP014I or BPXP015I if you tried to run a (user) program under the COZLNCH address which required BPX.DAEMON, but that shouldn't be the case with the sample.
Did you see these messages before you program-controlled your library or after (or both?)
Did you get any related messages in the system log (BPXP015I, etc)?
If not, please rerun with tracing enabled and email your entire job log to info@dovetail.com and we will take a look.
To enable tracing:
//COZLG1 JOB (),'COZ'
//STEP1 EXEC PROC=COZPROC,
// ARGS='-LD,t myuid@linux1.myco.com'
//COZCFG DD *
agent-options=-LD,t
ssh-options=-oStrictHostKeyChecking=no
server-env-PASSWD_DSN=//myid.PASSWD(SITE1)
server-env-SSH_ASKPASS=/usr/lpp/coz/bin/read_passwd_dsn.sh
server-env-DISPLAY=none
//STDIN DD *
uname -a
env
//