z/OS Communications Server: SNA Network Implementation Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Sample load module name change

z/OS Communications Server: SNA Network Implementation Guide
SC27-3672-01

You can rename an NCP load module. In this scenario, one load module is being replaced by another. However, the final load module name will be the same as the original load module name.

Procedure

  1. Activate an NCP with load module NCPA and start the NCPA using the VARY ACT command:
    V NET,ACT,ID=NCPA,LOADMOD=NCPA,LOAD=YES,SAVEMOD=YES
  2. The NCP is activated and a load module NCPA is saved on the MOSS disk because you specified SAVEMOD. Now an NCPA member is in VTAMLST, an NCPA member is in NCPLOAD, and you have a session between VTAM® and NCPA.
  3. Copy NCPA to a file named NCPA1, add your changes, and generate the file on another system. On the other system, the VTAMLST member is called NCPA1. Because the NEWNAME parameter in the generation was not changed, but other keyword values in the generation were changed, the generation name of the NCPLOAD library member will be NCPA. Use an external MVS™ job to rename this member to NCPA1.
  4. Move NCPA1 (the VTAMLST member) and NCPA1 (the NCPLOAD library member) to the original MVS system. You have two load modules:
    • NCPA on the VTAMLST library and NCPA on the NCPLOAD library.
    • NCPA1 on the VTAMLST library and NCPA1 on the NCPLOAD library
    The NCP name has not changed and the NEWNAME parameter in the generation has not changed.
  5. Use the MODIFY LOAD command to add NCPA1:
    F NET,LOAD,ID=NCPA,ACTION=ADD,LOADMOD=NCPA1
    A nondisruptive ADD is performed.
  6. Use the MODIFY LOAD command to rename the current load module on the MOSS disk:
    F NET,LOAD,ID=NCPA,ACTION=RENAME,LOADMOD=NCPA,NEWNAME=NCPA2
  7. Use the MODIFY LOAD command to rename the load module NCPA1 on the MOSS disk to NCPA:
    F NET,LOAD,ID=NCPA,LOADMOD=NCPA1,NEWNAME=NCPA,ACTION=RENAME
  8. Use the VARY ACT command to deactivate the session with the NCP:
    V NET,INACT,ID=NCPA
  9. Rename the member name NCPA on the VTAMLST and the NCPLOAD library to NCPA2 using an external MVS job. Then rename NCPA1 (the VTAMLST member) and NCPA1 (the NCPLOAD library member) to NCPA. You now have:
    • NCPA2 member in VTAMLST (MVS job only, not generation)
    • NCPA2 member in NCPLOAD (MVS job only, not generation)
    • NCPA member in VTAMLST
    • NCPA member in the NCPLOAD
  10. Use the VARY ACT command to activate the NCP and to load the NCP from the MOSS disk.
    V NET,ACT,ID=NCPA,LOADMOD=NCPA,LOADFROM=EXT,LOAD=YES
    Note: Remember, the NEWNAME in this new generation was never changed, so to VTAM the NEWNAME parameter is NCPA and is not different from the name of the load module NCPA (which is also the name of the NCP). You have:
    • NCPA2 member in VTAMLST
    • NCPA2 member in NCPLOAD
    • NCPA member in VTAMLST
    • NCPA member in the NCPLOAD

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014