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

Filler notation for WRITE WORK FILE

Enhancement Request:
Please consider allowing filler notation (nX) with the WRITE WORK FILE statement.

Example:
WRITE WORK FILE 1 VARIABLE #VAR1 2X #VAR2 5X #VAR3

Reason:
Filler notation is intuitive and gives a consistent feel to the language syntax. It is also more efficient (for the programmer) than using COMPRESSto concatenateseveral variables into a single long variable, or using COMPRESS with "space" variables just to satisfy the WRITE WORK FILE limitation.

Created on Brainstorm 09/20/2018 07:40 PM
Brainstorm ID 6300
  • Admin
    Eli Cohen
    Reply
    |
    Sep 19, 2021

    We understand the use of 1X 2X, but this could be solved using :

    WRITE ... #VAR1 ' ' #VAR2.

  • +2