×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Barbara,
Marco wrote:
One difference is about null capable fields.
A DS defined with EXTNAME also defines the relevant subfields as null
capable.
but this true from V5R3 or even earlier?
From V5R2 RPG reference:
"Note: If the file used for an externally described data structure has
null-capable fields defined, the null attribute is not used in defining
the RPG subfield."
but the next paragraph states:
"If the field is a multiple-occurrence data structure or a table, an array
of null indicators will be associated with the field. Each null indicator
corresponds to an occurrence of the data structure or element of the
table."
From V5R3 manual:
"Null-capable fields in externally-described data structures If the file
used for an externally described data structure has null-capable fields
defined, the matching RPG subfields are defined to be null-capable.
Similarly, if a record format has null-capable fields, a data structure
defined with LIKEREC will have null-capable subfields. When a data
structure has null-capable subfields, another data structure defined like
that data structure using LIKEDS will also have null-capable subfields.
However, using the LIKE keyword to define one field like another
null-capable field does not cause the new field to be null-capable."
Thanks
Marco
As an Amazon Associate we earn from qualifying purchases.