Program Relationship Projections

Statement Format Relationship Entities

CALL

CALL ‘name’
Program Calls Program Entry Point

ProgramEntry.Name = <name>

CALL

(dynamic)

CALL varname
Program Calls Program Entry Decision

Decision attributes:

  • Name = <program-name>@ <internal-name>
  • #Also Known As = <program-name>. Calls.<varname>
  • Decision Type = PROGRAMENTRY…

CALL FILE

CALL FILE ‘name’
Program Calls Program Entry Point

ProgramEntry.Name = <name>

CALL LOOP

CALL LOOP ‘name’
Program Calls Program Entry Point

ProgramEntry.Name = <name>

CALL LOOP

(dynamic)

CALL LOOP varname
Program Calls Program Entry Decision

Decision attributes:

  • Name = <program-name>@ <internal-name>
  • #Also Known As = <program-name>. Calls.<varname>
  • Decision Type = PROGRAMENTRY…

CALLNAT

CALLNAT ‘name’
Program Calls Program Entry Point

ProgramEntry.Name = <name>

CALLNAT

(dynamic)

CALLNAT varname
Program Calls Program Entry Decision

Decision attributes:

  • Name = <program-name>@ <internal-name>
  • #Also Known As = <program-name>. Calls.<varname>
  • Decision Type = PROGRAMENTRY…

FETCH

FETCH ‘name’
Program Calls Program Entry Point

ProgramEntry.Name = <name>

FETCH

(dynamic)

FETCH varname
Program Calls Program Entry Decision

Decision attributes:

  • Name = <program-name>@ <internal-name>
  • #Also Known As = <program-name>. Calls.<varname>
  • Decision Type = PROGRAMENTRY…

PERFORM

PERFORM ‘name’
Program Calls Program Entry Point

ProgramEntry.Name = <name>

RUN

RUN ‘name’
Program Calls Program Entry Point

ProgramEntry.Name = <name>

RUN

(dynamic)

RUN varname
Program Calls Program Entry Decision

Decision attributes:

  • Name = <program-name>@ <internal-name>
  • #Also Known As = <program-name>. Calls.<varname>
  • Decision Type = PROGRAMENTRY…

File Description

name FILE; 
See CRUD statements below.

external-file-name = <name>

external-file-name = <title>

File attributes:

  • Name = <program-name>. external-file-name
  • DD Name = external-file-name
  • File Type = ADABAS File
Note: An ADABAS File object is generated only when the first CRUD statement for the file is encountered. File attributes do not depend on the CRUD statement itself.
DELETE
DELETE RECORD IN STATEMENT 
Program Deletes From ADABAS File

See File Description for ADABAS File attributes.

FIND
FIND RECORDS IN FILE (name)
Program Reads ADABAS File

See File Description for ADABAS File attributes.

GET
GET IN FILE (name) RECORD 
Program Reads ADABAS File

See File Description for ADABAS File attributes.

HISTOGRAM
HISTOGRAM IN FILE (name)
Program Reads ADABAS File

See File Description for ADABAS File attributes.

READ
READ RECORDS IN FILE (name)
Program Reads ADABAS File

See File Description for ADABAS File attributes.

READ WORK FILE
READ WORK FILE (name)
Program Reads File

external-file-name = <name>

external-file-name = <title>

File attributes:

  • Name = <program-name>. external-file-name
  • DD Name = external-file-name
  • File Type = FILE
STORE
STORE RECORD IN FILE (name) 
Program Inserts Into ADABAS File

See File Description for ADABAS File attributes.

UPDATE
UPDATE RECORD IN STATEMENT 
Program Updates ADABAS File

See File Description for ADABAS File attributes.

WRITE WORK FILE
WRITE ... 
Program Inserts Into File

external-file-name = <name>

external-file-name = <title>

File attributes:

  • Name = <program-name>. external-file-name
  • DD Name = external-file-name
  • File Type = FILE