AWS Transform for mainframe refactor offers Natural language dependencies analysis as a standalone technology. It supports multiple files including NSD (DDM), NSG (Global Data Area), NSL (Local Data Area), NSA (Parameter Data Area), NST (Text), NSH (Helproutines), NSM (Map), NSN (Subprogram), NSS (Subroutine), SYSDICBE (Dictionary), NSP (Program) and NSC (Copycode). Calls to files can be managed with or without quotes (‘FILE’ or FILE) following the statements listed below.
The call on CALLNAT implies dependencies on an NSM, NSP, NSN, NSH, NSS, or NSC file.
CALLNAT PROGRAM_NAMEThe call on MAP implies dependencies on an NSM file.
MAP MAP_NAMEThe call on FORM implies dependencies on an NSM file.
FORM MAP_NAMEThe call on PERFORM implies dependencies on an NSM, NSP, NSN, REPORT, NSH, NSS, or NSC file.
PERFORM PROGRAM_NAMEPERFORM PROGRAM_NAME 'ARG1' ARG2 The call on INCLUDE implies dependencies on an NSC file.
INCLUDE COPYCODE_NAMEThe call on FETCH implies dependencies on an NSM, NSP, NSN, NSH, NSS, or NSC file.
FETCH PROGRAM_NAME FETCH RETURN PROGRAM_NAME FETCH REPEAT DDM_NAMEThe call on HE implies dependencies on an NSH file.
HE=HELPROUTINE_NAMEDEFINE DATA
In a Define Data block, we may have an NSG, NSL, or NSA file.
Or an NSD file :
The calls on READ, FIND and GET imply a Read file dependency on an NSD file.
READ DDM_NAMEFIND DDM_NAMEGET DDM_NAMEThe call on STORE implies a Store file dependency on an NSD file.
STORE DDM_NAMEThe call on HISTOGRAM implies a Histogram file dependency on an NSD file.
HISTOGRAM DDM_NAMEThe calls on UPDATE and DELETE imply an Update file or Delete file dependency on the NSD file of the enclosing loop.
UPDATEDELETEThe calls on READ WORK FILE and WRITE WORK FILE imply a Read work file or Write work file dependency on the work file bound to that number by DEFINE WORK FILE.
READ WORK FILE WORK_FILE_NUMBERWRITE WORK FILE WORK_FILE_NUMBERDEFINE WORK FILE WORK_FILE_NUMBER OPERANDA DDM implies an Adabas file dependency on the ADABAS file named in its header, and can also be referenced by that name.
DB: 000 FILE: 011 - ADABAS_FILE_NAME