LISTDICT Proc

The LISTDICT Proc sorts and lists the items in any specified file dictionary by attribute number (AMC).

Format

LISTDICT [filename] [modifiers] [(options)]

Parameter(s)

filename

Name of the dictionary. If no file name is specified, LISTDICT displays the Attribute Definition items in the Master Dictionary.

modifiers

Can be one of the following:

LPTR

Sends output to the printer.

NOPAGE

Suppresses automatic paging.

options

Can be one of the following:

P

Sends output to the printer.

N

Suppresses automatic paging.

Listing Attribute Definition Items in a Dictionary

The following example lists the Attribute Definition items in the CUSTOMERS dictionary. Only the first two pages of the report are shown. To list dictionary items in columnar format, send the report to the printer.

PAGE 1

15:32:27  dd mmm yyyy

 

 

CUSTOMERS : CITY/ST

 

CODE   S

 

A/AMC   0

 

S/NAME   CITY/ST

 

CORRELATIVES   C;4,5

 

TP   L

 

MAX   20

 

 

 

CUSTOMERS : FULLNAME

 

CODE   S

 

A/AMC   0

 

S/NAME   FULL NAME

 

CORRELATIVES   C;2,1

 

TP   L

 

MAX   20

 

 

 

CUSTOMERS : FIRST-NAME

 

CODE   A

 

A/AMC   1

 

S/NAME   First Name

 

TP   L

 

 

PAGE 2

15:33:57  dd mmm yyyy

 

 

MAX   10

 

 

 

CUSTOMERS : FNAME

 

CODE   A

 

A/AMC   1

 

S/NAME   First

 

TP   L

 

MAX   7

 

 

 

CUSTOMERS : LAST-NAME

 

CODE   A

 

A/AMC   2

 

S/NAME   Last Name

 

TP   L

 

MAX   18

 

 

 

CUSTOMERS : LNAME

 

CODE   A

 

A/AMC   2

 

S/NAME   Last Name

 

TP   L

 

MAX   10