products/Sources/formale Sprachen/COBOL/verschiedene-Autoren/CICS/ca84/insthomp.htm |
 |
<html>
<head>
<title>"How to make an MVS CICS/ESA CWI home Page"</title>
<body bgcolor="#FFFFFF">
<center>
<h1>How to make an MVS CICS Web Interface Home Page.</h1>
</center>
<hr>
<p>
This page gives guidance on the <a href="#inst">Installation</a>
and <a href="#exec">Execution</a> of the CICS/ESA CWI INTROC
converter program. This program is a sample which will create a
default homepage for your CWI system.
<p>
To use the INTROC sample you need to:
<dl> <dt> 1. Create a page of HTML to use as your homepage, call it
INDEX and put it in the HTML PDS on MVS. A sample homepage
has been provided for you to use if you wish.
<dt> 2. Upload INTROC.COB to your MVS or OS/390 system and follow
the instructions below.
</dl>
<p>
These instructions explain how to use a sample COBOL program that will
when combined with a few changes to the CWI analyzer program serve a
default home page such as <b>http://your.cics.system/</b> without
the need for a converter, tranid or CICS program being specified in the URL.
INTROC is a CWI converter only, no application logic program is invoked as
all processing is done within the ENCODE section of the converter.
<hr><p>
This is just one method of setting up a <b>home page</b> using your
<b> CWI </b> host system. INTROC will quite simply serve the single
HTML page INDEX. No processing is done other than using the template
manager to recover the page from the PDS pointed to by your DFHHTML
DD statement. The Home Page may contain links to your other CWI
resources, graphics or whatever.
<h2><a name="inst">Installation Notes</a></h2>
<dl>
<p><dt> Design and create your homepage named <b>INDEX</b> and place
it in the DFHHTML DD PDS. A sample homepage (INDEX.HTM) is provided
with this support pack. If you wish to use INDEX.HTM then upload it to
the MVS HTML templates PDS as member INDEX using your normal
procedures.
<p><dt> Compile and link edit the COBOL program INTROC
using your normal CICS compile procedures.
<p><dt> Update your CICS System Definition (CSD) dataset with the INTROC
program definition, using the CSD input file provided (CA84CSD).
<p><dt> Add the following COBOL code to the COBOL analyzer (DFHWBAOX) - or
write equivalent code in your preferred analyzer language.
It should appear after the 'Validate Resource Length'
comment and before the comparrison to 'WBADX-MIN-RESOURCE-LENGTH'
is made.
<p>
<br>
<dl><table border=2><tr><td>
if rl = 1
<dl><dt> move 'INTROC ' to wbra-converter-program
<dt> move 'CWBA' to wbra-alias-tranid
<dt> move low-values to wbra-server-program
<dt> move URP-OK to wbra-response
<dt> move 0 to wbra-reason
<dt> EXEC CICS RETURN END-EXEC.
</dl></td></tr></table></dl><br>
What this analyser code does is compare the resource-length
to 1 then proceeds accordingly. In other words, if the
URL requested is equal to '/' then it will set the converter
program to be INTROC the alias transaction as CWBA and sets
no server-program.
<p><dt> Reinstall the analyzer and ensure that your modified
analyzer is the one being used by the CWI. This can be
done using option 2 from the CWBC transaction and setting
the converter name to your new converter. Press enter twice
to save this change then disable and reenable the CWI
(option 1 from CWBC).
</dl><hr>
<h2><a name="exec">Execution</a></h2>
<p>
If all the above works correctly you should now be able to point
your favourite web browser at the following URL:
<b>http://your.CICS.system/</b> and you will receive the HTML page <b>INDEX</b>
at the browser.
<hr>
</body>
</html>
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
|
Haftungshinweis
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.
|