Previous | Contents | Index |
The SWRK_INSERT_QUEUE_TAIL routine ...
status =SWRK_INSERT_QUEUE_TAIL(arg1, [arg2])
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0
arg1
VMS usage: arg1_type type: integer (unsigned) access: read only mechanism: by reference
Specifies arg1...
arg2
VMS usage: arg2_type type: character string access: read only mechanism: by descriptor
Specifies arg2...
The SWRK_INSERT_QUEUE_TAIL routine ...
The SWRK_LOCK_RESOURCE routine ...
status =SWRK_LOCK_RESOURCE(arg1, [arg2])
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0
arg1
VMS usage: arg1_type type: integer (unsigned) access: read only mechanism: by reference
Specifies arg1...
arg2
VMS usage: arg2_type type: character string access: read only mechanism: by descriptor
Specifies arg2...
The SWRK_LOCK_RESOURCE routine ...
The SWRK_LOG_FAOZ routine ...
status =SWRK_LOG_FAOZ(arg1, [arg2])
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0
arg1
VMS usage: arg1_type type: integer (unsigned) access: read only mechanism: by reference
Specifies arg1...
arg2
VMS usage: arg2_type type: character string access: read only mechanism: by descriptor
Specifies arg2...
The SWRK_LOG_FAOZ routine ...
The SWRK_LOG_FAO routine ...
status =SWRK_LOG_FAO(arg1, [arg2])
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0
arg1
VMS usage: arg1_type type: integer (unsigned) access: read only mechanism: by reference
Specifies arg1...
arg2
VMS usage: arg2_type type: character string access: read only mechanism: by descriptor
Specifies arg2...
The SWRK_LOG_FAO routine ...
The SWRK_LOG_IMAGE_FINISH routine ...
status =SWRK_LOG_IMAGE_FINISH(arg1, [arg2])
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0
arg1
VMS usage: arg1_type type: integer (unsigned) access: read only mechanism: by reference
Specifies arg1...
arg2
VMS usage: arg2_type type: character string access: read only mechanism: by descriptor
Specifies arg2...
The SWRK_LOG_IMAGE_FINISH routine ...
The SWRK_LOG_IMAGE_START routine ...
status =SWRK_LOG_IMAGE_START(arg1, [arg2])
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0
arg1
VMS usage: arg1_type type: integer (unsigned) access: read only mechanism: by reference
Specifies arg1...
arg2
VMS usage: arg2_type type: character string access: read only mechanism: by descriptor
Specifies arg2...
The SWRK_LOG_IMAGE_START routine ...
This routine logs a message which is passed as a message vector.
status =SWRK_LOG_MSG_VEC_2 (flags, source_file, source_reference, message_vector, facility_code, return_message_buffer)
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0 See SWRK_LOG_MSG_VEC for more details about the first four arguments.
flags
VMS usage: flags type: longword (unsigned) access: read only mechanism: by value
Specifies which logging actions the routine should take.
source_file
VMS usage: char_string type: character string access: read only mechanism: by descriptor
Specifies the source from which the message is being logged.
source_reference
VMS usage: number type: longword (unsigned) access: read only mechanism: by value
Specifies a reference number within the source.
message_vector
VMS usage: cntrlblk type: longword (unsigned) access: read only mechanism: by reference
Specifies the message vector which contains the messages to be logged.
facility_code
VMS usage: char_string type: character string access: read only mechanism: by descriptor
Specifies the facility code to be used for the first message in the message vector. If this argument is omitted, the facility code indicated in the message vector status will be used by default.
return_message_buffer
VMS usage: char_string_ptr type: character string pointer access: write only mechanism: by reference
Specifies the return address of a pointer to the expanded message buffer. The SysWorks logging procedures use internal buffers to store the expanded message before it is written to any log file or destination. The contents of these buffers are left intact until the next call to a message logging routine. Therefore, the address returned can be used by the caller to implement extra facilities not directly provided by the SysWorks message logging procedures.
This procedure logs the message specified by the message vector to appropriate log files. It expands the SWRK_LOG_MSG_VEC routine by providing access to some internal features.
This routine logs a message which is passed as a message vector.
status =SWRK_LOG_MSG_VEC (flags, source_file, source_reference, message_vector)
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0
flags
VMS usage: flags type: integer (unsigned) access: read only mechanism: by value
Specifies which logging actions the routine should take. The following values are permitted:
source_file
VMS usage: char_string type: character string access: read only mechanism: by descriptor
Specifies the source from which the message is being logged. In C, this would normally be a descriptor provided by the SWRK_BASE.H header file and based on the __FILE__ builtin. In Cobol, it would be a string literal containing the procedure name passed by descriptor.
This argument is used to construct an initial line inserted before the remainder of the message indicating where the message was logged from. If this argument is ommitted, no initial line will precede the remaining message.
source_reference
VMS usage: number type: longword (unsigned) access: read only mechanism: by value
Specifies a reference number within the source. In C, this would normally be the line number provided by the __LINE__ builtin. If this argument is omitted a value of zero is assumed by default.
message_vector
VMS usage: cntrlblk type: longword (unsigned) access: read only mechanism: by reference
Specifies the message vector which contains the messages to be logged.
This procedure logs the message specified by the message vector to appropriate log files. Other logging procedures (such as SWRK_LOG_STATUS) convert their arguments into a message vector and call this procedure.
The SWRK_LOG_OUTPUT_2 routine ...
status =SWRK_LOG_OUTPUT_2(arg1, [arg2])
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0
arg1
VMS usage: arg1_type type: integer (unsigned) access: read only mechanism: by reference
Specifies arg1...
arg2
VMS usage: arg2_type type: character string access: read only mechanism: by descriptor
Specifies arg2...
The SWRK_LOG_OUTPUT_2 routine ...
The SWRK_LOG_OUTPUT routine ...
status =SWRK_LOG_OUTPUT(arg1, [arg2])
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0
arg1
VMS usage: arg1_type type: integer (unsigned) access: read only mechanism: by reference
Specifies arg1...
arg2
VMS usage: arg2_type type: character string access: read only mechanism: by descriptor
Specifies arg2...
The SWRK_LOG_OUTPUT routine ...
This routine logs a message which is passed as a C style format string with optional arguments.
status =SWRK_LOG_PRINTF (flags, source_file, source_reference, format [, output_source...])
VMS usage: cond_value type: integer (unsigned) access: write only mechanism: by value in R0 See SWRK_LOG_MSG_VEC for more details about the first three arguments.
flags
VMS usage: flags type: longword (unsigned) access: read only mechanism: by value
Specifies which logging actions the routine should take.
source_file
VMS usage: char_string type: character string access: read only mechanism: by descriptor
Specifies the source from which the message is being logged.
source_reference
VMS usage: number type: longword (unsigned) access: read only mechanism: by value
Specifies a reference number within the source.
format
VMS usage: char_string type: null terminated character string access: read only mechanism: by reference
Specifies characters to be written literally to the output or converted as specified in the outout_source arguments.
output_source
VMS usage: varying_arg type: longword (signed) access: read only mechanism: by value
Specifies optional expressions whose resultant types correspond to conversion specifications given in the format specification.
If no conversion specifications are given, you may omit the output sources. Otherwise, the function call must have exactly as many output sources as there are conversion spec- ifications, and the conversion specifications must match the types of the output sources.
Conversion specifications are matched to output sources in left-to-right order. Excess output pointers, if any, are ignored.
This routine logs the formatted message specified by the format and output source arguments to appropriate log files. It is similar to a call to sprintf followed by a call to SWRK_LOG_TEXT.
SWRK_LOG_MSG_VEC
SWRK_LOG_TEXT
Previous | Next | Contents | Index |