Maintaining LSM Details

To control access to your application when Security is enabled, use the commands in the following subsections. Enter commands in the Action property.

BYE (BY)

Use this command to exit from LSM, leaving security unchanged. LSM goes to End-of-Job, after updating the database with any changes you have made.

This command does not change the current setting of security for the application.

HELP (HE)

Use this command to obtain brief online help information about the properties on the current screen. Help information is displayed on Page 2.

ISPLIST (IS)

Use this command to maintain or inquire on Ispecs for a listname. You can then use the listname to give a usercode access to the associated Ispecs.

To indicate that a listname is to provide access to all Ispecs, enter Y in the All Ispecs property on a create (CR) action.

If you enter N in the All Ispecs property, the Ispec names are displayed, each with a one character property for you to mark your selections. You can create, modify, delete, or inquire on the usercode by entering CR, MO, DE, or IN in the Action property.

Enter a listname. If you enter N in the All Ispecs property, and you enter CR (Create), the screen is redisplayed with an array of properties for you to indicate the Ispecs that are to be included under that listname.

To display the chosen combinations, enter IN (Inquire). Enter MO (Modify) if you want to add or delete Ispecs from a listname.

 Caution

With the MO (Modify) action, all Ispecs after the position from which you transmit is deleted. Be sure to transmit after the last Ispec name.

Load (LO)

Use this command to load information from a specified disk file. The pack name for the file defaults to DISK.

 Caution

  • The load process deletes the existing security details in the database, and replaces them with the contents of your file.

  • Any attempt to load Security details across unprivileged usercodes could cause LSM to crash (unless the file is PUBLIC IO).

OFF

Use this command to reset (turn off) security, and exit from LSM. The next time the application is initiated, security is not set.

ON

Use this command to set (turn on) security, and exit from LSM. The next time the application is initiated, security is set.

PRINT (PR)

Use this command to print all security information currently loaded.

Be careful not to compromise security by leaving your listing insecure.

REPLIST (RE)

Use this command to maintain or inquire on Reports for listnames. You can then use the listname to give a usercode access to the associated Reports.

You can create, modify, delete, or inquire on the listname by entering CR, MO, DE, or IN in the Action property.

Enter a listname. If you enter CR (Create), the screen is redisplayed with an array of properties for you to enter the Reports that are to be included under that listname. Enter the Report names.

To indicate that a listname is to give access to all Reports, enter an asterisk (*) against the first Report.

When using the CR (Create) or MO (Modify) actions, enter your combinations from left to right and top to bottom, as LSM scans in this order for the first blank property, which it treats as the end of input.

If you enter IN (Inquire) the chosen combinations are displayed. You can then add or delete Reports and change the Action property to MO (Modify) if you want to make changes.

 Caution

With the MO (Modify) action, all Reports after the position from which you transmit is deleted. Be sure to transmit after the last entered Report name.

ULIST (UL)

Use this command to maintain or inquire about usercode/listname combinations.

Another menu screen is displayed for you to enter a usercode. You can create, modify, delete, or inquire on the usercode by entering CR, MO, DE, or IN in the Action property.

If you enter CR (Create) in the Action property, the screen is redisplayed with an array of properties. Enter the listnames you want to award to this usercode.

If you enter IN (Inquire), the awarded listnames are shown. You can then add or delete listnames and change the Action property to MO (Modify) if you want to make changes.

 Caution

With the MO (Modify) action, all listnames after the position from which you transmit is deleted. Be sure to transmit after the last listname.

UNLoad (UN)

Use this command to unload information to a specified disk file, so that you can save your security details. You can use this file as precautionary backup. The output file created by your UNLoad command must not be modified.

XREF (XR)

Use this command to find out which listnames or usercodes have access to a specific Ispec or Report. A screen is displayed for you to enter a name and specify if it is an Ispec or a Report.

To display the listnames that have access to this Ispec or Report, enter LI in the Action property.

To display the usercodes that have access to the Ispec, enter US in the Action property.