This example shows how to identify the CICS® systems that are able to use a particular file.
From the current view, issue the command LOCFILE PAYFILE1. The LOCFILE view, showing all local files called PAYFILE1 in the current scope, is displayed:
26MAR1999 17:24:33 ----------- INFORMATION DISPLAY --------------------------- COMMAND ===> SCROLL ===> PAGE CURR WIN ===> 1 ALT WIN ===> >W1 =LOCFILE===========PLXPROD1=PLXPROD1=26MAR1999==17:24:33====CPSM=========12 CMD File CICS Enabled Open Add Bro Del Rea Upd LSR Dataset --- ID------ System-- Status--- Status Opt Opt Opt Opt Opt --- Name------------ PAYFILE1 CICSPF01 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF02 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF03 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF04 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF05 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF06 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF07 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF08 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF09 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF0A UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF0B UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF0C UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR
For a more complete description of the LOCFILE view, see LOCFILE - Local files.
In this example, the scope is the CICSplex itself, and so all files with an ID of PAYFILE1 available to all CICS systems belonging to CICSplex PLXPROD1 are listed.
Note that you don’t have to use specific file names. You can use generic names (names with wildcard characters in them). For example, if you issue the command LOCFILE PAYFILE* from the current view, you might see something like this:
26MAR1999 17:24:33 ----------- INFORMATION DISPLAY --------------------------- COMMAND ===> SCROLL ===> PAGE CURR WIN ===> 1 ALT WIN ===> >W1 =LOCFILE===========PLXPROD1=PLXPROD1=26MAR1999==17:24:33====CPSM=========17 CMD File CICS Enabled Open Add Bro Del Rea Upd LSR Dataset --- ID------ System-- Status--- Status Opt Opt Opt Opt Opt --- Name------------ PAYFILE1 CICSPF01 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF02 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF03 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF04 ENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF05 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF06 ENABLED OPEN YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF07 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF08 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF09 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF0A UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF0B UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE1 CICSPF0C UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE2 CICSPF0C ENABLED OPEN YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE4 CICSPF0C UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILE5 CICSPF03 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILEA CICSPF03 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR PAYFILEB CICSPF03 UNENABLED CLOSED YES YES YES YES YES 01 PP.PAYROLL.MSTR