iTP Active Transaction Pages (iTP ATP) Programmer's Guide

iTP Active Transaction Pages (iTP ATP) Programmer’s Guide522292-002
B-1
B
DDL Dictionary Viewer (dview)
The Data Definition Language (DDL) Dictionary Viewer (dview) is a sample ATP
application and a useful ATP script-development tool. DDL is the Compaq product you
use to define message layouts for applications that use NonStop TS/MP.
When you use dview, you specify the name of a DDL dictionary and select a message
layout. In response, dview displays information about the message layout and
generates atp.field object constructors you can paste into your script.
As a sample application, dview demonstrates the use of the atp.dictionary,
atp.field, and atp.request objects and several ATP global functions, including
atp.print and atp.quit.
This appendix includes the following subsections:
Installing dview on page B-1
Running dview on page B-1
Choosing a DDL Dictionary on page B-2
Choosing a Message Layout on page B-2
Studying the Message Layout on page B-2
Using the Field Object Constructors on page B-2
Installing dview
The dview application and a sample dictionary are installed automatically when you
run the ATP installation script. You must create and populate any other dictionary you
wish to use.
Running dview
To run dview, navigate to the DDL Dictionary Viewer from the ATP home page
/examples/index.html.