We are trying to transfer a pds member from a dataset using the dataset's alias from COZBATCH. After a connection is made, the command and messages received are:
CoZBatch.N.: version: 4.2.0 2017-01-10
CoZBatch.N.: Copyright (C) Dovetailed Technologies, LLC. 2005-2017. All rights reserved.
CoZBatch.I.: executing progname=login-shell="-/bin/sh"
Connect using SSH defaults (keys)...
Executing: /usr/local/coz/bin/cozsftp -oConnectTimeout=60 -oServerAliveInterval=60 -oNumberOfPasswordPrompts=1
-oStrictHostKeyChecking=yes -oPort=2200 -b- 'ccoody@sp04ftp'
Co:Z SFTP version: 4.2.0 (6.4p1) 2017-01-10
Copyright (C) Dovetailed Technologies, LLC. 2008-2017. All rights reserved.
Connecting to sp04ftp...
Connected to sp04ftp.
Connection established, local_addr=172.26.250.13 local_port=4968 remote_addr=172.26.253.70 remote_port=2200
cozsftp> lzopts mode=text
mode=text
cozsftp> get //CCOODY.SP.PARMLIB(TEST) //W01.Q2.COZFTP.COZFTP1.COZFTP.DATASET1
.61.739. File "//CCOODY.SP.PARMLIB(TEST)" not found.
CoZBatch.I.: returning rc=exitcode=1
..........................................................................................
When the native dataset name is used, the file transfer is successful:
CoZBatch.N.: version: 4.2.0 2017-01-10
CoZBatch.N.: Copyright (C) Dovetailed Technologies, LLC. 2005-2017. All rights reserved.
CoZBatch.I.: executing progname=login-shell="-/bin/sh"
Connect using SSH defaults (keys)...
Executing: /usr/local/coz/bin/cozsftp -oConnectTimeout=60 -oServerAliveInterval=60 -oNumberOfPasswordPrompts=1
-oStrictHostKeyChecking=yes -oPort=2200 -b- 'ccoody@sp04ftp'
Co:Z SFTP version: 4.2.0 (6.4p1) 2017-01-10
Copyright (C) Dovetailed Technologies, LLC. 2008-2017. All rights reserved.
Connecting to sp04ftp...
Connected to sp04ftp.
Connection established, local_addr=172.26.250.13 local_port=4976 remote_addr=172.26.253.70 remote_port=2200
cozsftp> lzopts mode=text
mode=text
cozsftp> get //CCOODY.SP.PARMLIB.V1(TEST) //W01.Q2.COZFTP.COZFTP1.COZFTP.DATASET2
Fetching //CCOODY.SP.PARMLIB.V1(TEST) to //W01.Q2.COZFTP.COZFTP1.COZFTP.DATASET2
ZosSettings.I.: Transfer options: clientcp=IBM-1047,mode=text,servercp=IBM-1047,trim
ZosDataset.I.: Opening dataset W01.Q2.COZFTP.COZFTP1.COZFTP.DATASET2 for write with options: old
ZosDataset.I.: Closing dataset //W01.Q2.COZFTP.COZFTP1.COZFTP.DATASET2 - 80 bytes received, 1 records written
CoZBatch.I.: returning rc=exitcode=0
........................................................................................
We are trying to determine what we have specified incorrectly.
The listcat of the alias is as follows:
cozsftp> !tsocmd "listc entries('CCOODY.SP.PARMLIB') all"
listc entries('CCOODY.SP.PARMLIB') all
ALIAS --------- CCOODY.SP.PARMLIB
IN-CAT --- MVS.UCAT.TSO5
HISTORY
RELEASE----------------2 CREATION--------2017.272
ASSOCIATIONS
NONVSAM--CCOODY.SP.PARMLIB.V1
cozsftp>
.......................................................................................
Are there any clues from anyone, what we may be specifying incorrectly.
D#H
cozsftp and dataset name aliases
Re: cozsftp and dataset name aliases
I was able to reproduce this. I was surprised: I assumed that it worked and no one in ten years reported it. Go figure.
In any case, this is something that we will add to the fix list.
In any case, this is something that we will add to the fix list.
Re: cozsftp and dataset name aliases
Is there a target date for delivering a fix for this issue?