Generating LSM

To use Security in your built applications, you must first generate the LSM program for each application, as shown in the following:

  1. Sign on to a CANDE session under the same usercode and family as Runtime.

  2. Enter the following command:

    RUN $NGEN28/GEN ("system database ON dictpack LSM")

    Here system is the name of the application, database is the name of your database, and dictpack is the Dictionary pack for your application.

    Note: You might need to enter a usercode if your usercode is different from Runtime.

Your compiled LSM program is named as follows:

system/LINC/SECURITY

An example of an LSM program name is given in the following table.

Example System

LSM Program Name

System named SAMPLESYS

SAMPLESYS/LINC/SECURITY

Note: There is an optional NGEN28/GEN parameter to specify the location of non-standard versions of DMSII files. Refer to Generation Utility for more information.