Data Administration
PANLIST Utility
AIS has created a new utility called PANLIST for the CBC community to use to look up a file name when only part of the name is known. This utility has been placed in the Client Panvalet library in the member PANLIST. Briefly, the utility will list all files where the dataset name matches the qualifiers you enter. For example, if you enter the partial file name of
MSU.SISAHCBC.SISPAWD.ENDTERM
you will see the following files listed:
MSU.SISAHCBC.SISPAWD.ENDTERM.FS92.TP
MSU.SISAHCBC.SISPAWD.ENDTERM.FS93.TP
all the way through to
MSU.SISAHCBC.SISPAWD.ENDTERM.US98.TP
MSU.SISAHCBC.SISPAWD.ENDTERM.US99.TP
You can also use a wild card in place of a qualifier, like this:
MSU.SISAHCBC.SISPAWD.*.US98
which will produce the following list:
MSU.SISAHCBC.SISPAWD.ENDTERM.US98.TP
MSU.SISAHCBC.SISPAWD.FRSTCLS.US98.TP
MSU.SISAHCBC.SISPAWD.FRSTQTR.US98.TP
MSU.SISAHCBC.SISPAWD.MIDTERM.US98.TP
MSU.SISAHCBC.SISPAWD.POSTENR.US98.TP
Note that all of these tapes are for Summer 1998, but the 4th qualifier that indicates the time of the term is different for each one.
The panvalet member looks like this:
//***************************************************************
//* THIS ROUTINE WILL LIST ALL FILES BEGINNING WITH A
//* QUALIFIER OR QUALIFIERS SPECIFIED BY THE USER.
//***************************************************************
//LISTFILE EXEC PANLIST
//*
//LISTFILE.SYSIN DD *
LISTC LVL(MSU.SISAHCBC.SISPAWD.*.US98)
//***************************************************************
It is followed by comments about how to use this job. To find the file name, type the start of the name of the file you want on the line beginning with LISTC LVL. Replace the part that reads MSU.SISAHCBC.SISPAWD.*.US98" with your file name, submit the job, and look for the output in SAR/C.
The output of all of this will look like this:
IDCAMS SYSTEM SERVICES TIME: 11:41:33
LISTC LVL(MSU.SISAHCBC.SISPAWD.*.US98)
NONVSAM ------- MSU.SISAHCBC.SISPAWD.ENDTERM.US98.TP
IN-CAT --- SYSTEM.PROD.CATALOG
NONVSAM ------- MSU.SISAHCBC.SISPAWD.FRSTCLS.US98.TP
IN-CAT --- SYSTEM.PROD.CATALOG
NONVSAM ------- MSU.SISAHCBC.SISPAWD.FRSTQTR.US98.TP
IN-CAT --- SYSTEM.PROD.CATALOG
NONVSAM ------- MSU.SISAHCBC.SISPAWD.MIDTERM.US98.TP
IN-CAT --- SYSTEM.PROD.CATALOG
NONVSAM ------- MSU.SISAHCBC.SISPAWD.POSTENR.US98.TP
IN-CAT --- SYSTEM.PROD.CATALOG
SARPAGE 5
IDCAMS SYSTEM SERVICES TIME: 11:41:33
THE NUMBER OF ENTRIES PROCESSED WAS:
AIX -------------------0
ALIAS -----------------0
CLUSTER ---------------0
DATA ------------------0
GDG -------------------0
INDEX -----------------0
NONVSAM ---------------5
PAGESPACE -------------0
PATH ------------------0
SPACE -----------------0
USERCATALOG -----------0
TAPELIBRARY -----------0
TAPEVOLUME ------------0
TOTAL -----------------5
THE NUMBER OF PROTECTED ENTRIES SUPPRESSED WAS 0
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 0
It alternates with the name of the file(s) found, and the name of the system catalog where they were found. (The system catalog is a list of files and a pointer to which disk pack they are on. The operating system keeps track of this so that you dont have to. It makes it much simpler to find files this way)
At the end is a list of counts of the different kinds of files that were found.
Michigan State University Copyright 2000. All rights reserved.
This page last updated on 08/10/2000
If you have comments or suggestions about this webpage Email us. (Please do not change the subject line)