Skip to Main Content
The Adabas & Natural Ideas Portal does not contain ideas from products ApplinX and EntireX. Please refer to the IBM Ideas Portal for these products (IBMid required).
ADD A NEW IDEA

Search results: Programing Syntax (Cross platforms)

Showing 5 of 86

Allow spacer element (“1X”) in COMPRESS statement

With a COMPRESS statement the contents of one or more operands (Vari or Const) can be concatenated into a single target field. Beside some other options, two different clauses are available to determine the value separation behavior. (1) With LEAV...
Thomas Frischmann about 1 year ago in Natural for z/OS / Natural (NAT) / Programing Syntax (Cross platforms) 0 Planned

Allow (CV=) after a literal string

Natural allows the use of dynamic control variables during INPUT and WRITE. BUT: the use of those (CV=<control_variable>) is restricted to a variable, not to a literal text. If you want to have a different visual behavior for a string, you m...
Philippe Van Coppenolle about 1 year ago in Natural for z/OS / Programing Syntax (Cross platforms) 0 Future consideration

Function "ODD()"

If you want to know if a number is odd or even, you can do the following now: IF #I <> #I / 2 * 2 THEN ... END-IF This takes however quite a bit of CPU, but it can already by simplified by following declarations: 1 #I (I4)1 REDEFINE #I 2 FIL...
Philippe Van Coppenolle almost 2 years ago in Natural for z/OS / Programing Syntax (Cross platforms) 0 Future consideration

READ DESCENDING BY ISN

Background: Occasionally, we want to access the LAST record in a file, but there is no simple way to do this. For Adabas files with the option ISN-Reusage=No,a feature such as READ (1) DESCENDING BY ISN would achieve this requirement simply & ...

AND, OR, XOR for binary fields

It is currently not possible to do any "binary" operation on binary fields, like AND, OR, XOR or NOT. This makes declarations of particular bit-constants quasi useless, e.g. ... 3 #TB_VDT_FLAG (B01) /* various property flags...1 #TB_VDT_FLAG_VALUE...
Philippe Van Coppenolle about 2 years ago in Natural for z/OS / Natural (NAT) / Programing Syntax (Cross platforms) 0 Future consideration