Normal syntax for LOB fields

From m204wiki
Revision as of 19:35, 20 July 2018 by JAL (talk | contribs) (→‎Access to LOB fields prior to Model 204 version 7.5: add link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Starting with version 7.5 of Model 204, most "normal field reference syntax" can be used to access BLOB and CLOB fields.

For example:

DEFINE FIELD LONGSTUFF WITH BLOB ... begin store record LONGSTUFF = 'How now, brown cow?' end store fr print LONGSTUFF end for end

In this request, notice how the LOB field is updated directly (in the Store Record block) and retrieved directly (in the Print statement). In general, references to LOB fields can be made in this direct fashion, without utilizing the Universal Buffer.

The only construct which does not allow such direct reference to the value of a LOB field is the Note statement.

This feature is disabled by setting the LSTRLOB system parameter to 0 (the default is 1). The LSTRLOB description also illustrates examples of "normal field reference syntax."

Access to LOB fields prior to Model 204 version 7.5

Prior to version 7.5 of Model 204, access to LOB fields required the Sirius Mods, with one of the following products: