Skip to Main Content
Status Released
Workspace Natural for z/OS
Categories Natural (NAT)
Created by Christian Held
Created on Jul 15, 2021

WRITE WORK FILE / allow <work-file-number> to be a named constant

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
  • +6