Program Relationship Projections

Statement Format Relationship Entities
ACCEPT
ACCEPT varname 
[FROM mnemonic-name]
  Program.OnlineFlag. = True

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 PEM

(Hogan)

CALL 'PEM' USING 
TRANSACTION-CONTROL-BLOCK.
Program Uses Hogan Activity Id

ActivityID.Name = <name>

ENTRY
ENTRY ‘name’
Program Has Program Entry Point

ProgramEntry.Name = <name>

ProgramEntry. MainEntry = True

PROGRAM-ID
PROGRAM-ID.name
Program Has Program Entry Point

ProgramEntry.Name = <name>

ProgramEntry. MainEntry = True

File Description

SELECT file-name
ASSIGN TO [label-][org-] <name1> [assignment- name2…]
FD file-name.01 file-record-name…
See CRUD statements below.

external-name = <name1>

File attributes:

  • Name = <program-name>. external-file-name
  • DD Name = external-file-name
  • File Type = FILE
Note: A 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 file-name…
Program Deletes From File

See File Description for File attributes.

READ
READ file-name…
Program Reads File

See File Description for File attributes.

REWRITE
REWRITE file-record-name…
Program Updates File

See File Description for File attributes.

WRITE
WRITE file-record-name…
Program Inserts Into File

See File Description for File attributes.