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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

66 Chapter 3. How to Use <strong>SAF</strong> <strong>Subroutines</strong><br />

Process Result Data:<br />

• COBW3-<strong>SAF</strong>-SEARCH-FLAG<br />

•<br />

•<br />

Condition-name Value Meaning<br />

COBW3-<strong>SAF</strong>-PARM–FLAG-NON “0” The specified NES name is not found.<br />

COBW3-<strong>SAF</strong>-PARM–FLAG-EXIST “1” The specified NES name has been found.<br />

COBW3-<strong>SAF</strong>-PARM-VALUE, COBW3-<strong>SAF</strong>-PARM-VALUE-N<br />

Set an NES parameter value corresponding to the NES parameter name to be<br />

located.<br />

The NES parameter value is set in COBW3-<strong>SAF</strong>-PARM-VALUE <strong>for</strong><br />

COBW3_<strong>SAF</strong>_GET_PARM, COBW3_<strong>SAF</strong>_GET_PARM_XX or<br />

COBW3_<strong>SAF</strong>_GET_PARM_NX.<br />

Set it in COBW3-<strong>SAF</strong>-PARM-VALUE-N <strong>for</strong> COBW3_<strong>SAF</strong>_GET_PARM_XN or<br />

COBW3_<strong>SAF</strong>_GET_PARM_NN.<br />

COBW3-<strong>SAF</strong>-PARM-LENGTH<br />

Sets a length of character string of NES parameter value (in bytes)<br />

corresponding to the NES parameter name to be searched.<br />

COBW3_<strong>SAF</strong>_GET_BASENAME<br />

Gets an application name to be set in the URL.<br />

Note: As an application is identified by its MIME type (extender) in NES, the<br />

application name can be used as part of input data <strong>for</strong> process switching. The<br />

application name can contain any character. However, the operations are unreliable<br />

if a character other than “a” to “z,” “A” to “Z,” “0” to “9,” “-“ (hyphen) or “_”<br />

(underscore) is included.<br />

Format:<br />

CALL "COBW3_<strong>SAF</strong>_GET_BASENAME " USING COBW3<strong>SAF</strong>.<br />

COBW3 Data <strong>for</strong> Calls:<br />

None<br />

Process Result Data:<br />

• COBW3-<strong>SAF</strong>-BASENAME<br />

Gets an application name.<br />

•<br />

COBW3-<strong>SAF</strong>-BASENAME-LENGTH<br />

Gets the length the application name (in bytes).

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

Saved successfully!

Ooh no, something went wrong!