Create Alert Table (CRTALRTBL)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Create Alert Table (CRTALRTBL) command creates an alert table for storing the alert description records. An alert table specifies the hardware and software products it is used for and defines alerts (problem notifications in a network). The typical user is the system or network programmer or operator responsible for network management. More information on alerts is in the Alerts Support book, SC41-5413 book.

Top

Parameters

Keyword Description Choices Notes
ALRTBL Alert table Qualified object name Required, Positional 1
Qualifier 1: Alert table Name
Qualifier 2: Library Name, *CURLIB
LICPGM Product Character value, 5769SS1, *NONE Optional
LICPGMTXT Licensed program text Character value, *BLANK Optional
TEXT Text 'description' Character value, *BLANK Optional
AUT Authority Name, *LIBCRTAUT, *CHANGE, *ALL, *USE, *EXCLUDE Optional
Top

Alert table (ALRTBL)

Specifies the qualified name of the alert table being created. Each alert table contains alert descriptions that are used to create alerts. An alert table has a one-to-one correspondence with a message file. To define an alert for a particular message, the name of the alert table must be the same as the name of the message file.

Note: The alert table and message file do not have to be in the same library; however, the alert table library must be in the library list of the job that causes the alert to be created.

This is a required parameter.

The possible library values are:

*CURLIB
The current library for the job is used to locate the alert table. If no current library entry exists in the library list, QGPL is used.
library-name
Specify the library where the alert table is located. Only the library named is searched. The user must have READ and ADD authority for the specified library.
Top

Product (LICPGM)

Specifies the licensed program associated with this alert table. This program is included in the alert as software product identification for the alert sender.

5722SS1
The product identifier for the OS/400 system.
*NONE
No licensed program is specified. This value allows programs that are not defined in the software resource management database of the system. No software product identification is present in the alert for the alert sender.
licensed-program
Specify a 7-character product identifier for the licensed product. The Alert Manager uses this ID to access the software resource management database for release and level information.

Note: This parameter does not have to be an IBM Licensed Program. Any 7-character ID that is meaningful to the use of the Work with Alerts command can be specified. If the value given for the LICPGM parameter is defined to the system, the ID and release and level information are included in the alert.

Top

Licensed program text (LICPGMTXT)

Specifies descriptive text for the alert table licensed program parameter (for example, 'OS/400'). The text is included in the alert as software product identification for the alert sender.

*BLANK
No text is specified.
licensed-program-text
Specify up to 30 characters of text describing the program.
Top

Text 'description' (TEXT)

Specifies the text that briefly describes the object.

*BLANK
No text is to be specified.
'description'
Specify no more that 50 characters, enclosed in apostrophes.
Top

Authority (AUT)

Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.

*LIBCRTAUT
The system determines the authority for the object by using the value specified on the Create authority prompt (CRTAUT parameter) on the Create Library (CRTLIB) command for the library containing the object to be created. If the value specified on the CRTAUT parameter is changed, the new value does not affect any existing objects.
*CHANGE
The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users.
*ALL
The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object.
*USE
The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities.
*EXCLUDE
The user cannot access the object.
authorization-list-name
Specify the name of an authorization list. Users included on the authorization list are granted authority to the object as specified by the list. The authorization list must exist when the object is created.
Top

Examples

CRTALRTBL   ALRTBL(ALRTBLLIB/ALRTBLNBR1)  LICPGM(5716SS1)
            LICPGMTXT('OS/400')
            TEXT('This is the first alert table created')

This command creates an alert table in the library ALRTBLLIB called ALRTBLNBR1. The public has *CHANGE authority to the table. The licensed program associated with this ALRTBL is the OS/400 system.

Top

Error messages

*ESCAPE Messages

CPF2108
Object &1 type *&3 not added to library &2.
CPF2112
Object &1 in &2 type *&3 already exists.
CPF2113
Cannot allocate library &1.
CPF2151
Operation failed for &2 in &1 type *&3.
CPF2182
Not authorized to library &1.
CPF2283
Authorization list &1 does not exist.
CPF9810
Library &1 not found.
CPF9820
Not authorized to use library &1.
Top