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.

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

Environment Variable Setup <strong>for</strong> <strong>SAF</strong> Subroutine<br />

In order to execute the Web application using the <strong>SAF</strong> subroutine, it is necessary to<br />

set the following execution environment in<strong>for</strong>mation in an environment variable, or in<br />

the <strong>SAF</strong> director environment setting, or initialization file (COBOL85. CBR) . When<br />

using an initialization file , link each application with F3BICBDM.obj so that an<br />

initialization file in the application folder can be referenced. The use of an<br />

environment setup file of the <strong>SAF</strong> director is recommended, since an initialization file<br />

(COBOL85.CBR) is not validated until the COBOL program is executed <strong>for</strong> the first<br />

time. For description of the environment setup file, see "COBOL_Init" in Chapter 4.<br />

Notes: The NES deletes system environment variables which the NES does not<br />

require from the environment variable block. Thus, environment variables needed by<br />

the <strong>SAF</strong> subroutine and the Web application cannot be accessed even though they<br />

are set as system environment variables. For this case, use environment setup file of<br />

the <strong>SAF</strong> director or initialization file (COBOL85.CBR) <strong>for</strong> the environment variables<br />

that are required by the application. For environment variables used by the NES, see<br />

the NES manual.<br />

When the environment variable specified that system environment variable,<br />

environment setup file of the <strong>SAF</strong> director and initialization file (COBOL85.CBR)<br />

overlaps, the priority level becomes as follows.<br />

Initialization file (COBOL85.CBR) > environment setup file of <strong>SAF</strong> director > system<br />

environment variable<br />

The one to be set in System environment variable or environment setup file of the<br />

<strong>SAF</strong> director

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

Saved successfully!

Ooh no, something went wrong!