BPXP015I after invoking sFTP under COZBATCH

A discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
Bernhard
Posts: 6
Joined: Thu Jun 14, 2018 6:32 am

BPXP015I after invoking sFTP under COZBATCH

Post by Bernhard » Thu Jun 14, 2018 6:51 am

Hello together,

I have written a REXX script for invoking the sFTP client under COZBATCH in TSO. This works quite pretty until I try after that to invoke a program which wants a programm controlled access to a dataset (PADS) in the same session.

If the CoZ load library is not program controlled I get a message about a dirty address space as expected:

ICH417I THE ENVIRONMENT IS NOT CONTROLLED. CONDITIONAL ACCESS LIST BYPASSED FOR DATA SET ...
...
ICH420I PROGRAM COZBATCH FROM LIBRARY COZ.V4R5M0.SCOZLOAD CAUSED THE ENVIRONMENT TO BECOME UNCONTROLLED.

If, however, the library is program controlled I encounter the same problem but with another message:

BPXP015I HFS PROGRAM /bin/tty IS NOT MARKED PROGRAM CONTROLLED.

Because this is a unix file delivered with the system (which would have to be updated every time of system installation and maybe upgrade) I want to ask whether anyone has experience marking it program controlled or has an idea how to circumvent this problem?

Thanks in advance
Bernhard

dovetail
Site Admin
Posts: 1850
Joined: Thu Jul 29, 2004 12:12 pm

Re: BPXP015I after invoking sFTP under COZBATCH

Post by dovetail » Mon Jun 18, 2018 11:11 am

Hi Bernhard,

Since you are an Enterprise support customer, please open a ticket with us.

Please attach the following to the ticket -

- your COZBATCH JCL + input script
- your REXX shell script
- your /etc/profile and $HOME/.profile if you have one
- Complete output / job log from the job

Post Reply