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

Allow Edit Masks to be named constants

Natural provide the "Edit Mask"-feature which is most useful. I would like to see an improvement in using this feature.

Currently, the Edit Mask must explicitly specified when used. If you have big applications the used Edit Mask are dispersed in in a bunch of Programs, Subprograms, Subroutines. Any change of a specific Edit Mask ends in an annoying search.

To enforce standards it would be nice if an Edit Mask can be defined as a named constant. If these constants are placed in an Local all related natural objects can make use of the same definition.

In addition the code looks smarter (at least for me). Pls see

MOVE EDITED CUSTOMER.SALES (EM=Z,Z(3),Z(3),Z(2)9) TO PRINT.SALES

vs.

MOVE EDITED CUSTOMER.SALES (EM=SALES_PRINT_FORMAT) TO PRINT.SALES


Use Case Enforce Standards and make life easier
Created on Brainstorm 11/11/2019 02:00
Brainstorm ID 7456
  • Admin
    Eli Cohen
    Reply
    |
    Sep 9, 2021

    Allowing EM with a constant has not been requested in the past, this is the first request that we received. from our point of view it will make sense to use the EM within the command and not based on constant.

  • +1