Skip to Main Content
Due to the recent acquisition by IBM, the Adabas & Natural Ideas Portal does not contain ideas from products ApplinX and EntireX any longer. Please refer to the IBM Ideas Portal for these products from now on (IBMid required). Existing content will be migrated during the next few weeks.
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