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.

Value Meaning<br />

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

0 Searches the name using the length up to the last character excluding the<br />

blank.<br />

1 to 1024 Searches the name using the specified string length.<br />

• COBW3-NUMBER [optional]<br />

Sets the order of appearance of NAMES to be searched when there are multiple<br />

NAMES with the same name in the Web parameters.<br />

Condition name Value Meaning<br />

COBW3-NUMBER-INIT 1 Searches the name that matches first.<br />

- - - - - - - - - - 2 to Searches the name in the specified order of<br />

9999 appearance.<br />

• COBW3-UPLOADED-FILENAME<br />

Specify the name of the file to be generated on the server.<br />

Processing Result Data:<br />

• COBW3-SEARCH-FLAG<br />

Condition name Value Meaning<br />

COBW3-SEARCH-FLAG-NON "0" The name to be searched does not exist.<br />

COBW3-SEARCH-FLAG-EXIST "1" The name to be searched exists.<br />

COBW3_DEL_UPLOADFILE<br />

This subroutine deletes an uploaded file that was generated using a subroutine such<br />

as COBW3_GEN_UPLOADFILE.<br />

This subroutine can delete a file that was generated using<br />

COBW3_GEN_UPLOADFILE, COBW3_GEN_UPLOADFILE_X or<br />

COBW3_GEN_UPLOADFILE_N within the same request. File generation or deletion<br />

among two or more requests (two or more pages) cannot be per<strong>for</strong>med.<br />

Format:<br />

CALL "COBW3_DEL_UPLOADFILE" USING COBW3.<br />

Data setting <strong>for</strong> calling:<br />

• COBW3-UPLOADED-FILENAME<br />

Set the name of the file to be deleted.<br />

Processing Result Data:<br />

None

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

Saved successfully!

Ooh no, something went wrong!