Predefining a refresh cycle


If you have a refresh cycle that you use often, you can predefine it in a member of the BBPROF data set, then use the member name to invoke it from the COMMAND line.

The naming convention for the members is:

Member name

Description

MTODMIN or OPERATOR

examples of a meaningful one- to eight-character member name

CAOCYCnn

nn is any two alphanumeric characters (MainView AutoOPERATOR for CICS option)

CMRCYCnn

nnn is any two alphanumeric characters (MainView for CICS product line)

IAOCYCnn

nn is any two alphanumeric characters (MainView AutoOPERATOR for IMS option)

CYCxx

xx is any two alphanumeric characters (MainView for DB2 or IMF product lines)

MAOCYCnn

nn is any two alphanumeric characters (MainView AutoOPERATOR for z/OS option)

AOCYCnn

nn is any two alphanumeric characters (MainView AutoOPERATOR Base)

Use the following keywords in Table 1 to define a refresh cycle in a BBPROF member.

Table 1 describes the keywords you can use to define a refresh cycle in a BBPROF member.

Table 1. BBPROF member refresh cycle keywords

Keyword

Description

SERV=

service select code; for example, SERV=LOG

See the SERVICE parameter values in Creating-cyclic-displays-with-CYCLE-SETUP.

OPT=

service parameters

A valid statement

  • can be written within single quotation marks
  • can be written without single quotation marks

Multiple parameters (maximum of 60 characters) can be specified in a statement, separated by blanks, enclosed in single quotation marks. A comma or end-of-card terminates the operand.

If single quotation marks are not used, a statement terminates with the last parameter or a comma. Multiple parameters (maximum of 60 characters) can be specified in a statement, separated by blanks.

TARGET=

one- to eight-character identifier of the target

If TARGET and TYPE are not specified, the target displayed in the TGT field when the member is selected is used.

If TARGET is not specified but TYPE is, the current target for the specified product line when the member is selected is used.

TYPE=

type of product line to process the requested service

A product line type does not need to be entered when only one product line is installed.

If a product line is not specified, the product line where CYCLE was invoked is used.

When multiple product lines are installed, a product line type must be specified if the service to be requested does not belong to the active product line.

INTVL=

time in seconds (1 to 99) the service is to be displayed before the next one is shown

LOG=

either Y (YES) or N (NO) to log the display to the BBI-TS Image log

This parameter is applicable only to the IMF and MainView for DB2 product lines.

Example

the services defined for a refresh cycle in Creating-cyclic-displays-with-CYCLE-SETUP could be defined in a BBPROF member as shown in Figure 1.

Figure 1. Sample cycle setup member

*  SAMPLE CYCLE SETUP MEMBER
*
*  IMS DISPLAY MFS UTILIZATION
*
SERV=MFSUT,TYPE=IMS,INTVL=3
*
*  DB2 USER STATUS
*
SERV=DUSER,TYPE=DB2,INTVL=3
*
*  MVS ACTIVE DISPLAY
*
SERV=DA,TYPE=MAO,INTVL=5
*
*  CICS OPEN FILE DISPLAY
*
SERV=FILE,OPT=* OPEN,TYPE=CICS,INTVL=3

Include comments by putting an asterisk in column 1.

Select the BBPROF member by using the SELECT|S primary command with the member name on the COMMAND line of the SERVICE REFRESH CYCLE application. The SELECT command can select a one- to eight-character BBPROF member name across product lines. The SELECT command also allows meaningful names to be defined; it is the recommended method for invoking an BBPROF member.

Example

COMMAND ===> SELECT MAOCYC00

Note

AOCYC00, CAOCYC00, IAOCYC00, and MAOCYC00 members are distributed in the BBPROF data set with MainView AutoOPERATOR.

 

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