Examples of Modifying an LU

In the following example, the first LUADD statement in parmlib member APPCPM2A defines LU Z098AP01, and the second LUADD statement in APPCPM2M changes the TP profile file for the LU.

Figure 1. APPCPM2A
   LUADD
     ACBNAME(Z098AP01)
     SCHED(ASCH)
     GRNAME(MVSLU1)
     NQN
     TPDATA(SYS1.APPCTP)
     TPLEVEL(SYSTEM)
Figure 2. APPCPM2M
   LUADD
     ACBNAME(Z098AP01)
     SCHED(ASCH)
     GRNAME(MVSLU1)
     NQN
     TPDATA(SYS1.NEWTP)
     TPLEVEL(SYSTEM)
Assuming that parmlib member APPCPM2A is already active, you can modify the LU by issuing the SET command as follows:
     SET APPC=2M

You can also modify the level of an LU through a parmlib member that contains the original LUADD statement with a different TPLEVEL parameter. The following LUADD modifies the level of the LUADD in parmlib member APPCPM2A from SYSTEM to USER.

Figure 3. APPCPM3M
   LUADD
     ACBNAME(Z098AP01)
     SCHED(ASCH)
     GRNAME(MVSLU1)
     NQN
     TPDATA(SYS1.APPCTP)
     TPLEVEL(USER)
Regardless of whether parmlib member APPCPM2A or APPCPM2M is active, to make the change, issue the SET command as follows:
     SET APPC=3M
If after several modifications, you are unsure of what your configuration looks like, issue the following DISPLAY APPC command.
   DISPLAY APPC,LU,ALL

Assuming you created and modified LUs using the previous examples and sessions were bound, you would see the following:

Figure 4. DISPLAY command output
   ATB121I  15.55.45  APPC DISPLAY      FRAME  1     F      E   SYS=SY1
     ACTIVE LU'S    OUTBOUND LU'S    PENDING LU'S    TERMINATING LU'S
        00006           00000           00000             00000
     SIDEINFO=SYS1.APPCSI
   LLUN=Z098AP01          SCHED=ASCH          BASE=NO          NQN=YES
      STATUS=ACTIVE       PARTNERS=00001      TPLEVEL=USER     SYNCPT=NO
      GRNAME=MVSLU1       RMNAME=*NONE*
      TPDATA=SYS1.APPCTP
    PLUN=USIBMY0.MVSLU1
   LLUN=Z098AP02          SCHED=ASCH          BASE=NO          NQN=YES
      STATUS=ACTIVE       PARTNERS=00000      TPLEVEL=GROUP    SYNCPT=NO
      GRNAME=MVSTEST      RMNAME=*NONE*
      TPDATA=SYS1.APPCTEST
   LLUN=Z096AP02          SCHED=XYZ           BASE=YES         NQN=YES
      STATUS=ACTIVE       PARTNERS=00001      TPLEVEL=USER     SYNCPT=NO
      GRNAME=*NONE*       RMNAME=*NONE*
      TPDATA=SYS1.XYZTP
    PLUN=USIBMZ0.MVSLU4
   LLUN=Z096AP03          SCHED=*NONE*        BASE=NO          NQN=YES
      STATUS=ACTIVE       PARTNERS=00003      TPLEVEL=SYSTEM   SYNCPT=NO
      GRNAME=SERVLU       RMNAME=*NONE*
      TPDATA=SYS1.APPCTP
    PLUN=USIBMY0.MVSLU
    PLUN=USIBMZ0.MVSLU
    PLUN=USIBMZ0.MVSLU4
   LLUN=Z098AP04          SCHED=ASCH          BASE=NO          NQN=YES
      STATUS=ACTIVE       PARTNERS=00000      TPLEVEL=SYSTEM   SYNCPT=NO
      GRNAME=*NONE*       RMNAME=*NONE*
      TPDATA=SYS1.APPCTP
   LLUN=Z096AP04          SCHED=ASCH          BASE=NO          NQN=YES
      STATUS=ACTIVE       PARTNERS=00001      TPLEVEL=SYSTEM   SYNCPT=NO
      GRNAME=MVSLU        RMNAME=*NONE*
      TPDATA=SYS1.APPCTP
    PLUN=USIBMY0.MVSLU1