can not GET any file from mainframe z/OS 2.2/co:Z 5.1.1

A discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
bruce.lightsey
Posts: 4
Joined: Fri Jun 19, 2020 4:33 pm

can not GET any file from mainframe z/OS 2.2/co:Z 5.1.1

Post by bruce.lightsey » Mon Jun 22, 2020 10:08 am

We have recently migrated to z/OS 2.2 on our z114 and installed Co:Z 5.1.1 there to replace the older version. Now, we can put and get files to USS but we can only put datasets to z/OS.
When I do "ls -l" I see things like this :
MVSMCA 2020/06/19 1 2 2 VBA 240 3120 PS CCTSD02.TRIM.TXT

which I expect to see. But when I do a get on this dataset, I get :

sftp> get trim.txt
Fetching /-/CCTSD02/trim.txt to trim.txt
remote open("/-/CCTSD02/trim.txt"): No such file or directory.

Or, if I put a txt file to z/OS then try to get it I see :

sftp> put trmv841.readme.txt
Uploading trmv841.readme.txt to /-/CCTSD02/trmv841.readme.txt
trmv841.readme.txt 100% 3709 153.0KB/s 00:00

sftp> get trmv841.readme.txt
Fetching /-/CCTSD02/trmv841.readme.txt/ to
Cannot download non-regular file: /-/CCTSD02/trmv841.readme.txt/


My RACF ID is CCTSD02 so that part is correct. What have I left un-done that makes this squirreliness happen ?

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

Re: can not GET any file from mainframe z/OS 2.2/co:Z 5.1.1

Post by dovetail » Wed Jun 24, 2020 5:08 pm

The failure is happening on the Co:Z SFTP Server (on z/OS).

Unfortunately, details on errors don't show on the sftp client (since this isn't part of the standard protocol), so you will need to look at the Co:Z SFTP Server log file on z/OS to see what the problem is.

You can get it in one of two ways:

- on z/OS by default these logs are kept in: /tmp/sftp-server.<userid>.<timestamp>.<pid>.log

- from the client, you can download the current log file (after the error occurs):

sftp> get /+error.log errors.txt

bruce.lightsey
Posts: 4
Joined: Fri Jun 19, 2020 4:33 pm

Re: can not GET any file from mainframe z/OS 2.2/co:Z 5.1.1

Post by bruce.lightsey » Thu Jun 25, 2020 7:45 am

That didn't tell me anything that I would say is useful :

Co:Z SFTP Server version: 5.1.1 (6.4p1) 2018-06-01
Copyright (C) Dovetailed Technologies, LLC. 2008-2018. All rights reserved.
[26.667] session opened for local user CCTSD02 from [10.12.209.153]
Connection established, local_addr=10.12.8.9 local_port=22 remote_addr=10.12.209.153 remote_port=64156
[34.298] opendir "/-/CCTSD02"
[34.489] closedir "/-/CCTSD02"
[43.905] open "/-/CCTSD02/trim.txt" flags READ mode 0666
ZosSettings: Transfer options: clientcp=ISO8859-1,mode=text,servercp=IBM-1047,trim
[43.911] sent status No such file
[51.444] open "/+error.log" flags READ mode 0666
ZosSettings: Transfer options: clientcp=ISO8859-1,mode=text,servercp=IBM-1047,trim

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

Re: can not GET any file from mainframe z/OS 2.2/co:Z 5.1.1

Post by dovetail » Thu Jun 25, 2020 9:24 am

Hi,

I'm sorry, but it isn't clear from the log what is going wrong in this case.

1) What sftp client software are you using?

2) Try this to get more log detail:

sftp> ls /+loglevel=T
sftp> get trim.txt
sftp> get /+error.log trace.txt

bruce.lightsey
Posts: 4
Joined: Fri Jun 19, 2020 4:33 pm

Re: can not GET any file from mainframe z/OS 2.2/co:Z 5.1.1

Post by bruce.lightsey » Thu Jun 25, 2020 11:26 am

Using the Windows 10 command window for this testing example but I get the same result with filezilla and with the linux line commands from a RHEL v7 server.

Co:Z SFTP Server version: 5.1.1 (6.4p1) 2018-06-01
Copyright (C) Dovetailed Technologies, LLC. 2008-2018. All rights reserved.
[60.423] session opened for local user CCTSD02 from [10.12.209.153]
Connection established, local_addr=10.12.8.9 local_port=22 remote_addr=10.12.209.153 remote_port=52767
CatalogSearch[D]: filterKey="CCTSD02.TRIM.TXT"
CatalogSearch[T]: -> search()
CatalogSearch[T]: search: types=ABCGHRX total_length=1024, min_required=0, used=50, num_fields_plus_one=7, resume=
CatalogSearch[T]: <- search()
CatalogSearch[D]: filterKey="CCTSD02.TRIM.TXT.**"
CatalogSearch[T]: -> search()
CatalogSearch[T]: search: types=ABCGHRX total_length=1024, min_required=0, used=197, num_fields_plus_one=7, resume=
CatalogSearch[T]: <- search()
ZosExitInterface[T]: -> checkChangeDir(/-/CCTSD02.TRIM.TXT)
ZosExitInterface[T]: <- checkChangeDir(true (module not available))
ZosExitInterface[T]: -> checkChangeDir(/-/CCTSD02.TRIM.TXT)
ZosExitInterface[T]: <- checkChangeDir(true (module not available))
[38.731] open "/+error.log" flags READ mode 0666
ZosExitInterface[T]: -> checkCommandWithFileArg(RETR /+error.log)
ZosExitInterface[T]: <- checkCommandWithFileArg(true (module not available))
ZosSettings[D]: [//-JES.*.ALL,ANY,S] does not match ['/+error.log',GET]
ZosSettings[D]: Options in effect (no file pattern selected)
ZosSettings: Transfer options: clientcp=ISO8859-1,mode=text,servercp=IBM-1047,trim
PosixFile[T]: -> setTextMode(IBM-1047, ISO8859-1, , )
PosixFile[T]: <- setTextMode()
PosixFile[T]: -> open("/tmp/sftp-server.cctsd02.177.161740.2109.log", 0x0002, 0x01B6)
PosixFile[T]: -> configureTranslator(isWrite=false, fileCodePage=IBM-1047, streamCodePage=ISO8859-1, technique=)
PosixFile[T]: <- configureTranslator()
PosixFile[T]: open: fileNlChar=x15 streamNlChar=x0a streamLineSep=x0a000000
PosixFile[T]: open: translator with table
PosixFile[T]: <- open(fd=4, filename=/SYSTEM/tmp/sftp-server.cctsd02.177.161740.2109.log, mode=3, errno=0)

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

Re: can not GET any file from mainframe z/OS 2.2/co:Z 5.1.1

Post by dovetail » Thu Jun 25, 2020 12:48 pm

This log shows that IGGCSI00 (catalog search) is not finding entry 'CCTSD02.TRIM.TXT'.

Is there something wierd in you catalog(s) or alias? Connected to the wrong system?

Try these from TSO:

listc ent('CCTSD02') all

listc ent('CCTSD02.TRIM.TXT') all

And this might provide more info:

sftp> ls /+loglevel=T.CatalogSearch=F
sftp> cd /-/CCTSD02
sftp> ls -al
sftp> get trim.txt /tmp/junk

bruce.lightsey
Posts: 4
Joined: Fri Jun 19, 2020 4:33 pm

Re: can not GET any file from mainframe z/OS 2.2/co:Z 5.1.1

Post by bruce.lightsey » Thu Jun 25, 2020 2:15 pm

ALIAS --------- CCTSD02
IN-CAT --- CATALOG.VMVSMCA
HISTORY
RELEASE----------------2 CREATION--------2017.095
ENCRYPTIONDATA
DATA SET ENCRYPTION-----(NO)
ASSOCIATIONS
USERCAT--CATALOG.VSYS023
***

NONVSAM ------- CCTSD02.TRIM.TXT
IN-CAT --- CATALOG.VSYS023
HISTORY
DATASET-OWNER-----(NULL) CREATION--------2020.164
RELEASE----------------2 EXPIRATION------0000.000
ENCRYPTIONDATA
DATA SET ENCRYPTION-----(NO)
VOLUMES
VOLSER------------MVSMCA DEVTYPE------X'3010200F' FSEQN---------
---------0
ASSOCIATIONS--------(NULL)
ATTRIBUTES
***

Co:Z SFTP Server version: 5.1.1 (6.4p1) 2018-06-01
Copyright (C) Dovetailed Technologies, LLC. 2008-2018. All rights reserved.
[02.964] session opened for local user CCTSD02 from [10.12.209.153]
Connection established, local_addr=10.12.8.9 local_port=22 remote_addr=10.12.209.153 remote_port=62935
CatalogSearch[F]: -> DatasetInfo::getDatasetInfo(CCTSD02, exact_match=1)
CatalogSearch[F]: -> CatalogSearch()
CatalogSearch[D]: filterKey="CCTSD02"
CatalogSearch[F]: <- CatalogSearch(wa_size=1024, USE_COMPRESS_FIELDS=Y, USE_DATASET_ALIASES=Y)
CatalogSearch[T]: -> search()
CatalogSearch[T]: search: types=ABCGHRX total_length=1024, min_required=0, used=182, num_fields_plus_one=7, resume=
CatalogSearch[T]: <- search()
CatalogSearch[F]: DatasetInfo::getDatasetInfo: CCTSD02 not found in catalog
CatalogSearch[F]: -> ~CatalogSearch()
CatalogSearch[F]: <- ~CatalogSearch()
CatalogSearch[F]: <- DatasetInfo::getDatasetInfo()
ZosUtil[T]: Skipping getDatasetInfo for CCTSD02, setting pPerm to S_IFDIR
CatalogSearch[F]: -> DatasetInfo::getDatasetInfo(CCTSD02, exact_match=1)
CatalogSearch[F]: -> CatalogSearch()
CatalogSearch[D]: filterKey="CCTSD02"
CatalogSearch[F]: <- CatalogSearch(wa_size=1024, USE_COMPRESS_FIELDS=Y, USE_DATASET_ALIASES=Y)
CatalogSearch[T]: -> search()
CatalogSearch[T]: search: types=ABCGHRX total_length=1024, min_required=0, used=182, num_fields_plus_one=7, resume=
CatalogSearch[T]: <- search()
CatalogSearch[F]: DatasetInfo::getDatasetInfo: CCTSD02 not found in catalog
CatalogSearch[F]: -> ~CatalogSearch()
CatalogSearch[F]: <- ~CatalogSearch()
CatalogSearch[F]: <- DatasetInfo::getDatasetInfo()
ZosUtil[T]: Skipping getDatasetInfo for CCTSD02, setting pPerm to S_IFDIR
ZosExitInterface[T]: -> checkChangeDir(/-/CCTSD02)
ZosExitInterface[T]: <- checkChangeDir(true (module not available))
[76.658] opendir "/-/CCTSD02"
ZosExitInterface[T]: -> checkCommandWithFileArg(LIST /-/CCTSD02)
ZosExitInterface[T]: <- checkCommandWithFileArg(true (module not available))
ZosDir[T]: -> open(CCTSD02)
CatalogSearch[F]: -> DatasetInfo::getDatasetInfo(CCTSD02, exact_match=1)
CatalogSearch[F]: -> CatalogSearch()
CatalogSearch[D]: filterKey="CCTSD02"
CatalogSearch[F]: <- CatalogSearch(wa_size=1024, USE_COMPRESS_FIELDS=Y, USE_DATASET_ALIASES=Y)
CatalogSearch[T]: -> search()
CatalogSearch[T]: search: types=ABCGHRX total_length=1024, min_required=0, used=182, num_fields_plus_one=7, resume=
CatalogSearch[T]: <- search()
CatalogSearch[F]: DatasetInfo::getDatasetInfo: CCTSD02 not found in catalog
CatalogSearch[F]: -> ~CatalogSearch()
CatalogSearch[F]: <- ~CatalogSearch()
CatalogSearch[F]: <- DatasetInfo::getDatasetInfo()
CatalogSearch[F]: -> CatalogSearch()
CatalogSearch[D]: filterKey="CCTSD02.**"
CatalogSearch[F]: <- CatalogSearch(wa_size=65536, USE_COMPRESS_FIELDS=Y, USE_DATASET_ALIASES=Y)
CatalogSearch[T]: -> search()
CatalogSearch[T]: search: types=ABCGHRX total_length=65536, min_required=0, used=2055, num_fields_plus_one=7, resume=
CatalogSearch[T]: <- search()
ZosDir[T]: <- open(true)
ZosDir[T]: -> readCatalogDir()
ZosDir[T]: <- readCatalogDir(0 '.zos_catalog')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.CPU1.ISPPROF"
CatalogSearch[F]: dsn=CCTSD02.CPU1.ISPPROF vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.CPU1.ISPPROF, vol=SMS054, volcount=1, estblks=88, extents=1, trksalloc=15, trksused=11, blksize=6160, blksPerTrk=8
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="CPU1.ISPPROF", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.CPU1.ISPPROF"
CatalogSearch[F]: dsn=CCTSD02.CPU1.ISPPROF vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.CPU1.ISPPROF, vol=SMS054, volcount=1, estblks=88, extents=1, trksalloc=15, trksused=11, blksize=6160, blksPerTrk=8
CatalogSearch[F]: <- getDatasetInfo()
ZosDir[T]: <- readCatalogDir(0 'CPU1.ISPPROF')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.CPU1.SPFLOG2.LIST"
CatalogSearch[F]: dsn=CCTSD02.CPU1.SPFLOG2.LIST vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.CPU1.SPFLOG2.LIST, vol=SMS302, volcount=1, estblks=72, extents=1, trksalloc=9, trksused=1, blksize=129, blksPerTrk=72
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="CPU1.SPFLOG2.LIST", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.CPU1.SPFLOG2.LIST"
CatalogSearch[F]: dsn=CCTSD02.CPU1.SPFLOG2.LIST vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.CPU1.SPFLOG2.LIST, vol=SMS302, volcount=1, estblks=72, extents=1, trksalloc=9, trksused=1, blksize=129, blksPerTrk=72
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount(0)
ZosDir[T]: <- readCatalogDir(0 'CPU1.SPFLOG2.LIST')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.CPU2.SPUFI.OUT"
CatalogSearch[F]: dsn=CCTSD02.CPU2.SPUFI.OUT vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.CPU2.SPUFI.OUT, vol=MAV115, volcount=1, estblks=24, extents=1, trksalloc=6, trksused=2, blksize=4096, blksPerTrk=12
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="CPU2.SPUFI.OUT", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.CPU2.SPUFI.OUT"
CatalogSearch[F]: dsn=CCTSD02.CPU2.SPUFI.OUT vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.CPU2.SPUFI.OUT, vol=MAV115, volcount=1, estblks=24, extents=1, trksalloc=6, trksused=2, blksize=4096, blksPerTrk=12
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount(0)
ZosDir[T]: <- readCatalogDir(0 'CPU2.SPUFI.OUT')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.CPU3.ISPPROF"
CatalogSearch[F]: dsn=CCTSD02.CPU3.ISPPROF vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.CPU3.ISPPROF, vol=SMS094, volcount=1, estblks=32, extents=1, trksalloc=15, trksused=4, blksize=6160, blksPerTrk=8
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="CPU3.ISPPROF", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.CPU3.ISPPROF"
CatalogSearch[F]: dsn=CCTSD02.CPU3.ISPPROF vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.CPU3.ISPPROF, vol=SMS094, volcount=1, estblks=32, extents=1, trksalloc=15, trksused=4, blksize=6160, blksPerTrk=8
CatalogSearch[F]: <- getDatasetInfo()
ZosDir[T]: <- readCatalogDir(0 'CPU3.ISPPROF')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.CPU4.ISPPROF"
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="CPU4.ISPPROF", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.CPU4.ISPPROF"
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount()
ZosDir[T]: <- readCatalogDir(0 'CPU4.ISPPROF')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISPF.ISPPROF"
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="ISPF.ISPPROF", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISPF.ISPPROF"
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount()
ZosDir[T]: <- readCatalogDir(0 'ISPF.ISPPROF')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISPFDHS.ISPPROF"
CatalogSearch[F]: dsn=CCTSD02.ISPFDHS.ISPPROF vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.ISPFDHS.ISPPROF, vol=SMS663, volcount=1, estblks=40, extents=1, trksalloc=5, trksused=5, blksize=6160, blksPerTrk=8
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="ISPFDHS.ISPPROF", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISPFDHS.ISPPROF"
CatalogSearch[F]: dsn=CCTSD02.ISPFDHS.ISPPROF vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.ISPFDHS.ISPPROF, vol=SMS663, volcount=1, estblks=40, extents=1, trksalloc=5, trksused=5, blksize=6160, blksPerTrk=8
CatalogSearch[F]: <- getDatasetInfo()
ZosDir[T]: <- readCatalogDir(0 'ISPFDHS.ISPPROF')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISPWRK1.DATA"
CatalogSearch[F]: dsn=CCTSD02.ISPWRK1.DATA vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.ISPWRK1.DATA, vol=SMS301, volcount=1, estblks=0, extents=1, trksalloc=3, trksused=0, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="ISPWRK1.DATA", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISPWRK1.DATA"
CatalogSearch[F]: dsn=CCTSD02.ISPWRK1.DATA vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.ISPWRK1.DATA, vol=SMS301, volcount=1, estblks=0, extents=1, trksalloc=3, trksused=0, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount(0)
ZosDir[T]: <- readCatalogDir(0 'ISPWRK1.DATA')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISPWRK3.DATA"
CatalogSearch[F]: dsn=CCTSD02.ISPWRK3.DATA vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.ISPWRK3.DATA, vol=MVSMCA, volcount=1, estblks=0, extents=1, trksalloc=2, trksused=0, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="ISPWRK3.DATA", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISPWRK3.DATA"
CatalogSearch[F]: dsn=CCTSD02.ISPWRK3.DATA vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.ISPWRK3.DATA, vol=MVSMCA, volcount=1, estblks=0, extents=1, trksalloc=2, trksused=0, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount(0)
ZosDir[T]: <- readCatalogDir(0 'ISPWRK3.DATA')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISPWRK4.DATA"
CatalogSearch[F]: dsn=CCTSD02.ISPWRK4.DATA vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.ISPWRK4.DATA, vol=MVSMCA, volcount=1, estblks=0, extents=1, trksalloc=2, trksused=0, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="ISPWRK4.DATA", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISPWRK4.DATA"
CatalogSearch[F]: dsn=CCTSD02.ISPWRK4.DATA vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.ISPWRK4.DATA, vol=MVSMCA, volcount=1, estblks=0, extents=1, trksalloc=2, trksused=0, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount(0)
ZosDir[T]: <- readCatalogDir(0 'ISPWRK4.DATA')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISP01885.SPFLOG1.LIST"
CatalogSearch[F]: dsn=CCTSD02.ISP01885.SPFLOG1.LIST vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.ISP01885.SPFLOG1.LIST, vol=SMS641, volcount=1, estblks=144, extents=1, trksalloc=2, trksused=2, blksize=129, blksPerTrk=72
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="ISP01885.SPFLOG1.LIST", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.ISP01885.SPFLOG1.LIST"
CatalogSearch[F]: dsn=CCTSD02.ISP01885.SPFLOG1.LIST vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.ISP01885.SPFLOG1.LIST, vol=SMS641, volcount=1, estblks=144, extents=1, trksalloc=2, trksused=2, blksize=129, blksPerTrk=72
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount(0)
ZosDir[T]: <- readCatalogDir(0 'ISP01885.SPFLOG1.LIST')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.NATURAL.TSO.EDITWORK"
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="NATURAL.TSO.EDITWORK", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.NATURAL.TSO.EDITWORK"
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount()
ZosDir[T]: <- readCatalogDir(0 'NATURAL.TSO.EDITWORK')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.NATURAL.TSO.EDITWORK.DATA"
CatalogSearch[F]: dsn=CCTSD02.NATURAL.TSO.EDITWORK.DATA vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="NATURAL.TSO.EDITWORK.DATA", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.NATURAL.TSO.EDITWORK.DATA"
CatalogSearch[F]: dsn=CCTSD02.NATURAL.TSO.EDITWORK.DATA vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount()
ZosDir[T]: <- readCatalogDir(0 'NATURAL.TSO.EDITWORK.DATA')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.PANELS"
CatalogSearch[F]: dsn=CCTSD02.PANELS vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.PANELS, vol=STOR11, volcount=1, estblks=8, extents=1, trksalloc=225, trksused=1, blksize=6144, blksPerTrk=8
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="PANELS", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.PANELS"
CatalogSearch[F]: dsn=CCTSD02.PANELS vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.PANELS, vol=STOR11, volcount=1, estblks=8, extents=1, trksalloc=225, trksused=1, blksize=6144, blksPerTrk=8
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount(48)
ZosDir[T]: <- readCatalogDir(0 'PANELS')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.REXX.CNTL"
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="REXX.CNTL", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.REXX.CNTL"
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount()
ZosDir[T]: <- readCatalogDir(0 'REXX.CNTL')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.REXX.EXEC"
CatalogSearch[F]: dsn=CCTSD02.REXX.EXEC vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.REXX.EXEC, vol=ML1003, volcount=1, estblks=28, extents=7, trksalloc=14, trksused=14, blksize=27920, blksPerTrk=2
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="REXX.EXEC", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.REXX.EXEC"
CatalogSearch[F]: dsn=CCTSD02.REXX.EXEC vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.REXX.EXEC, vol=ML1003, volcount=1, estblks=28, extents=7, trksalloc=14, trksused=14, blksize=27920, blksPerTrk=2
CatalogSearch[F]: <- getDatasetInfo()
ZosDir[T]: <- readCatalogDir(0 'REXX.EXEC')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.SOURCE.PDS"
CatalogSearch[F]: dsn=CCTSD02.SOURCE.PDS vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.SOURCE.PDS, vol=DSK854, volcount=1, estblks=1455, extents=1, trksalloc=105, trksused=97, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="SOURCE.PDS", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.SOURCE.PDS"
CatalogSearch[F]: dsn=CCTSD02.SOURCE.PDS vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.SOURCE.PDS, vol=DSK854, volcount=1, estblks=1455, extents=1, trksalloc=105, trksused=97, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
ZosDir[T]: <- readCatalogDir(0 'SOURCE.PDS')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.SOURCE.PDS2"
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="SOURCE.PDS2", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.SOURCE.PDS2"
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount()
ZosDir[T]: <- readCatalogDir(0 'SOURCE.PDS2')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.TAPETEST.TEST2"
CatalogSearch[F]: dsn=CCTSD02.TAPETEST.TEST2 vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="TAPETEST.TEST2", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.TAPETEST.TEST2"
CatalogSearch[F]: dsn=CCTSD02.TAPETEST.TEST2 vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount()
ZosDir[T]: <- readCatalogDir(0 'TAPETEST.TEST2')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.TRIM.TXT"
CatalogSearch[F]: dsn=CCTSD02.TRIM.TXT vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.TRIM.TXT, vol=MVSMCA, volcount=1, estblks=30, extents=1, trksalloc=2, trksused=2, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="TRIM.TXT", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.TRIM.TXT"
CatalogSearch[F]: dsn=CCTSD02.TRIM.TXT vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.TRIM.TXT, vol=MVSMCA, volcount=1, estblks=30, extents=1, trksalloc=2, trksused=2, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: -> getEstimatedSeparatorCount()
CatalogSearch[F]: <- getEstimatedSeparatorCount(0)
ZosDir[T]: <- readCatalogDir(0 'TRIM.TXT')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.WLM.STUFF"
CatalogSearch[F]: dsn=CCTSD02.WLM.STUFF vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.WLM.STUFF, vol=STOR10, volcount=1, estblks=60, extents=1, trksalloc=50, trksused=4, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
CatalogSearch[F]: entry name="WLM.STUFF", prefix_len=8
CatalogSearch[F]: -> getDatasetInfo()
CatalogSearch[F]: entry name="CCTSD02.WLM.STUFF"
CatalogSearch[F]: dsn=CCTSD02.WLM.STUFF vvrnflgs=0xffff compind=0x00 udatasiz=18446744073709551615
CatalogSearch[F]: dsn=CCTSD02.WLM.STUFF, vol=STOR10, volcount=1, estblks=60, extents=1, trksalloc=50, trksused=4, blksize=3120, blksPerTrk=15
CatalogSearch[F]: <- getDatasetInfo()
ZosDir[T]: <- readCatalogDir(0 'WLM.STUFF')
ZosDir[T]: -> readCatalogDir()
CatalogSearch[F]: -> ~CatalogSearch()
CatalogSearch[F]: <- ~CatalogSearch()
ZosDir[T]: <- readCatalogDir(-1 '')
[76.879] closedir "/-/CCTSD02"
ZosExitInterface[T]: -> checkCommandWithFileArg(LIST /-/CCTSD02.TRIM.TXT)
ZosExitInterface[T]: <- checkCommandWithFileArg(true (module not available))
ZosExitInterface[T]: -> checkCommandWithFileArg(LIST /-/CCTSD02.TRIM.TXT)
ZosExitInterface[T]: <- checkCommandWithFileArg(true (module not available))
[33.673] open "/-/CCTSD02/trim.txt" flags READ mode 0666
ZosExitInterface[T]: -> checkCommandWithFileArg(RETR /-/CCTSD02/trim.txt)
ZosExitInterface[T]: <- checkCommandWithFileArg(true (module not available))
ZosDataset[T]: -> open("/-/CCTSD02/trim.txt", 0x0002, 0x01B6)
CatalogSearch[F]: -> DatasetInfo::getDatasetInfo(CCTSD02.TRIM.TXT, exact_match=1)
CatalogSearch[F]: -> CatalogSearch()
CatalogSearch[D]: filterKey="CCTSD02.TRIM.TXT"
CatalogSearch[F]: <- CatalogSearch(wa_size=1024, USE_COMPRESS_FIELDS=Y, USE_DATASET_ALIASES=Y)
CatalogSearch[T]: -> search()
CatalogSearch[T]: search: types=ABCGHRX total_length=1024, min_required=0, used=50, num_fields_plus_one=7, resume=
CatalogSearch[T]: <- search()
CatalogSearch[F]: DatasetInfo::getDatasetInfo: CCTSD02.TRIM.TXT not found in catalog
CatalogSearch[F]: -> ~CatalogSearch()
CatalogSearch[F]: <- ~CatalogSearch()
CatalogSearch[F]: <- DatasetInfo::getDatasetInfo()
ZosSettings[D]: [//-JES.*.ALL,ANY,S] does not match ['//CCTSD02.TRIM.TXT',GET]
ZosSettings[D]: Options in effect (no file pattern selected)
ZosSettings: Transfer options: clientcp=ISO8859-1,mode=text,servercp=IBM-1047,trim
ZosDataset[T]: <- open()
DatasetHandler[T]: -> close()
DatasetHandler[T]: <- close()
[33.679] sent status No such file
[79.065] open "/+error.log" flags READ mode 0666
ZosExitInterface[T]: -> checkCommandWithFileArg(RETR /+error.log)
ZosExitInterface[T]: <- checkCommandWithFileArg(true (module not available))
ZosSettings[D]: [//-JES.*.ALL,ANY,S] does not match ['/+error.log',GET]
ZosSettings[D]: Options in effect (no file pattern selected)
ZosSettings: Transfer options: clientcp=ISO8859-1,mode=text,servercp=IBM-1047,trim
PosixFile[T]: -> setTextMode(IBM-1047, ISO8859-1, , )
PosixFile[T]: <- setTextMode()
PosixFile[T]: -> open("/tmp/sftp-server.cctsd02.177.185502.4084.log", 0x0002, 0x01B6)
PosixFile[T]: -> configureTranslator(isWrite=false, fileCodePage=IBM-1047, streamCodePage=ISO8859-1, technique=)
PosixFile[T]: <- configureTranslator()
PosixFile[T]: open: fileNlChar=x15 streamNlChar=x0a streamLineSep=x0a000000
PosixFile[T]: open: translator with table
PosixFile[T]: <- open(fd=4, filename=/SYSTEM/tmp/sftp-server.cctsd02.177.185502.4084.log, mode=3, errno=0)

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

Re: can not GET any file from mainframe z/OS 2.2/co:Z 5.1.1

Post by dovetail » Fri Jun 26, 2020 10:30 am

We were able to confirm (using SYS1.SAMPLIB(IGGCSIRX) ) that there is some problem with IGGCSI00 on Bruce's system - possibly due to some recent maintenance.

Post Reply