Tom Conley writes:
>So where's the doc on how to add an IND$FILE button to HATS?
>I've looked high and low at the HATS doc, but I can't find IND$FILE
>even mentioned.

It's well hidden in the docs and somewhat theoretical.  I'll try to sketch
it out.

First of all, what's the client protocol going to be?  If you're
transferring a file to a browser client, you've got a limited set of
choices.  Perhaps the "best" way is to trigger a pop-up file-save dialog
for an HTTP file transfer stream.  An alternative might be FTP.

Once you've made that decision, then you quickly realize you're going to
need some code running in WebSphere Application Server that'll handle any
translation, unless you're just worried about binary files, and send the
stream of bytes is coming from the host to the client.  So you're going to
have some programming to "glue" the client to the backend HATS code (and
connections).  This might be a bit trickier if you're trying to implement
upload.

Fortunately the underlying HACL interfaces offer file transfer protocol
support.  (Check the Host Access Client Toolkit docs for details.)  And you
can invoke HACL functions from HATS macros, as one example.  There's no
wizard in the HATS Studio to generate the XML to do that, so you'll have to
write the XML by hand (or possibly copy/paste out of the doc examples).

Note that if it's a printer session that's already provided in HATS, via
built-in conversion to PDF and presentment to the browser.

Anyway, it's possible, but it'll take a little work and some knowledge of
at least basic Java programming.

- - - - -
Timothy Sipples
IBM Consulting Enterprise Software Architect
Specializing in Software Architectures Related to System z
Based in Tokyo, Serving IBM Japan and IBM Asia-Pacific
E-Mail: [EMAIL PROTECTED]
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to