Skip to Main Content
ADD A NEW IDEA

FILTER BY CATEGORY

Programing Syntax (Cross platforms)

Showing 5 of 393

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 about 2 months ago in Natural for z/OS / Programing Syntax (Cross platforms) 0 New

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 4 months ago in Natural for z/OS / Natural (NAT) / Programing Syntax (Cross platforms) 0 Future consideration

New Natural System Command, e.g. WHICH <module>, to determine called module

New Natural command idea: " WHICH <module> ". Shall return the library (dbid,fnr), which a called module was loaded from. It could also return the complete search path (all searched libraies, wher the modeule has not been found). It can be h...
Georg Schmitt almost 2 years ago in Natural for z/OS / Natural (NAT) / Natural Security (NSC) / Programing Syntax (Cross platforms) 0 Under development

Allow for I8 datatype

OpenSystems hardware has it for a long time, z/Series has it for quite a while now, so by now there is no platform NOT natively supporting 64-bit arithmetic. So please introduce an I8 datatype into Natural - on all supported platforms (and NOC as ...
Wolfgang Winter about 2 years ago in Natural for z/OS / Natural (NAT) / Programing Syntax (Cross platforms) 1 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 & ...
Guest about 2 years ago in Natural for z/OS / Natural (NAT) / Natural for Adabas (NAC) / Programing Syntax (Cross platforms) 0 Under development