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.

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

Condition-name Value Meaning<br />

COBW3-SESSION-DATA–GROUPITEM “0” A group item is used as the session<br />

data.<br />

COBW3-SESSION–DATA-OBJECT “1” An object reference item is used as the<br />

session data.<br />

• COBW3-SESSION-STATUS<br />

Sets the current session status.<br />

Condition-name Value Meaning<br />

COBW3-SESSION-STATUS-NON “0” The session is not started yet or<br />

already ended.<br />

COBW3-SESSION–STATUS-STARTED “1” The session has been started up.<br />

<strong>SAF</strong>-Specific <strong>Subroutines</strong><br />

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

COBW3_<strong>SAF</strong>_GET_PARM_NX, COBW3_<strong>SAF</strong>_GET_PARM_XN,<br />

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

Search <strong>for</strong> an NES parameter name in the NES parameter in<strong>for</strong>mation and get the<br />

parameter value corresponding to the NES parameter name.<br />

Each subroutine has the following meaning.<br />

ASCII environment:<br />

• COBW3_<strong>SAF</strong>_GET_PARM<br />

Searches <strong>for</strong> an NES parameter name consisting of an alphanumeric character<br />

string, and returns the corresponding NES parameter value in an alphanumeric<br />

character string.<br />

Unicode environment:<br />

• COBW3_<strong>SAF</strong>_GET_PARM_XX<br />

Searches <strong>for</strong> an NES parameter name consisting of an alphanumeric character<br />

string, and returns the corresponding NES parameter value in an alphanumeric<br />

character string.<br />

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

Searches <strong>for</strong> an NES parameter name consisting of a national character string,<br />

and returns the corresponding NES parameter value in an alphanumeric<br />

character string.<br />

• COBW3_<strong>SAF</strong>_GET_PARM_XN<br />

Searches <strong>for</strong> an NES parameter name consisting of an alphanumeric character<br />

string, and returns the corresponding NES parameter value in a national<br />

character string.

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

Saved successfully!

Ooh no, something went wrong!