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.

Application Form<br />

Appendix D. CGI To <strong>SAF</strong> <strong>Subroutines</strong> Conversion <strong>Guide</strong> 117<br />

Old Subroutine name New Substitute subroutine name<br />

COBW3_NAME<br />

COBW3_GET_VALUE<br />

COBW3_GET_VALUE_XX<br />

COBW3_GET_VALUE_NX<br />

COBW3_GET_VALUE_XN<br />

COBW3_GET_VALUE_NN<br />

COBW3_VALUE COBW3_CHECK_VALUE<br />

COBW3_CHECK_VALUE_X<br />

COBW3_CHECK_VALUE_N<br />

COBW3_CNV_SET COBW3_SET_CNV<br />

COBW3_SET_CNV_XX<br />

COBW3_SET_CNV_NX<br />

COBW3_SET_CNV_XN<br />

COBW3_SET_CNV_NN<br />

COBW3_CNV_DEL COBW3_DEL_CNV<br />

COBW3_DEL_CNV_X<br />

COBW3_DEL_CNV_N<br />

COBW3_CNV_INIT COBW3_INIT_CNV<br />

CGI applications and <strong>SAF</strong> applications have different executable <strong>for</strong>mats. CGI<br />

applications execute as a main EXE file, whereas <strong>SAF</strong> applications execute as<br />

subroutine in .DLL files. Thus, it is necessary to make alterations in the following<br />

manner:<br />

• Descriptions of the Web applications started on the Web page <strong>for</strong> invoking<br />

applications<br />

• Compilation and linking methods<br />

Web Pages <strong>for</strong> Invoking Applications<br />

Change the extension “.EXE” of the Web applications on the invoking Web page into<br />

the extension (MIME type) used by the applications on NES. Be<strong>for</strong>e changing the<br />

extension, it is necessary to correct the obj.conf file and to register the MIME type.<br />

For details, refer to the Chapter2 or Chapter3.<br />

For example, a CGI application "CGI.EXE" and a <strong>SAF</strong> application "<strong>SAF</strong>.DLL" should be<br />

changed as shown below.<br />

Web page <strong>for</strong> invoking the CGI applications<br />

<br />

...<br />

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

Saved successfully!

Ooh no, something went wrong!