https://m204wiki.rocketsoftware.com/index.php?title=IFSPRM_(HLI_function)&feed=atom&action=historyIFSPRM (HLI function) - Revision history2024-03-28T14:56:34ZRevision history for this page on the wikiMediaWiki 1.40.1https://m204wiki.rocketsoftware.com/index.php?title=IFSPRM_(HLI_function)&diff=93221&oldid=prevELowell at 19:39, 13 July 20162016-07-13T19:39:01Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:39, 13 July 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The conventions used on this page are described in [[HLI: Function <del style="font-weight: bold; text-decoration: none;">call list</del>#Function call notation conventions|Function call notation conventions]].</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The conventions used on this page are described in [[HLI: Function <ins style="font-weight: bold; text-decoration: none;">summary</ins>#Function call notation conventions|Function call notation conventions]].</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Summary==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Summary==</div></td></tr>
</table>ELowellhttps://m204wiki.rocketsoftware.com/index.php?title=IFSPRM_(HLI_function)&diff=88848&oldid=prevELowell at 22:59, 11 July 20162016-07-11T22:59:02Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:59, 11 July 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">The conventions used on this page are described in [[HLI: Function call list#Function call notation conventions|Function call notation conventions]].</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Summary==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Summary==</div></td></tr>
</table>ELowellhttps://m204wiki.rocketsoftware.com/index.php?title=IFSPRM_(HLI_function)&diff=87605&oldid=prevELowell: Created page with " ==Summary== <dl> <dt>Description</dt> <dd>The IFSPRM call (SET PARAMETER) sets the value of one or more specified Model 204 parameters.</dd> <dt>Thread type</dt> <dd>multiple..."2016-07-08T21:11:41Z<p>Created page with " ==Summary== <dl> <dt>Description</dt> <dd>The IFSPRM call (SET PARAMETER) sets the value of one or more specified Model 204 parameters.</dd> <dt>Thread type</dt> <dd>multiple..."</p>
<p><b>New page</b></p><div><br />
==Summary==<br />
<dl><br />
<dt>Description</dt><br />
<dd>The IFSPRM call (SET PARAMETER) sets the value of one or more specified Model 204 parameters.</dd><br />
<dt>Thread type</dt><br />
<dd>multiple cursor IFSTRT, single cursor IFSTRT</dd><br />
<dt>IFCALL function number</dt><br />
<dd>26</dd><br />
</dl><br />
<br />
==Syntax==<br />
<p class="syntax">IFSPRM(RETCODE,PARM_LIST,FILE_SPEC)</p><br />
<br />
<dl><br />
<dt>Compile-only form</dt><br />
<dd>Not available</dd><br />
<dt>Execute-only form</dt><br />
<dd>Not available</dd><br />
</dl><br />
<br />
<p>Specify the parameters in the syntax order shown above.</p><br />
<table><br />
<tr class="head"><br />
<th>Parameter</th><br />
<th>Description</th><br />
</tr><br />
<tr><br />
<td>RETCODE</td><br />
<td>[O,i,r] The Model 204 return code is the required first parameter. The code is a binary integer value.</td><br />
</tr><br />
<tr><br />
<td>PARM_LIST</td><br />
<td>[I,c,r] The parameter list is a required input parameter that specifies the name and value pair for each Model 204 parameter whose value is to be set. Specify a character string using the following format:<br />
<p class="syntax"><span class="term">parm1</span>=<span class="term">value1</span> [,<span class="term">parm2</span>=<span class="term">value2</span>...];</p><br />
<p><br />
where:</p><br />
<p><br />
<var class="term">parm1</var> is the name of the Model 204 parameter to be set, and <var class="term">parm2</var> is the name of a second parameter to be set. Additional parameters may be specified in a name-value pair. Specify the keyword name of the Model 204 system, file or user parameter. </p><br />
<p><br />
<var class="term">value1</var> is the new value for the specified parameter in the first pair, and <var class="term">value2</var> is the new value for the specified parameter in the second pair. A value is required for each name that is specified in the list.</p> <br />
<p>Values can be specified in decimal form, such as 193, in hexadecimal form, such as X'C1', or in character form, such as C'A'. For example, the specification OPENCTL=128 is equivalent to OPENCTL=X'80'.</p><br />
<p><br />
You can specify more than one <var class="term">name</var>=<var class="term">value</var> pair, separating each by a comma or a blank. </p><br />
</td><br />
</tr><br />
<tr><br />
<td>FILE_SPEC</td><br />
<td>[I,s,o] The file specification is an optional input parameter for use only with a multiple cursor IFSTRT thread for specifying the name of the file for which the Model 204 file parameter is set. Specify the Model 204 file name as a short character string using the following format:<br />
<p class="syntax">IN [FILE] <span class="term">filename</span>;</p><br />
<p><br />
The specified file must be open on the thread; otherwise, the call is unsuccessful and Model 204 returns a completion code equal to 4.</p><br />
</td><br />
</tr><br />
</table><br />
<br />
==Usage notes==<br />
<p><br />
Use the IFSPRM call to set or, in effect, to reset certain Model 204 system, file or user parameters. The IFSPRM call is valid for resetting individual file parameters only in file context, not for a group. The IFSPRM call is equivalent to the IFRPRM call and IFSPRM follows the same basic rules for specifying parameter settings as the Model 204 <var>[[RESET command|RESET]]</var> command.</p><br />
<p><br />
The IFSPRM call is valid on all types of IFSTRT threads. Note that the file context can change on a multiple cursor thread. If a Model 204 file parameter is specified for PARM_LIST and the file specification parameter (FILE_SPEC) is omitted, IFSPRM sets the value for the default file on the thread. </p><br />
<br />
<p class="note"><b>Note:</b> Use IFSPRM with caution to avoid resetting sensitive parameters that might affect the entire operating environment. For information about Model 204 parameters, see [[List of Model 204 parameters]].</p><br />
<br />
==Coding example (COBOL)==<br />
<p class="code">WORKING-STORAGE SECTION.<br />
01 CALL-ARGS.<br />
05 RETCODE PIC 9(5) COMP SYNC.<br />
05 SET PIC X(12) VALUE 'OPENCTL=128;'.<br />
.<br />
.<br />
.<br />
PROCEDURE DIVISION.<br />
.<br />
.<br />
.<br />
CALL "IFSPRM" USING RETCODE, SET.</p><br />
<br />
[[Category: HLI functions]]</div>ELowell