z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Steps for moving an executable in the file system into the LPA

z/OS UNIX System Services Planning
GA32-0884-00

Before you begin: You need to know how long the executable or DLL name is.

Perform the following steps to move an executable in the file system into the LPA.
  1. Select one of the following actions, depending on how long the executable or DLL name is.
    If . . . Then . . .
    The executable or DLL name is no more than 8 characters excluding the extension (such as longname.dll) and contains no special characters that are not valid for TSO PDSE member names.
    1. Bind the executable or DLL into a PDSE member (for example, LONGNAME)
    2. For the executable or DLL in the file system, turn on the sticky bit. For example:
      chmod +t longname.dll
    3. Verify that the executable is marked reentrant.

      Tip: You can check that the executable is marked reentrant by checking TSO browse on the PDSE, locating the member in the member list, pressing PF11 and then looking for the RN attribute.

    4. Put the executable into dynamic LPA by modifying the PROGxx parmlib member or by issuing the SETPROG console command.
    The executable or DLL name is more than 8 characters long, excluding the extension (for example, reallylonglongname.dll), or if the name contains special characters.
    1. Bind the executable or DLL into a PDSE member with a valid member name (for example, REALLY)
    2. Rename the original executable or dll to save it. For example:
      mv reallylonglongname.dll
        reallylonglongname.dll.save
    3. Create an external link for the name. For example:
      ln -e REALLY reallylonglongname.dll
    4. Verify that the executable is marked reentrant.

      Tip: Check that the executable is marked reentrant by checking TSO browse on the PDSE, locating the member in the member list, pressing PF11 and then looking for the RN attribute.

    5. Put the executable into dynamic LPA by modifying the PROGxx parmlib member or by issuing the SETPROG console command.

    _______________________________________________________________

When you are done, you have moved an executable in the file system into the LPA.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014