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.

Environment Setup<br />

Chapter 6. Samples 89<br />

Modify the “COBOL85.cbr” initialization file depending on your operating<br />

environment. Set up NES <strong>for</strong> execution of Web applications. For NES setup details,<br />

see “NES setup” in Chapter 4.<br />

Register the MIME extension used in the ACTION attribute of the FORM tag of the<br />

calling page in NES or modify the calling page according to the extension you have<br />

registered in NES.<br />

Sample Execution<br />

Make sure that the NESis started and display the Web page <strong>for</strong> invoking the<br />

application (<strong>SAF</strong>START.htm) in the WWW browser. Then, follow the on-screen<br />

instructions and press the “Execute” button.<br />

Supplements:<br />

If you wish to convert sample operation codes into Unicode, add the “RCS (UCS2)”<br />

compile option during program compiling and convert all HTML documents into<br />

Unicode.<br />

Note: This sample does not operate correctly if you have set the WWW browser not<br />

to accept Cookies.<br />

Explanation of Samples<br />

The following paragraphs show the Web page <strong>for</strong> invoking the application<br />

(<strong>SAF</strong>SART.htm), Web pages <strong>for</strong> processing output (<strong>SAF</strong>RPLY1.htm, <strong>SAF</strong>RPLY2.htm)<br />

and the COBOL program (<strong>SAF</strong>MAIN.cob) .<br />

Web page <strong>for</strong> invoking the application (<strong>SAF</strong>START.htm)<br />

<br />

<br />

Start screen <br />

<br />

<br />

This is a sample which is used <strong>SAF</strong> subroutine. <br />

If you confirm the operation, please press “Execute” button. <br />

If you exit, please close this browser. <br />

<br />

<br />

<br />

<br />

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

Saved successfully!

Ooh no, something went wrong!