Examples

This section provides examples on how to use the DEFVIEW command.

Example 1: Define a combined view named SAMPLE that includes consoles from monitored users MAINT640 and TS3163.

Figure 1. DEFVIEW command with two users
GOMCMD OPMGRM1 DEFVIEW NAME SAMPLE USER MAINT640 
 Ready; T=0.01/0.01 06:05:00                       
 GOMCMD OPMGRM1 DEFVIEW NAME SAMPLE USER TS3163   
 Ready; T=0.01/0.01 06:05:10  

After the view is defined, use the VIEWCON command to view the output.

Figure 2. VIEWCON command
VIEWCON USER SAMPLE

Example 2: Members (TS3163 and MAINT64) of a defined group (ROCKET1) are added to a defined view (ROCVIEW).

Figure 3. DEFGROUP commands combined with DEFVIEW
GOMCMD OPMGRM1 DEFGROUP NAME ROCKET1 MEMBER TS3163  
 Ready; T=0.01/0.01 01:45:25                         
 GOMCMD OPMGRM1 DEFGROUP NAME ROCKET1 MEMBER MAINT640
 Ready; T=0.01/0.01 01:45:34                                                 
 GOMCMD OPMGRM1 DEFVIEW NAME ROCVIEW GROUP ROCKET1
 Ready; T=0.01/0.01 01:52:07