22.09.2013 Views

NetCOBOL for SPARC Architecture SAF Subroutines User's Guide

NetCOBOL for SPARC Architecture SAF Subroutines User's Guide

NetCOBOL for SPARC Architecture SAF Subroutines User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Format:<br />

Chapter 4. Generating and Executing a Web Application 79<br />

Service [type="MIME type"] fn="COBOL_Per<strong>for</strong>m" app="DLL name,<br />

entry-name"<br />

[sev="log output severity of <strong>SAF</strong> director"]<br />

Parameters:<br />

•<br />

•<br />

app<br />

Specify the .DLL name and an entry-name of the COBOL application to be<br />

executed. Specify an absolute path as a DLL name in the same way as in<br />

COBOL_Init.<br />

sev<br />

Specify the severity of log in<strong>for</strong>mation to be output by the <strong>SAF</strong> director. The<br />

following values can be specified. If any value besides those is specified, or<br />

when nothing is specified, it is regarded as 0 specified.<br />

0 Only fatal error messages are output.<br />

1 In addition to fatal messages, severe error messages are output.<br />

2 In addition to severe messages, warning messages are output.<br />

3 In addition to warning messages, a trace of the <strong>SAF</strong> Director is output.<br />

The log in<strong>for</strong>mation that is output by the <strong>SAF</strong> director is recorded in the same place<br />

as the error log of NES. To view the <strong>SAF</strong> director and NES error logs, use the<br />

administration page of the NES <strong>for</strong> reference.<br />

Notes: Each specification of severity by sev is valid in each COBOL_Per<strong>for</strong>m. This<br />

specification has nothing to do with the severity (env) specified in COBOL_Init.<br />

The severity of log in<strong>for</strong>mation to be specified here does not have any effect on the<br />

log in<strong>for</strong>mation that is output by <strong>SAF</strong> subroutine. For the log in<strong>for</strong>mation that is<br />

output by the <strong>SAF</strong> subroutine, see "Environment Variable Setup <strong>for</strong> <strong>SAF</strong> <strong>Subroutines</strong>".<br />

As more logging is enabled, the slower the <strong>SAF</strong> Director runs . Specify the value<br />

needed to log only as much detail as required. We do not recommend specifying 3<br />

unless all other options are insufficient.<br />

Note: For other parameters that can be specified on “Service” lines, see the NES<br />

manual.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!