Highlighted
Super Contributor.
Super Contributor.
56 views

Feature Request: Add Quick Action for declaring data items

Currently, when declaring data items, it's sometimes a hassle to declare the correct data item size:

VALUE literal size ˃ data item size. Literal truncated.png

 

I'd like to propose to add a Quick Action to warning COBCH1007 (and similar warnings/errors) that's updating the PICTURE clause according to the provided value.

Quick Action.png

 

For textual values there may be a list of suggested Quick Actions provided by the proposed feature from which the user may choose. This list may provide options like:

  • X(n)
  • A(n)
  • XXXXXXX...
  • AAAAAAA...

For numerical values the corresponding "S" or "9" values should be added ("9" either left or right to an optional "V" PICTURE clause spec).

I'm not sure if there are a set of rules for edited numerical values that can be derived from a VALUE clause. If so, there may be a list of suggested Quick Actions provided by the proposed feature from which the user may choose, too.

Labels (1)
Tags (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.