observation on "catsearch"

Discussion of Dovetailed Technologies Dataset Pipes tools
Post Reply
JohnMcKown
Posts: 39
Joined: Sat Nov 21, 2009 2:59 pm

observation on "catsearch"

Post by JohnMcKown » Sat Oct 29, 2011 9:18 pm

All of our catalogs use the high level qualifier of CATALOG. However, doing a "catsearch 'CATALOG.**'" returns only the master catalog. Tested on z/OS 1.12.
catsearch 'CATALOG.**'
CATALOG.ICF.VI07CAT.MCAT
CATALOG.ICF.VI07CAT.MCAT.CATINDEX
However "tsocmd 'LISTC LVL(CATALOG)' returns all of them:
tsocmd 'LISTC LVL(CATALOG)'
LISTC LVL(CATALOG)
USERCATALOG --- CATALOG.ICF.CICSTS32
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.OMVS.SHARED
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.SYSTEM.LIHT
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.USER.LIHT
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.VI05CAT.MCAT
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.VI05FS1.OMVS
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.VI05SM1.SMPE1A
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
CLUSTER ------- 00000000000000000000000000000000000000000000
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
INDEX --------- CATALOG.ICF.VI07CAT.MCAT.CATINDEX
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.VI07CAT.OMVS
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.VI26CAT.MCAT
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.VLIHTS2
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.VLIHTS4
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.VMVSCAT
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
USERCATALOG --- CATALOG.ICF.VMVXTSP
IN-CAT --- CATALOG.ICF.VI07CAT.MCAT
I don't know how catsearch is coded, but I'd guess it uses IGGCSI00. So the problem could well be in IBM code.

--
John McKown

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

Re: observation on "catsearch"

Post by dovetail » Wed Nov 02, 2011 5:48 pm

John,

Thanks for reporting this - I would assume that this is a bug in our code since we probably by default skip usercat entries during IGGCSI00 traversal. I imagine that we need to only skip them if they don't match the pattern (which sounds a little painful). But this is only a theory.

try setting this to get a trace:

export COZ_LOG=F,CatalogSearch=F

and email us the trace to look at to verify.

john.mckown
Posts: 48
Joined: Tue Jun 12, 2007 2:46 pm

Re: observation on "catsearch"

Post by john.mckown » Fri Dec 09, 2011 12:32 pm

I have downloaded and tested 2.0.0-beta. It works and returns the entries that I want. Thank you very much.

Post Reply