https://m204wiki.rocketsoftware.com/index.php?title=IFSETUP_(HLI_function)&feed=atom&action=historyIFSETUP (HLI function) - Revision history2024-03-29T11:54:20ZRevision history for this page on the wikiMediaWiki 1.40.1https://m204wiki.rocketsoftware.com/index.php?title=IFSETUP_(HLI_function)&diff=93218&oldid=prevELowell at 19:37, 13 July 20162016-07-13T19:37:37Z<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:37, 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=IFSETUP_(HLI_function)&diff=88845&oldid=prevELowell at 22:57, 11 July 20162016-07-11T22:57:18Z<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:57, 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=IFSETUP_(HLI_function)&diff=87601&oldid=prevELowell: Created page with " ==Summary== <dl> <dt>Description</dt> <dd>The IFSETUP call (SETUP) initiates contact with Model 204 and sets the PARM parameters and the CCAIN control statements for the IFDI..."2016-07-08T20:47:48Z<p>Created page with " ==Summary== <dl> <dt>Description</dt> <dd>The IFSETUP call (SETUP) initiates contact with Model 204 and sets the PARM parameters and the CCAIN control statements for the IFDI..."</p>
<p><b>New page</b></p><div><br />
==Summary==<br />
<dl><br />
<dt>Description</dt><br />
<dd>The IFSETUP call (SETUP) initiates contact with Model 204 and sets the PARM parameters and the CCAIN control statements for the IFDIAL IFAM1 Host Language Interface job.</dd><br />
<dt>Thread type</dt><br />
<dd>IFDIAL</dd><br />
<dt>IFCALL function number</dt><br />
<dd>86</dd><br />
</dl><br />
<br />
==Syntax==<br />
<p class="syntax">IFSETUP|IFSETP(RETCODE,LANG_IND,EXEC,PROLOGUE)</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 a required output parameter. The code is a binary integer value.<br />
<p>If the IFSETUP call is unsuccessful, Model 204 returns an error code of 400 for an invalid language code (LANG_IND).</p></td><br />
</tr><br />
<tr><br />
<td>LANG_IND</td><br />
<td>[I,i,r] The language indicator is a required input parameter, which establishes the calling sequence convention to be used corresponding to the host language. The indicator specifies the format of parameters that are passed in subsequent calls.<br />
<p><br />
Specify one of the following integer values:</p><br />
<p><br />
1 = PL/1 F-level, and BAL languages <br /><br />
2 = COBOL, FORTRAN, and BAL languages <br /><br />
3 = PL/1 with +Optimizer/Checkout compilers, VS/FORTRAN, and BAL languages</p><br />
<p class="note"><b>Note:</b> Any convention may be specified for use with the BAL language, and the BAL programmer must adhere to the convention that is specified when coding parameters.</p><br />
</td><br />
</tr><br />
<tr><br />
<td>EXEC</td><br />
<td>[I,c,o] The EXEC specification is an optional input parameter that specifies the value of the PARM parameter of the EXEC JCL statement for the IFAM1 job. Specify a character string, up to 100 bytes in length, and separate parameters with a comma (,). If the language indicator (LANG_IND) setting is 2, append a semicolon (;) to the end of the input string. A null string indicates that no PARM values are to be set.<br />
<p class="note"><b>Note:</b> If the LIBUFF and LOBUFF parameters are to be set, include them in the parameter list. Do not specify the following parameters in the PARM list: ALTIODEV, NUSERS, and NSERVS.</p><br />
</td><br />
</tr><br />
<tr><br />
<td>PROLOGUE</td><br />
<td>[I,c,o] The prologue specification is an optional input parameter, which is the first logical line of the CCAIN input stream that is used to specify User 0 parameters. <br />
<p>Specify a character string, and separate parameters with a comma (,). If the language indicator (LANG_IND) setting is 2, append a semicolon (;) to the end of the input string. A null string indicates that no Model 204 parameters are to be set. </p><br />
<p class="note"><b>Note:</b> Do not specify the following parameters in the User 0 line: ALTIODEV, NUSERS, and NSERVS.</p> <br />
</td><br />
</tr><br />
</table><br />
<br />
==Usage notes==<br />
<p><br />
Use the IFSETUP call to set the job control statements for a Host Language Interface IFAM1 IFDIAL job. Issue the IFSETUP call before IFDIAL in the IFAM1 job. </p><br />
<br />
==Coding example (PL/1 Optimizer)==<br />
<p class="code">DCL NERR FIXED BIN(31) INIT(0);<br />
DCL LANG_CODE FIXED BIN(31) INIT(3); /* LANG=3 for PL/1 Opt */<br />
DCL EXEC_PARM CHAR(100) INIT('SYSOPT=144,LIBUFF=500;');<br />
DCL CCAIN_PARM CHAR(256) INIT('SPCORE=5000;');<br />
DCL IFSETUP ENTRY(FIXED BIN(31), FIXED BIN(31),<br />
CHAR(*), CHAR(*));<br />
.<br />
.<br />
.<br />
CALL IFSETUP (NERR, LANG_CODE, EXEC_PARM, CCAIN_PARM);<br />
.<br />
.<br />
.</p><br />
<br />
[[Category: HLI functions]]</div>ELowell