Information

This site will undergo maintenance on Friday, 26 September at 2:00 AM CDT / 12:30 PM IST and may experience a short period of instability during that time.

LGC commands


LGC includes commands issued through the LGC interface and operator commands issued from the console. 

For more information, see:

LGC interface commands

You can enter commands in the Command line of the BMC Configuration Component for z/OS (LGC) interface.

The following table lists these commands.

Command

Description

ABOUT

Displays information about LGC including the DBC connected to and applied maintenance for LGC and the components that it uses

CANCEL

Cancels any changes

FILTDEF

Shows default options

FILTINV

Shows invalid options

FILTMOD

Shows all modified options

FILTOFF

Turns off filtering and shows all options

FILTREQ

Shows all required options

GENHELP

Opens the general Help panel for LGC

HELP

Opens ISPF Help

PRODHELP

Opens the Help panel for the BMC product

SAVE

Saves changes to the current option set

SAVEAS

Saves changes to a new option set

Some of these commands require you to select an option set before issuing the command (for example, FILTDEF, FILTINV, FILTMOD, FILTOFF, FILTREQ, PRODHELP, SAVE, and SAVEAS).

LGC operator commands

You can enter the LGC operator commands in the console or from SDSF either by:

  • Issuing the command using the DBC subsystem ID directly

     /dbcSsid LGC,STATUS,SET,CONFIG
  • Issuing MODIFY command

    /F dbcSsid,LGC,STATUS,SET,CONFIG

The following table lists the commands that are defined by the LGC datastore manager when it starts and are deleted when it stops. In addition, you can define and use the LGC,START command to start all LGC agents.

Command

Description

LGC,COMMANDS

Displays metrics related to the different commands (mostly internal) that have been processed by the option set manager agent.

LGC,REFRESH

Loads new copies of LGC modules and stops or starts agents.

Note: You typically use this command after applying an LGC PTF.

LGC,REGSTAT

Displays the status of the RTCS Subsystem system registry that is currently being used in the LGCDSMPR output DD statement.

The same information is displayed when the LGC agents first come up.

LGC,RELQUES

Releases the internal queues (excluding the sessions queue) used by the option set manager.

LGC,STATUS

Displays information about option sets that are currently being edited in the LGCOSMPR output DD statement.

The displayed information includes:

  • The product name and version
  • The user ID
  • The option set name
  • The option set description

If no option sets are being edited, a message indicating that is issued.

LGC,STOP

Stops all LGC agents.

LGC,STORAGE

Displays information about the amount of storage that is being used by LGC agents.

For more information about the STORAGE command, see LGC,STORAGE command.

LGC,TRACE

Sets the trace control data and enable or disable tracing.

For more information about the LGC,TRACE command, see LGC,TRACE command.

LGC,STORAGE command

Use the LGC,STORAGE command to display the amount of storage being used by one or more LGC agents. The agents that will process the command are determined by the parameter following the STORAGE verb.

The syntax for this command is as follows:

LGC,STORAGE,[ALL|DSM|OSM]

The following table shows examples of commands you can issue to display the amount of used storage:

To display storage by using

Issue this command

Only the datastore manager

LGC,STORAGE,DSM

Only the option set manager

LGC,STORAGE,OSM

All LGC agents

LGC,STORAGE,ALL

LGC,TRACE command

Use the LGC,TRACE command to set the trace control data and to enable or disable tracing. The command can take the following syntax constructions. Optional parameters are shown in brackets.

Warning

Note

You must obtain a valid trace key from BMC Customer Support. Do not activate the trace key unless requested to do so by BMC Customer Support.

LGC,TRACE,SET,DSN=dsnname[(member)][,[SAVE | ACTIVATE]]
LGC,TRACE,SET,CONFIG
LGC,TRACE,[ON|OFF],[ALL|DSM|OSM]


The following table shows examples of the commands that you can issue to set trace options from sequential data sets, PDS members, or datastore configurations.

To set trace options from

Issue this command

A sequential data set

Note: If you use the ACTIVATE syntax, you do not have to issue an LGC,TRACE,ON command. If you do not use the ACTIVATE syntax, the trace info will not be written to the OSM agent.

LGC,TRACE,SET,DSN=RDAMSM.LGCOPTS

A sequential data set and save the options in the datastore configuration

LGC,TRACE,SET,DSN=RDAMSM.LGCOPTS,SAVE

A sequential data set and immediately activate them

LGC,TRACE,SET,DSN=RDAMSM.LGCOPTS,ACTIVATE

A PDS member

LGC,TRACE,SET,DSN=RDAMSM.PDSV(OPTS)

a PDS member and save the options in the datastore configuration

LGC,TRACE,SET,DSN=RDAMSM.PDSV(OPTS),SAVE

A PDS member and immediately activate them

LGC,TRACE,SET,DSN=RDAMSM.PDSV(OPTS),ACTIVATE

The datastore configuration

LGC,TRACE,SET,CONFIG

The following table shows examples of commands that you can issue to enable tracing from the datastore or option set manager.

To enable tracing in

Issue this command

Only the datastore manager

LGC,TRACE,ON,DSM

Only option set manager

LGC,TRACE,ON,OSM

All LGC agents

LGC,TRACE,ON,ALL

The following table shows examples of commands that you can issue to disable tracing from the datastore or option set manager.

To disable tracing in

Issue this command

Only the datastore manager

LGC,TRACE,OFF,DSM

Only the option set manager

LGC,TRACE,OFF,OSM

All LGC agents

LGC,TRACE,OFF,ALL


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

Common mainframe infrastructure 2021 release