Previous Topic: EDIT PROGRAM CommandNext Topic: EDIT REPORT Command


Operand Definitions

Operand

Description

*

Displays the current program definition. You can use the name of a program component (or equivalent function key) to locate another component in the current program definition.

name

One‑ to eight‑character name of the program definition.

version

The specific version of the program. This entry is allowed (but not required) only if you specified a program name. If you omit both version and name, the default version of the current program displays. If you specify name and omit version, the default version of the named program displays. See the SET VERSION command for more information on setting the default version.

Operand

Description

component

The component to edit. To display another component of the current program, you can enter the component name without specifying the EDIT command or press the equivalent function key. Valid components are:

ENVIRONMENT (CA Datacom SQL only) Displays the program environment definition fill‑in. Program environment data is defined and maintained using the fill‑in shown in Creating Programs. You can specify default values for the fill‑in using the SET DBSQL command.

IDENTIFICATION Displays the program identification definition fill‑in.

RESOURCES Displays the program resources fill‑in. The program resources fill‑in specifies the resources the application uses. These resources can include dataviews, panels, reports, and subprograms.

PARAMETER Displays the parameter definition fill‑in. Parameter data consists of the names and descriptions of data items to pass to this program from a calling program or to this program using a RUN command.

WORK Displays the working data definition fill‑in.

PROCEDURE (Default) Displays the procedure definition fill‑in. If you enter this command before the procedure is defined, a blank screen appears, ready for PDL statements. If you enter this command after a procedure is defined, then as many lines of the procedure (from the top) as fit in the region display. The case of the text entered in the procedure fill‑in is determined by the SET EDIT CASE command.

Note: For non‑deal programs, the only valid entries are IDENTIFICATION and PARAMETER.