Previous Topic: Fixed ScreensNext Topic: Using Menu Facility Screens


Pageable Screens

Pageable screens allow menu facility users to submit many source statements or options to the DDDL compiler. Pageable screens are identified by the upper right corner, which displays page and line numbers in the following format:

PAGE page-number LINE line-number

The following is an example of a pageable screen.

Example of a Pageable Screen

IDD REL nn.n *** COBOL ELEMENTS *** COBL ─► PAGE 1 LINE 1 1/36 RECORD 'DEPARTMENT' VERSION 1 ---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+---- 02 DEPT-ID PICTURE IS 9(4) USAGE IS DISPLAY *+ ELEMENT LENGTH IS 4 *+ POSITION IS 1 ELEMENT NAME SYNONYM IS DEPTID FOR RECORD SYNONYM DEPARTMT VERSION 1 ELEMENT NAME SYNONYM IS DPID FOR RECORD SYNONYM DEPT VERSION 1 . 02 DEPT-NAME PICTURE IS X(45) USAGE IS DISPLAY *+ ELEMENT LENGTH IS 45 *+ POSITION IS 5 ELEMENT NAME SYNONYM IS DEPTNAME FOR RECORD SYNONYM DEPARTMT VERSION 1 ELEMENT NAME SYNONYM IS DPNAME FOR RECORD SYNONYM DEPT VERSION 1

Two areas of a Pageable Screen

IDD menu facility pageable screens are divided into two areas:

Heading and Message Area

The heading and message area contains a preformatted first line, the command area, and the message line:

Specification Area

The specification area contains screen-specific information according to the type of pageable screen. For example, in a pageable screen that contains text, the specification area is unformatted. In a pageable screen that identifies relationships between two entities, the specification area is formatted with blocks of lines that represent a relationship.

Two Types of Pageable Screens

There are two types of pageable screens:

The following text describes how paging works for each of the two screen types.

Screens that contain text

On these screens, each line of text is considered one line of data. As with online IDD screens, text is typed in freeform style. A column scale at the top of the screen makes formatting easier.

Examples of screens that contain text:

Screens that identify relationships

On these screens, each group of lines that represents an entity is considered one line of data.

Examples of screens that identify relationships: