You are here: LANSA for i User Guide > 9. Developer Services > 9.11 Developer Services Configuration > 9.11.4 User Defined Developer Message Category Codes Table

9.11.4 User Defined Developer Message Category Codes Table

The user defined developer message category codes, descriptions, send message and notify user flags will be used from within the "Work with Developer Messages" facility to categorize, describe and control the sending/notification of developer messages.

A default table of category codes, descriptions, send message and notify flags will be provided with the LANSA system, but the user has the option to change the default table to specify his/her own table of category codes, descriptions, send message and notify user flags.

The default category codes table is:

Category Code

Description

Send Message

Notify User

ANC

Announcement

Y

N

FIN

Finished

N

N

INF

Information

N

Y

NTE

Note

N

N

QUS

Question

Y

N

PRB

Problem

Y

Y

RPY

Reply

Y

N

 

The default table of user defined category codes, descriptions, send message and notify user flags was set up as follows:

1.  Change the extended information data area DC@A07 by inserting the user defined category codes into positions 161 - 220, using the following command:

CHGDTAARA DTAARA(DC@A07 (161 60)) 

          VALUE('ANCFININFNTEQUSPRBRPY')

     Up to 20 category codes can be specified, each code is 3 characters long.

2.  Change the extended information data area DC@A07 by inserting the user defined category code descriptions into positions 221 to 520 using the following command:

CHGDTAARA DTAARA(DC@A07 (221 300))    

          VALUE('Announcement Finished 

               Information Note Question 

               Problem Reply')

     Up to 20 descriptions can be specified, each description is 15 characters long. Ensure each category code description relates to the correct category code.

3.  Change the extended information data area DC@A07 by inserting the user defined send developer message flags into positions 521 to 540, using the following command:

CHGDTAARA DTAARA(DC@A07 (521 20)) 

          VALUE('YNNNYYY')

     Up to 20 send developer message flags can be specified, each flag is 1 character long and its value can only be either a "Y", "N" or " ". The value of this flag determines whether a message should be sent or not when a message is first created. Ensure each send developer message flag relates to the correct category code.

4.  Change the extended information data area DC@A07 by inserting the user defined notify user flags into positions 541 to 560, using this command:

CHGDTAARA DTAARA(DC@A07 (541 20)) 

          VALUE('NNYNNYN')

     Up to 20 notify user flags can be specified, each flag is 1 character long and its value can only be either a "Y", "N" or " ". The value of this flag determines whether the user should be notified of the message each time the object associated with the message is accessed. Ensure each notify user flag relates to the correct category code.

Use the steps above to specify your own table of category codes, descriptions, send developer and notify user flags.