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.

Contents<br />

Chapter 1. <strong>NetCOBOL</strong> <strong>SAF</strong> <strong>Subroutines</strong> .......................................................7<br />

Overview of <strong>SAF</strong>................................................................................................. 7<br />

<strong>NetCOBOL</strong> <strong>SAF</strong> <strong>Subroutines</strong>................................................................................. 7<br />

Chapter 2. Creating Web Applications Using <strong>SAF</strong> <strong>Subroutines</strong>....................9<br />

Requirements....................................................................................................10<br />

What to Generate..............................................................................................10<br />

Using Assist Functions <strong>for</strong> Web Application Development ......................................13<br />

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

<strong>SAF</strong> Subroutine Functions...................................................................................15<br />

<strong>SAF</strong> <strong>Subroutines</strong> Interface..................................................................................23<br />

Set the Work Environment and Acquire Web Parameter........................................24<br />

Manipulate Web Parameters...............................................................................25<br />

Output Processing Results..................................................................................28<br />

Execute System Commands................................................................................45<br />

Free <strong>SAF</strong> Execution Environment Resources.........................................................45<br />

Get Request In<strong>for</strong>mation....................................................................................46<br />

Manipulate Cookie Data .....................................................................................49<br />

Manipulate Uploaded Files..................................................................................55<br />

Manage Sessions...............................................................................................60<br />

<strong>SAF</strong>-Specific <strong>Subroutines</strong>....................................................................................64<br />

Data Length Restrictions of <strong>SAF</strong> <strong>Subroutines</strong>........................................................67<br />

Classes Provided by <strong>SAF</strong> <strong>Subroutines</strong> ..................................................................67<br />

Chapter 4. Generating and Executing a Web Application...........................69<br />

Executing a Web Application ..............................................................................70<br />

Compiling and Linking........................................................................................70<br />

NES Settings .....................................................................................................71<br />

Defining the Web Application to the <strong>SAF</strong> Director .................................................71<br />

Executing a Web Application ..............................................................................77<br />

<strong>SAF</strong> Director Reference ......................................................................................77<br />

<strong>NetCOBOL</strong> <strong>SAF</strong> <strong>Subroutines</strong> User’s <strong>Guide</strong> 5

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

Saved successfully!

Ooh no, something went wrong!