I'm running COBOL CICS code to interact with a web browser using CICS TS
1.3. I've got the HTML 'dynamic' code with data in a table to post at the
end of a web page created with a static template, but I need to insert it
into a particular spot on the page. My code below won't work with the AT
parm included. I assume I'm setting up the parameter wrong... can someone
clue me in on how to setup this value?
003379 EXEC CICS DOCUMENT INSERT
003380 DOCTOKEN (WEB-DOCTOKEN)
003381 TEXT (DETAIL-TABLE)
003382 LENGTH (LENGTH OF DETAIL-TABLE)
003383*** WAIT AT (BKMDETAILS) <--- What should
this look like?
003384 RESP (CICS-RESP)
003385 END-EXEC
003386
The template (static HTML page) has the bookmark #bkmDetails.
I tried various AT parameters options, such as the following that's
highlighted in the above code:
001019 05 BKMDETAILS PIC X(016) VALUE X'7B829294C485A3818993A2'.
001020*** NEEDS AT LEAST 16 BYTES LONG, ELSE STORAGE FOLLOWING THIS
001021*** VALUE GETS PULLED IN...
Any help please - the IBM CICS Web Interface book is very vague.
Thanks in advance - Ed
<!--DFHBOOKMARK=BKMDETAILS -->
Post note that the bookmark value has to be 16 bytes long with trailing
spaces. You can use the web "EXEC CICS" API (I forgot to write this down,
but refer to the redbook hyperlink below) to insert a "DFH"bookmark or use
an editor to insert it manually. Then the CICS DOCUMENT INSERT command will
work.
The IBM redbook is at http://www.redbooks.ibm.com/SG245480/sg245480.pdf -
it's about 3.5meg.
Ed
Ed <edie...@twcny.rr.com> wrote in message
news:71aF3.13312$r6.3...@typhoon.nyroc.rr.com...