Rule Definition
Using static calls implies that both calling and called programs are linked at compilation time and are loaded at run-time in same memory location. It is better to use dynamic call to avoid that dependency.
Remediation
Try to replace static calls by dynamic calls.
Violation Code Sample
CALL "SUBPROG" USING RECORD-1.
Fixed Code Sample
WORKING-STORAGE SECTION.
01 PGM-NAME PICTURE X(8).
...
MOVE "SUBPROG" TO PGM-NAME.
CALL PGM-NAME USING RECORD-1. (1)
Related Technologies
Technical Criterion
Efficiency - Memory, Network and Disk Space Management
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.