LSTRLOB parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Created page with "Page is under construction.")
 
mNo edit summary
Line 1: Line 1:
Page is [[under construction]].
Page is [[under construction]].
==Summary==
<dl>
<dt>Default value
<dd>1
<dt>Parameter type
<dd>System
<dt>Where set
<dd>System manager
<dt>Related products
<dd>All
<dt>Introduced
<dd>[[Sirius Mods|"Sirius Mods"]] Version 7.7
</dl>
==Description==
When LSTRLOB=1, User Language programs running in <var class="product">Model 204</var> version V7R2 or later can use normal field reference syntax for Lob fields.  Otherwise (LSTRLOB=0), access to Lob fields must use the <var>Buffer</var> syntax.
The default value of LSTRLOB is 1.  LSTRLOB has no effect for <var class="product">Model 204</var> version V7R1.
The "normal field reference syntax" applies to all uses of a <var>BLOB</var> or <var>CLOB</var> field name <b>except</b> for the <var>Note</var> statement.
The types of allowed "normal field references" are shown in the following table, which assumes that field <code>LOB</code> has the <var>BLOB</var> or <var>CLOB</var> attribute:
<table>
<tr><td>Type of reference</td><td>Examples</td></tr>
<tr><td>Field updates</td><tr><th><p class="code">store record<br/>  LOB = 'initial value'<br/>end store</p></th></tr>
</table>
Note that the <var>Store Record</var> and <var>Add</var> statements, when using normal field reference syntax as above, do not have a provision for the <var>Reserve</var> clause which is available on the <var>Buffer</var> syntax.
[[Category:System parameters]]
[[Category:Parameters]]

Revision as of 17:44, 22 June 2012

Page is under construction.

Summary

Default value
1
Parameter type
System
Where set
System manager
Related products
All
Introduced
"Sirius Mods" Version 7.7

Description

When LSTRLOB=1, User Language programs running in Model 204 version V7R2 or later can use normal field reference syntax for Lob fields. Otherwise (LSTRLOB=0), access to Lob fields must use the Buffer syntax.

The default value of LSTRLOB is 1. LSTRLOB has no effect for Model 204 version V7R1.

The "normal field reference syntax" applies to all uses of a BLOB or CLOB field name except for the Note statement.

The types of allowed "normal field references" are shown in the following table, which assumes that field LOB has the BLOB or CLOB attribute:

Type of referenceExamples
Field updates

store record
LOB = 'initial value'
end store

Note that the Store Record and Add statements, when using normal field reference syntax as above, do not have a provision for the Reserve clause which is available on the Buffer syntax.