Correlating local and remote file names

In this example, you’ll see how to relate the name by which a particular file is known in a local CICS® system to the name by which it is known in a remote CICS system.

  1. If the current context isn’t PLXPROD1, issue the command CON PLXPROD1 from the current view.
  2. Display a list of remote-file definitions.

    From the current view, issue the command REMFILE. The REMFILE view, showing remote-file definitions installed in the current scope, is displayed:

     26MAR1999  17:23:27 ----------- INFORMATION DISPLAY ---------------------------
     COMMAND  ===>                                                 SCROLL ===> PAGE
     CURR WIN ===> 1        ALT WIN ===>
      W1 =REMFILE===========PLXPROD1=PLXPROD1=26MAR1999==17:23:27====CPSM==========2
     CMD File     CICS     Remote   Rem
     --- ID------ System-- Name---- Sysid
         PAYFILER CICSPA01 PAYFILE1 AF01
         PAYFILER CICSPA02 PAYFILE1 AF01
     
     

    For a more complete description of the REMFILE view, see REMFILE - Remote files.

    You can learn several things from this REMFILE view:

  3. Display a list of the CICS systems connected to via AF01.

    To find out the name of the remote CICS system connected to via connection AF01, issue the command CONNECT AF01 from the current view. The CONNECT view, showing the CICS systems connected via AF01, is displayed:

     26MAR1999  17:23:40 ----------- INFORMATION DISPLAY ---------------------------
     COMMAND  ===>                                                 SCROLL ===> PAGE
     CURR WIN ===> 1        ALT WIN ===>
      W1 =CONNECT===========PLXPROD1=PLXPROD1=26MAR1999==17:23:40====CPSM==========1
     CMD Conn CICS     CONN Netname  Connect    Service    Pending
     --- ID-- System-- Type -------- Status---- Status---- Status----
         AF01 CICSPA01 LU62 CICSAF01 ACQUIRED   INSERVICE  NOTPENDING
         AF01 CICSPA02 LU62 CICSAF01 ACQUIRED   INSERVICE  NOTPENDING
         AF01 CICSPA03 LU62 CICSAF01 ACQUIRED   INSERVICE  NOTPENDING
     

    From this view, you can see that the remote system is CICSAF01. (In fact, you might not need to display the CONNECT view at all. A good naming convention will tell you what you need to know. For example, you can see immediately that connection AF01 connects to CICS system CICSAF01.)

  4. Change the scope.

    The next step is to look at all local files called PAYFILE1 in the remote CICS system CICSAF01. First, you must change the scope, so that any data you get back from CICSPlex® SM relates only to CICSAF01. To do this, issue the command SCO CICSAF01.

  5. Display a list of local files.

    Issue the command LOCFILE PAYFILE1 from the current view. The LOCFILE view, showing files called PAYFILE1 in CICS system CICSAF01, is displayed:

     26MAR1999  17:24:33 ----------- INFORMATION DISPLAY ---------------------------
     COMMAND  ===>                                                 SCROLL ===> PAGE
     CURR WIN ===> 1        ALT WIN ===>
     >W1 =LOCFILE===========PLXPROD1=CICSAF01=26MAR1999==17:24:33====CPSM==========1
     CMD File     CICS     Enabled   Open   Add Bro Del Rea Upd LSR Dataset
     --- ID------ System-- Status--- Status Opt Opt Opt Opt Opt --- Name------------
         PAYFILE1 CICSAF01 UNENABLED CLOSED YES YES YES YES YES 01  PP.PAYROLL.MSTR
     
[[ Contents Previous Page | Next Page Index ]]