cozsftp does not appear to support all BPXWDYN options

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
D#H
Posts: 7
Joined: Mon Feb 22, 2016 4:00 pm

cozsftp does not appear to support all BPXWDYN options

Post by D#H »

In an attempt to determine root causes of dynamic allocation failures, we are attempting to use the BPXWDYN option MSG(WTP).
The Co:Z SFTP User's Guide states:
"The z/OS BPXWDYN service is used for dataset allocation....."
When we try the following command, the client returns:
cozsftp> lzopts="MSG=WTP"
[03.444]¨Invalid command.
CoZBatch: returning rc=exitcode=1
.................................................
Has anyone been able to been able to get the detailed failed dynamic allocation messages to be exposed back to the client?
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: cozsftp does not appear to support all BPXWDYN options

Post by dovetail »

The BPXWDYN allocation options supported by Co:Z SFTP are listed in this table:
https://dovetail.com/docs/sftp/options. ... ns_bpxwdyn

MSG(2) is always supplied by CO:Z SFTP on BPXWDYN commands, so any dynamic allocation messages are printed to STDERR.

- for the Co:Z SFTP client, this will be stderr which would normally appear in the user's job log.

- for the Co:Z SFTP server, stderr messages will go to the Co:Z SFTP server session log file.

- a remote client can get a copy of the current CO:Z SFTP server session log file by doing:

get /+error.log

Where is your sftp "client" and where is your sftp "server"?
D#H
Posts: 7
Joined: Mon Feb 22, 2016 4:00 pm

Re: cozsftp does not appear to support all BPXWDYN options

Post by D#H »

Greetings dovetail,
To answer your question, 'Where is your sftp "client" and where is your sftp "server"?':
Answer: The client is Linux OpenSSH client and the server is z/OS OpenSSH with the Co:Z extensions.
We also found that the server is posting the error.log to the following file system file:
/tmp/sftp-server.userid.julianday.gmttime.processid.log
Post Reply