The syntax of the WRITE WORK FILE statement forces the to be an explicit numeric literal (ex: 1, 7, 22).
It should be possible to use a named constant instead.
Benefits:
- code beomes more readable.
- Searching inside a program becomes morehandy ( search CUSTOMER_FILE gets better hits than searching theliteral 2)
- application specific standards can be defined. One can define a local data area which defines named constants for work files.
Created on Brainstorm | 08/20/2018 05:22 AM |
Brainstorm ID | 6206 |