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.

Process Result Data:<br />

• COBW3-SEARCH-FLAG<br />

•<br />

•<br />

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

Condition-name Value Meaning<br />

COBW3-SEARCH-FLAG–NON “0” The specified name is not found.<br />

COBW3-SEARCH–FLAG-EXIST “1” The specified name has been found.<br />

COBW3-COOKIE-VALUE, COBW3-COOKIE-VALUE-N<br />

Set a Cookie value corresponding to the Cookie name to be searched.<br />

The Cookie value is set in COBW3-COOKIE-VALUE <strong>for</strong> COBW3_GET_COOKIE,<br />

COBW3_GET_COOKIE_XX or COBW3_GET_COOKIE_NX.<br />

It is set in COBW3-COOKIE-VALUE-N <strong>for</strong> COBW3_GET_COOKIE_XN or<br />

COBW3_GET_COOKIE_NN.<br />

COBW3-COOKIE-VALUE-LENGTH<br />

Sets the length of Cookie value character string (in bytes) corresponding to the<br />

Cookie name to be searched.<br />

Manipulate Uploaded Files<br />

COBW3_GET_UPLOADFILE_INFO,COBW3_GET_UPLOADFILE_<br />

INFO_X and COBW3_GET_UPLOADFILE_INFO_N<br />

These subroutines acquire the in<strong>for</strong>mation on an uploaded file. Details of these<br />

subroutines are as follows:<br />

ASCII environment<br />

• COBW3_GET_UPLOADFILE_INFO<br />

Retrieves the name of the uploaded file (alphanumeric character string specified<br />

in NAME), and acquires the in<strong>for</strong>mation about the found uploaded file.<br />

Unicode environment<br />

•<br />

•<br />

COBW3_GET_UPLOADFILE_INFO_X<br />

Retrieves the name of the uploaded file (alphanumeric character string specified<br />

in NAME), and acquires the in<strong>for</strong>mation about the found uploaded file.<br />

COBW3_GET_UPLOADFILE_INFO_N<br />

Retrieves the name of the uploaded file (national language character strings<br />

specified in NAME), and acquires the in<strong>for</strong>mation about the found uploaded file.<br />

Format:<br />

CALL "COBW3_GET_UPLOADFILE_INFO" USING COBW3.<br />

CALL "COBW3_GET_UPLOADFILE_INFO_X" USING COBW3.

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

Saved successfully!

Ooh no, something went wrong!