Version 6.3.8 for OpenVMS
 —  Release Notes for Natural Version 6.3 for OpenVMS  —

Release Information for Natural Version 6.3.8

This document covers the following topics:


New Features

Application Programming Interfaces

The utility SYSEXT provides the following new application programming interfaces (APIs):

API Description
USR4217N Send data to the webMethods Optimize for Infrastructure Data Collector.
USR4218N Provide information on the context in which the Natural Development Server runs, for example, the version of the client.

Natural Functions for URL and Base64 Encoding

Natural now provides functions for encoding or decoding URL addresses, and for converting binary data into printable, network-compatible data (or vice versa) using Base64 encoding. For further information, see Natural Functions in the System Functions documentation.

Natural Web I/O Interface Client

The Natural Web I/O Interface is now delivered in the Version 1.3.6.

Support is provided for the following:

Top of page

Changes and Enhancements

Assigning a Floating Point Operand (Format F) to a Numeric or Packed Operand (Format N or P)

When a floating point operand (format F) is assigned to a numeric or packed operand (format N or P), the result as compared to Natural Version 6.3.7 may be different. As of Natural Version 6.3.8, the result of the COMPUTE statement will not be rounded any more if the ROUNDED option is not used. This applies regardless of whether the operand has been explicitly defined by the user or implicitly created by Natural to hold intermediate results (see example 2 below). This change has been made in the runtime and is therefore effective when executing programs with Natural Version 6.3.8. It is not necessary to recatalog the programs.

Example 1:

DEFINE DATA
  LOCAL
  1 #SRC (F8)
  1 #TAR (N2.6)
END-DEFINE
#SRC :=  14.9999999
COMPUTE  #TAR := #SRC
PRINT #TAR
COMPUTE  ROUNDED #TAR := #SRC
PRINT #TAR
END

Results in Natural Version 6.3.7:

15.000000
15.000000

Results in Natural Version 6.3.8:

14.999999
15.000000

Example 2:

DEFINE DATA
  LOCAL
  1 #SRC (N11.7)
  1 #TAR (N2.7)
END-DEFINE
#SRC :=  224.9999999
COMPUTE  #TAR = SQRT(#SRC)  /* INTERMEDIATE F8 FIELD
PRINT #TAR
COMPUTE  ROUNDED #TAR = SQRT(#SRC)
PRINT #TAR
END

Results in Natural Version 6.3.7:

15.0000000
15.0000000

Results in Natural Version 6.3.8:

14.9999999
15.0000000

Top of page

Natural Remote Procedure Call (RPC)

Natural Remote Procedure Call (RPC) is available as a separate subcomponent of Natural. It has its own version number. This measure takes into account that Natural RPC is a cross-platform component and makes it possible to provide new Natural RPC versions independent of new Natural versions for the various platforms supported.

With Natural Version 6.3.8, an enhanced Natural Remote Procedure Call Version 6.3.3.3 is delivered that replaces the existing Natural RPC Versions 6.3.3.1 and 6.3.3.2.

As of Version 6.3 of Natural Remote Procedure Call (RPC), the following changes and enhancements are available.

Stub Subprograms from IDL File

If you have generated a stub subprogram from an IDL file using the Generate Natural from Software AG IDL command of NaturalONE or EntireX Workbench, program and library name of the IDL file are incorporated into the generated stub subprogram and passed to the RPC server. This means especially that the name of the program that is executed on the RPC server may be different to the name of the stub subprogram.

Note for Natural RPC servers:

If the Natural client calls a Natural RPC server, the library name of the IDL file is only evaluated by the Natural RPC server if the Natural client has set the Logon option.

Top of page

Notice of Future Changes

The following changes are planned for future versions of Natural.

Adabas Records no Longer in Hold Status when Database Update is not Permitted

With a future version of Natural, Adabas records will no longer be put in hold status if the Natural profile parameter DBUPD is set to OFF (that is, when a database update is not permitted). When set to OFF, the Adabas calls L1, L2, L3, S1, S2, S3 will be generated instead of L4, L5, L6, S4, S5, S6.

Top of page