Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EXEC CICS DOCUMENT INSERT 'AT' parameter

35 views
Skip to first unread message

Ed

unread,
Sep 19, 1999, 3:00:00 AM9/19/99
to

Help please...

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


Ed

unread,
Sep 21, 1999, 3:00:00 AM9/21/99
to
I found the answer... I expected it to search on HTML bookmarks, but it's
really searching on IBM CICS formatted bookmarks. You can insert one of
these as:

<!--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...

0 new messages