Previous Topic: Program TypesNext Topic: Organizing Programs into Modules


Choosing Standard Programs

The data structures upon which standard programs on iSeries are most commonly based are either those of iSeries database from which the programs obtain data, or of the CUA panel types which the programs use to present the data to the user. In many cases, both are relevant. In the commonly required cases, the data structure is either a record, a repeating group of records, or a combination of the two.

The following table shows this:

CUA Program Type

No. of Fmts

OS/400 example

CA 2E example

Single record display
Entry

1

DSPDTAARA

DSPRCD

Multi-record display
List

n

DSPOBJD

DSPFIL

Multi-record display with selection,
List

n

DSPOUTQ

SELRCD

Single record update
Entry

1

DFU single record

EDTRCD

Mulit-record (header + details)

1 + n

DSPSYSSTS

EDTTRN

Single record report

1

DSPDTAARA

PRTFIL

Multi-record report - With level breaks and/or totals

n

DSPFD generic

PRTFIL