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.

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

WWW Browser WWW Server<br />

Screen1<br />

Screen2<br />

Note: If multiple Web applications using the session are started by double-clicking a<br />

button <strong>for</strong> which SUBMIT is specified as the TYPE attribute of the INPUT tag, the<br />

applications will not operate properly. The programmer should prevent the<br />

inadvertent starting of multiple applications by using JavaScript in the WWW<br />

browser. See "<strong>NetCOBOL</strong> Web <strong>Guide</strong>" <strong>for</strong> general notes on WWW browser<br />

operation.<br />

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

After a long time<br />

passes, access to the<br />

Web application<br />

Web<br />

Application 1<br />

TIMEOUT<br />

Web<br />

Application 2<br />

<strong>SAF</strong> specific functions enable getting in<strong>for</strong>mation specifically related to NES .<br />

Listed below are <strong>SAF</strong> specific subroutines.<br />

Function Subroutine name Usage<br />

Getting NES setting COBW3_<strong>SAF</strong>_GET_PARM Getting the parameter specified to<br />

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

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

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

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

the <strong>SAF</strong> director<br />

Getting request COBW3_<strong>SAF</strong>_GET_BASENAME Getting the application name<br />

in<strong>for</strong>mation<br />

specified to the URL<br />

Note: Use the following subroutine in an ASCII environment:<br />

COBW3_<strong>SAF</strong>_GET_PARAM<br />

Session<br />

start<br />

Timeout<br />

processing<br />

Session data<br />

is <strong>for</strong>ced<br />

Session data<br />

cannot be<br />

inherited

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

Saved successfully!

Ooh no, something went wrong!