![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
VIEW – The logs appear as if you pressed PF2 from the workbench. Because you can see both the user and system logs, the msglog argument value is ignored.LOG – The log is saved back to the message log and then the parent transaction can access it. Note Whether or not the system log or user log is saved, it is written to the user log for the parent transaction.filename – A string containing a dot (.) is interpreted as a filename. The log is written to the file. A new file is not created unless the file is a partitioned data set; then a new member could be created. The previous contents of the file or member are overwritten.@LOGTEXT(parm) – The log is saved in the @LOGTEXT table in a table instance specified by:
− The user ID of the person who invoked the rule that called MESSAGE_LOG
• To send the MESSAGE_LOG to a file in Windows or Solaris, the DSBIFTYPE Execution Environment parameter must be set to LINE_SEPARATED_ASCII. The default setting is LENGTH_PREFIXED_EBCDIC.
Setting the parameter to LINE_SEPARATED_ASCII affects the behavior of other tools (for example, LOAD, UNLOAD).
• Output to a file and output to a printer are interconnected. If the program is expected to send output to a printer after this output is directed to a file, the print destination must be reset.
• You can view the @LOGTEXT table using the Single Occurrence Editor, but the Table Editor cannot display strings as long as the field in this table. You can copy the contents to any other suitable table.
• The log records are truncated to 76 characters because this is the longest string that the text editor can display on its screen.
• You can give the standard argument values in their lowest unique truncated form. For example, VIEW, VIE, and V all have the same effect.TIBCO Object Service Broker Programming in Rules for more information about the message log.
If destin is VIEW, both logs are empty. Raised if the value for msglog does not specify USER or SYSTEM, and the value for destin is not VIEW. Raised if the value for destin does not specify one of the valid destinations (refer to the previous exception).If you specified the @LOGTEXT(parm) value, the parameter name is not a valid TIBCO Object Service Broker identifier.If you specified a data set name, an error occurred when writing to the data set. Raised if the value for destin is LOG and the user log overflowed.The HIERARCHY rule executes the STAFF sample rule, saves the information in the message log by calling MESSAGE_LOG, and then executes MANAGER.
If the manager number is valid, and the manager is also entered as an employee in the EMPLOYEE table, results such as the following appear in the message log:
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |