CUSTOM parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (typos)
 
(71 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Template:CUSTOM parameter subtitle}}
{{Template:CUSTOM parameter subtitle}}
__NOTOC__
==Summary==
==Summary==
<dl>
<dl>
Line 13: Line 14:
<dd><var class="product">Model 204 V6.1</var> or earlier
<dd><var class="product">Model 204 V6.1</var> or earlier
</dl>
</dl>
==Description==
==Description==
<p>The CUSTOM parameter enables special modifications by Rocket Software to standard execution. </p>
<p>
<p>You do not have to enclose a single CUSTOM setting with parentheses, for example:</p>
The <var>CUSTOM</var> parameter enables special modifications by Rocket Software to standard execution. </p>
<p>
You do not have to enclose a single <var>CUSTOM</var> setting with parentheses, for example:</p>
<p class="code">CUSTOM=8
<p class="code">CUSTOM=8
</p>
</p>
<p>Multiple values must be specified in a list and enclosed in parentheses, for example: </p>
<p>
Multiple values must be specified in a list and enclosed in parentheses, for example: </p>
<p class="code">CUSTOM=(1,2,3,4,6,8,9,10,11)
<p class="code">CUSTOM=(1,2,3,4,6,8,9,10,11)
</p>
</p>
<p>The current usages are:
 
<table>
==Custom settings==
<tr><th>Setting</th><th>Usage</th></tr>
<p>
<tr><th><var>CUSTOM=(1)</var></th><td>Century can be omitted on date input</td></tr>
The custom settings and usage are shown in the following table.
<tr><th><var>CUSTOM=(2)</var></th><td>Century is omitted on date output</td></tr>
<table class="thJustBold">
<tr><th><var>CUSTOM=(3)</var></th><td>$DAYI should return day values 2 through 8. $DAY should equate value 2 through 8 as Monday through Sunday and full length day name should be returned. Value 9 returns MON-FRI.</td></tr>
<tr class="head">
<tr><th><var>CUSTOM=(4)</var></th><td>Display field defaults to DDL ABBREV</td></tr>
<th>Setting</th><th>Usage</th><th>Introduced</th></tr>
<tr><th><var>CUSTOM=(6)</var></th><td>The LOGOUT message is:
 
<p class="code">M204.2628: uuuuuuuuuu aaaaaaaaaa LOGOUT yy mmm dd hh.mm
<tr><th>1</th>
</p></td></tr>
<td>Century can be omitted on date input.</td>
<tr><th><var>CUSTOM=(7)</var></th><td>Obsolete as of <var class="product">Model&nbsp;204</var> V7R1.0.</td></tr>
<td>V4.1</td></tr>
<tr><th><var>CUSTOM=(8)</var></th><td>Connect:clients can issue the LOGIN command from Remote Command Line (RCL) threads. Clients can login with a new user name without closing the current connection to start another one.</td></tr>
 
<tr><th><var>CUSTOM=(9)</var></th><td>Suppresses all output from all forms of the PRIORITY command</td></tr>
<tr><th>2</th>
<tr><th><var>CUSTOM=(10)</var></th><td>Allows filename entry using more than eight characters</td></tr>
<td>Century is omitted on date output.</td>
<tr><th><var>CUSTOM=(11)</var></th><td>Controls mixed case password support. If it is set, then mixed case passwords are allowed for both external and CCASTAT security. If it is not set, all passwords are uppercase.</td></tr>
<td>V4.1</td></tr>
 
<tr><th>3</th>
<td><var>[[$DAYI]]</var> should return day values 2 through 8 (instead of 1 through 7). <var>[[$DAY]]</var> should equate values 2 through 8 as Monday through Sunday, and full-length day names should be returned. Value 9 returns <code>MON-FRI</code>.</td>
<td>V4.1</td></tr>
 
<tr><th>4</th>
<td><p class="syntax"><var>[[DISPLAY_FIELD_command|DISPLAY FIELD]]</var> <span class="term">fieldname</span></p> Defaults to:
<p class="syntax">DISPLAY FIELD (DDL ABBREV) <span class="term">fieldname</span></p></td>
<td>V4.1</td></tr>
 
<tr><th>5</th>
<td>Print debugging information for all MQ/204 requests.</td>
<td>V4.2</td></tr>
 
<tr><th>6</th>
<td>The <var>[[LOGOUT or LOGOFF command|LOGOUT]]</var> message is:
<p class="code">M204.2628: <i>uuuuuuuuuu aaaaaaaaaa</i> LOGOUT <i>yy mmm dd hh.mm</i>
</p></td>
<td>V5.1</td></tr>
 
<tr><th>7</th>
<td>Obsolete as of <var class="product">Model&nbsp;204</var> V7.1.</td>
<td>V5.1</td></tr>
 
<tr><th>8</th>
<td><var class="product">Connect<span class="superstar">&#9733;</span></var> clients can issue the <var>[[LOGIN or LOGON command|LOGIN]]</var> command from Remote Command Line (RCL) threads. Clients can login with a new user name without closing the current connection to start another one.</td>
<td>V6.1</td></tr>
 
<tr><th>9</th>
<td>Suppresses all output from all forms of the <var>[[PRIORITY_command|PRIORITY]]</var> command.</td>
<td>V7.1</td></tr>
 
<tr><th>10</th>
<td>Allows file name entry using more than eight characters.</td>
<td>V7.4</td></tr>
 
<tr><th>11</th>
<td>Controls mixed-case password support for login passwords. If it is set, mixed-case login passwords are allowed for both external and CCASTAT security. If it is not set, all login passwords are uppercase.
<p>
As of Model&nbsp;204 7.7, this setting also includes support for RACF special characters. The special characters whose support is added are described in IBM APAR OA43999 and listed here: </p>
<p class="code">Ampersand        <tt>&</tt>
Asterisk          <tt>*</tt>
Colon            <tt>:</tt>
Dash              <tt>-</tt>
Equal sign        <tt>=</tt>
Exclamation point <tt>!</tt>
Left arrow        <tt><</tt>
Per cent sign    <tt>%</tt>
Period            <tt>.</tt>
Plus sign        <tt>+</tt>
Question mark    <tt>?</tt>
Right arrow      <tt>></tt>
Underscore        <tt>_</tt>
Vertical bar      <tt>|</tt>
</p></td>
<td>V7.4</td></tr>
 
<tr><th>12</th>
<td>Swap order of system manager and system administrator test with external authorizer. Available as of Model 204 7.5.</td>
<td>V7.5</td></tr>
 
<tr><th>13</th>
<td>Close VSAM files even if <code>CLOSE=EOJ</code> specified.</td>
<td>V7.5</td></tr>
 
<tr><th>14</th>
<td>Require account ID (in addition to user ID) on logins.</td>
<td>V7.5</td></tr>
 
<tr><th>15</th>
<td>Don't display user number on console (WTO) messages.</td>
<td>V7.5</td></tr>
 
<tr><th>16</th>
<td>Append the user ID of the updating user to the [[Setting up the date-time stamp field|date-time stamp (DTSFN) field]] values.</td>
<td>V7.5</td></tr>
 
<tr><th>17</th>
<td>Preserves plus sign (<tt>+</tt>) in ASA column 1 for VBA datasets and <var>[[USE PRINTER / PUNCH command|USE PRINTER]]</var> output to allow for overtyping.  Line must contain plus sign in column 1, followed by blank, followed by anything: 
<p class="code">PRINT '+ anything'</p>
</td>
<td>V7.5</td></tr>
 
<tr><th>18</th>
<td>Allow [[SSLIBSIZE (JANUS DEFINE parameter)]] value greater than 16K (16384).</td>
<td>V7.5</td></tr>
 
<tr><th>19</th>
<td>
Change the Login failed message from:
<p class="code">M204.0349: Login failed </p>
<p>
To: </p>
<p class="code">M204.0349: Enter logoff </p></td>
<td>V7.5 <br>(zap 75Z279 required)</td></tr>
 
<tr><th>20</th>
<td>
Suppress the last line in the <var>LOGCTL</var> dialog during <var>ADD</var>, <var>CHANGE</var>, and <var>DELETE</var>.
<p class="code"> LOGCTL C USER1
*** M204.0374: ENTER PASSWORD,PRIVILEGES,PRIORITY
*** M204.0379: Enter terminal list, all, none, add, del, or return
 
USER1    X'10'    LOW    ALL    <b><----suppress this line</b>
*** M204.0376: Parameters accepted
*** M204.0345: CCASTAT updated
</p>
</td>
<td>V7.5 <br>(zap 75Z279 required)</td></tr>
 
<tr><th>21</th>
<td>
<var>FILELOAD</var>; skip DDname check for <code>CCA1WK01</code> to allow DFSORT to dynamically allocate sort work datasets. DFSORT will dynamically allocate CCA1WK01-CCA1WK06 unless overridden by <code>//DFSPARM</code>:
<p class="code">//DFSPARM DD *
// SIZE=200M,LIST,LISTX,MSGPRT=ALL,FILSZ=E1800000
// OPTION DYNALLOC=(SYSDA,3)    <b><----will override</b></p></td>
<td>V7.5 <br>(zap 75Z279 required)</td></tr>
 
<tr><th>22</th>
<td>Use BATCH204 return codes if <var>NUSERS</var> is greater than 1.</td>
<td>V7.5 <br>(zap 75Z279 required)</td></tr>
 
<tr><th>23</th>
<td><var>LOGIN</var> command processing: truncate a login user ID to 10 characters, and allow the login to continue with the password prompt.  Without <var>CUSTOM</var> 23, a user ID longer than 10 characters fails immediately with <code>M204.0349: Login failed</code>,
and no password prompt is issued.</td>
<td>V7.7;<br />V7.6 (zap 76Z209 required); V7.5 (zap 75Z426 required)</td></tr>
 
<tr><th>24</th>
<td><var>IFSTRTN</var>: Allow embedded blanks in passwords passed via <var>IFSTRTN</var> calls; requires semicolon as password delimiter. Leading and trailing blanks are stripped.</td>
<td>V7.7<br /></td></tr>
 
 
<tr><th>31</th>
<td>Extra bug checks for Ordered Index leaf pages.</td>
<td>V7.5</td></tr>
 
<tr><th>32</th>
<td>Extra bug checks for all Ordered Index pages.</td>
<td>V7.5</td></tr>
 
<tr><th>33</th>
<td>Issue a message (M204.1223) for every critical file resource wait.</td>
<td>V7.5</td></tr>
 
<tr><th>34</th>
<td>Suppress APSY load stats from the journal.</td>
<td>V7.5</td></tr>
 
<tr><th>35</th>
<td>Do not drain a subsystem when a user encounters a hard restart inside the subsystem.</td>
<td>V7.5</td></tr>
 
<tr><th>36</th>
<td>An Insert statement with occurrence number 0 should place the inserted occurrence at the start of repeatable fields in the record.</td>
<td>V7.5</td></tr>
 
<tr><th>37</th>
<td>Change M204.1076 (Do you really want to end the run) to indicate the job name rather than the location.</td>
<td>V7.5</td></tr>
 
<tr><th>38</th>
<td>Allow any (non-privileged) user to reset <var>[[LAUDIT parameter|LAUDIT]]</var>.</td>
<td>V7.5</td></tr>
 
<tr><th>39</th>
<td>Echo any <var>[[MSGCTL_command|MSGCTL]]</var> command in a M204.0131 message.</td>
<td>V7.5</td></tr>
 
<tr><th>40</th>
<td>Allow field constraints (<var>UNIQUE</var>, <var>At-MOST-ONE</var>) in non-TBO (<var>[[FRCVOPT parameter|FRCVOPT]]</var> X'08' bit on) files.</td>
<td>V7.5</td></tr>
 
<tr><th>41</th>
<td>Record data on successful [[Security Server (formerly RACF) interface|RACF]] user logins by setting LOG=ALL in the SAF parameter list. The login data is shown in RACFRW batch reports.</td>
<td>V7.7; <br> V7.6 (zap 76Z201 required); <br> V7.5 (zap 75Z420 required)</td></tr>
 
<tr><th>42</th>
<td>Allow the editing of procedure names containing a comma, equal sign, space, single quote, and/or semicolon.</td>
<td>V7.7</td></tr>
</table>
</table>
</p>
</p>
====Using the CUSTOM parameter with date conversions====
<p>If CUSTOM=(1) is added to the User 0 CCAIN stream or set later using the RESET command, the following occurs: If a CYY format is specified for conversion and only a YY input is supplied, the conversion is successfully completed by using the CENTSPLT and BASECENT parameters. See [[CENTSPLT parameter|"CENTSPLT: Computing the base century"]] and [[BASECENT parameter|"BASECENT: Base century value"]] for details.</p>
====Examples====


====Using CUSTOM=1====
====Using the CUSTOM=(1) parameter with date conversions====
IF CUSTOM=1, BASECENT=19, and CENTSPLT=95, then:
<p>
If <code>CUSTOM=(1)</code> is added to the User 0 CCAIN stream or set later using the <var>[[RESET_command|RESET]]</var> command, the following occurs: If a <code>CYY</code> format is specified for conversion and only a <code>YY</code> input is supplied, the conversion is successfully completed by using the <var>[[CENTSPLT parameter|CENTSPLT]]</var> and <var>[[BASECENT parameter|BASECENT]]</var> parameters.</p>
 
<b>Examples</b>
 
If <code>CUSTOM=1</code>, <code>BASECENT=19</code>, and <code>CENTSPLT=95</code>, then:
<table>
<table>
<tr><th>Print Command</th> <th>Results</th></tr>
<tr class="head"><th>Print command</th> <th>Results</th></tr>
<tr><td>PRINT $DATECNV('CYYDDD','YYYYMMDD','96001'</td> <td>19960101</td></tr>
 
<tr><td>PRINT $DATECNV('CYYDDD','YYYYMMDD','196001'</td> <td>20960101</td></tr>
<tr><td><p class="codeInTable">PRINT $DATECNV('CYYDDD','YYYYMMDD','96001')</p></td>  
<tr><td>PRINT $DATECNV('CYYDDD','YYYYMMDD','95001'</td> <td>19950101</td></tr>
<td><p class="codeInTable">19960101</p></td></tr>
<tr><td>PRINT $DATECNV('CYYDDD','YYYYMMDD','095001'</td> <td>19950101</td></tr>
 
<tr><td><p class="codeInTable">PRINT $DATECNV('CYYDDD','YYYYMMDD','196001')</p></td>  
<td><p class="codeInTable">20960101</p></td></tr>
 
<tr><td><p class="codeInTable">PRINT $DATECNV('CYYDDD','YYYYMMDD','95001')</p></td>  
<td><p class="codeInTable">19950101</p></td></tr>
 
<tr><td><p class="codeInTable">PRINT $DATECNV('CYYDDD','YYYYMMDD','095001')</p></td>  
<td><p class="codeInTable">19950101</p></td></tr>
</table>
</table>
If CUSTOM=1 is omitted, BASECENT=19, and CENTSPLT=95, then:
 
If <code>CUSTOM=1</code> is omitted, <code>BASECENT=19</code>, and <code>CENTSPLT=95</code>, then:
<table>
<table>
<tr><th>Print Command</th> <th>Results</th></tr>
<tr class="head"><th>Print command</th> <th>Results</th></tr>
<tr><td>PRINT $DATECNV('CYYDDD','YYYYMMDD','96001'</td> <td>******</td></tr>
 
<tr><td>PRINT $DATECNV('CYYDDD','YYYYMMDD','196001'</td> <td>20960101</td></tr>
<tr><td><p class="codeInTable">PRINT $DATECNV('CYYDDD','YYYYMMDD','96001')</p></td>  
<tr><td>PRINT $DATECNV('CYYDDD','YYYYMMDD','95001'</td> <td>******</td></tr>
<td><p class="codeInTable">******</p></td></tr>
<tr><td>PRINT $DATECNV('CYYDDD','YYYYMMDD','095001'</td> <td>19950101</td></tr>
 
<tr><td><p class="codeInTable">PRINT $DATECNV('CYYDDD','YYYYMMDD','196001')</p></td>  
<td><p class="codeInTable">20960101</p></td></tr>
 
<tr><td><p class="codeInTable">PRINT $DATECNV('CYYDDD','YYYYMMDD','95001')</p></td>  
<td><p class="codeInTable">******</p></td></tr>
 
<tr><td><p class="codeInTable">PRINT $DATECNV('CYYDDD','YYYYMMDD','095001')</p></td>  
<td><p class="codeInTable">19950101</p></td></tr>
</table>
</table>


====Using CUSTOM=(2)====
====Using CUSTOM=(2)====
If CUSTOM=(2) is added to the User 0 CCAIN stream or set later using the RESET command, the following occurs: If a CYY-format is specified for output conversion and the C (century) indicator is zero, then C is eliminated. This C elimination is true for all $DATE… function calls.  
If <code>CUSTOM=(2)</code> is added to the User 0 CCAIN stream or set later using the <var>RESET</var> command, the following occurs: If a <code>CYY</code>-format is specified for output conversion and the <code>C</code> (century) indicator is zero, then <code>C</code> is eliminated. This <code>C</code> elimination is true for all $DATE… function calls.  


For example:
For example:


If CUSTOM=(2) then: <code>PRINT $DATEJ(2)</code> prints <code>97.001</code>
If <code>CUSTOM=(2)</code> then: <code>PRINT $DATEJ(2)</code> prints <code>97.001</code>


But if CUSTOM=(2) is omitted, then <code>PRINT $DATEJ(2)</code> prints 097.001.
But if <code>CUSTOM=(2)</code> is omitted, then <code>PRINT $DATEJ(2)</code> prints <code>097.001</code>.


====Using CUSTOM=(6)====
====Using CUSTOM=(6)====
Using this option you can control the messages for the LOGIN and LOGOUT commands independently.
Using this option you can control the messages for the <var>LOGIN</var> and <var>LOGOUT</var> commands independently.
<ul>
<ul>
<li>When CUSTOM is not set to 6, BATCH2 and IFAM2 applications cannot receive the return code from Model 204, if the command MSGCTL M204.0353 NOTERM is issued in the Online. Model 204 sends the return code to BATCH2 and IFAM2 User Language applications as a hidden field in the LOGOUT message, and the application must receive the LOGOUT message to obtain the return code.</li>
<li>When <var>CUSTOM</var> is not set to 6, BATCH2 and IFAM2 applications cannot receive the return code from Model 204, if the command <code>MSGCTL M204.0353 NOTERM</code> is issued in the Online. Model 204 sends the return code to BATCH2 and IFAM2 User Language applications as a hidden field in the <var>LOGOUT</var> message, and the application must receive the <var>LOGOUT</var> message to obtain the return code.</li>


<li>When CUSTOM is set to six, you can suppress M204.0353 and leave M204.2628 active and available for a BATCH2 or IFAM2 User Language application to receive the return code from the Online.</li>
<li>When <var>CUSTOM</var> is set to 6, you can suppress M204.0353 and leave M204.2628 active and available for a BATCH2 or IFAM2 User Language application to receive the return code from the Online.</li>
</ul>
</ul>


====Using CUSTOM=8====
====Using CUSTOM=(8)====
The CUSTOM=(8) option lets Connect* customers use one connection for multiple users.
The <code>CUSTOM=(8)</code> option lets Connect<span class="superstar">&#9733;</span> customers use one connection for multiple users.
<ul>
<ul>
<li>If the CUSTOM=(8) is not set, RCL behaves as in releases of Model 204 before V6R1.0; users receive the following message when issuing the LOGIN command:
<li>If <code>CUSTOM=(8)</code> is not set, RCL behaves as in releases of Model 204 before V6R1.0; users receive the following message when issuing the <var>LOGIN</var> command:
<p><code>M204.1035:COMMAND INVALID FROM PROCEDURE</code></p></li>
<p>
<li>If the CUSTOM=(8) is set, any commands that are invalid for RCL receive the following message:
<code>M204.1035:COMMAND INVALID FROM PROCEDURE</code></p></li>
<p><code>M204.2597 command COMMAND INVALID FROM AN RCL THREAD</code></p>
 
<li>If <code>CUSTOM=(8)</code> is set, any commands that are invalid for RCL receive the following message:
<p>
<code>M204.2597 command COMMAND INVALID FROM AN RCL THREAD</code></p>
</li>
</li>
</ul>
</ul>


====Using CUSTOM=(9)====
====Using CUSTOM=(9)====
The CUSTOM=(9) option lets you suppress all output from all forms of the PRIORITY command.
The <code>CUSTOM=(9)</code> option lets you suppress all output from all forms of the <var>PRIORITY</var> command.


====Using CUSTOM=(10)====
====Using CUSTOM=(10)====
Including CUSTOM=10 in the CCAIN parameter stream enables you to specify a DDNAME longer than eight characters. The first eight characters will be used.
Including <code>CUSTOM=10</code> in the <var>CCAIN</var> parameter stream enables you to specify a DDname longer than eight characters. The first eight characters will be used.


====Using CUSTOM=(11)====
====Using CUSTOM=(11)====
Including CUSTOM=11 in the CCAIN parameter stream enables you to specify passwords containing lowercase characters:
Including <code>CUSTOM=11</code> in the <var>CCAIN</var> parameter stream enables you to specify login passwords containing lowercase characters:


<code>
<p class="code">//CCAIN DD *
//CCAIN DD *
LOGADD=200,CUSTOM=11
LOGADD=200,CUSTOM=11
</code>
</p>
 
====Using CUSTOM=(12)====
When using an external authorizer (RACF, ACF2, Top Secret), if a user issues a command that requires system manager or system administrator privileges, Model&nbsp;204 will test for system manager privileges for the logged-in user using the external authorizer and, if that fails, test for system administrator privileges. <code>CUSTOM=(12)</code> changes the order of the tests in such a case so that a user is tested for system administrator privileges before being tested for system manager privileges.
 
====Using CUSTOM=(18)====
Before Model 204 7.5, a setting of greater than 16K (16384) was allowed for the <var>[[SSLIBSIZE (JANUS DEFINE parameter)|SSLIBSIZE]]</var> parameter of the <var>JANUS DEFINE</var> command. However, in theory this should have only been necessary for SSL 2 support, as SSL 3 and TLS compliant implementations should only use SSL records of 16K or shorter.
 
Since support for SSL 2 is disabled in Model&nbsp;204 7.5 (because SSL 2 is deprecated for its many security flaws), there is seemingly no need for SSL buffers longer than the 16K limit. So, Model&nbsp;204 7.5 reduces any value greater than 16K for <var>SSLBSIZE</var> and <var>SSLOBSIZE</var> to 16K. This prevents Model&nbsp;204 from pointlessly allocating more storage than is necessary for SSL buffers.
 
However, it appears that there are a few SSL 3 and TLS implementations in use that send SSL records longer than 16K, despite the standard's proscription against doing so. If a site communicates with such implementations, it might be necessary to set <code>CUSTOM 18</code>, then set <var>SSLIBSIZE</var> (or <var>SSLOBSIZE</var>) to a value greater than 16K.
 
====Using CUSTOM=(42)====
Before Model 204 7.7, a procedure with a name containing the following special characters could be created and displayed, but it could not be edited:
<p>
:comma (<tt>,</tt>)
:equal sign (<tt>=</tt>)
:space ( )
:single quote (<tt>'</tt>)
:semicolon (<tt>;</tt>) </p>
If <var>CUSTOM</var> 42 is turned on, you can edit a procedure name containing these special characters, such as <code>A B C</code>, which contains spaces.
 
To edit procedure names containing special characters:
<ul>
<li>Enclose the name in single quotation marks:
<p class="code">EDIT 'A B C'
EDIT 'AB=CD'</p>
</li>
 
<li>If the name contains single quotes, such as <code>A'B'C'</code>, you must use two quotation marks for each single quote within the name (and enclose the name in single quotation marks):
<p class="code"><nowiki>EDIT 'A''B''C'''</nowiki></p>
</li>
 
<li>If an <var>EDIT</var> command inadvertently contains more than one comma, such as <code>E 0,,PDS6884</code>, you enter an edit session. (Without <code>CUSTOM=42</code>, the <var>EDIT</var> command is rejected). If the edit is saved, a procedure with the name <code>' ,'</code> (that is, space comma) is saved. Subsequently referencing this procedure must include the leading space and enclose the name in single quotation marks:
<p class="code">E ' ,'
DELETE ' ,'</p>
</li>
 
</ul>


[[Category:System parameters]]
[[Category:System parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Latest revision as of 17:31, 22 January 2018

Enable special modifications to Model 204

Summary

Default value
None
Parameter type
System
Where set
On User 0's parameter line or reset by the system manager
Related products
All
Introduced
Model 204 V6.1 or earlier

Description

The CUSTOM parameter enables special modifications by Rocket Software to standard execution.

You do not have to enclose a single CUSTOM setting with parentheses, for example:

CUSTOM=8

Multiple values must be specified in a list and enclosed in parentheses, for example:

CUSTOM=(1,2,3,4,6,8,9,10,11)

Custom settings

The custom settings and usage are shown in the following table.


SettingUsageIntroduced
1 Century can be omitted on date input. V4.1
2 Century is omitted on date output. V4.1
3 $DAYI should return day values 2 through 8 (instead of 1 through 7). $DAY should equate values 2 through 8 as Monday through Sunday, and full-length day names should be returned. Value 9 returns MON-FRI. V4.1
4

DISPLAY FIELD fieldname

Defaults to:

DISPLAY FIELD (DDL ABBREV) fieldname

V4.1
5 Print debugging information for all MQ/204 requests. V4.2
6 The LOGOUT message is:

M204.2628: uuuuuuuuuu aaaaaaaaaa LOGOUT yy mmm dd hh.mm

V5.1
7 Obsolete as of Model 204 V7.1. V5.1
8 Connect clients can issue the LOGIN command from Remote Command Line (RCL) threads. Clients can login with a new user name without closing the current connection to start another one. V6.1
9 Suppresses all output from all forms of the PRIORITY command. V7.1
10 Allows file name entry using more than eight characters. V7.4
11 Controls mixed-case password support for login passwords. If it is set, mixed-case login passwords are allowed for both external and CCASTAT security. If it is not set, all login passwords are uppercase.

As of Model 204 7.7, this setting also includes support for RACF special characters. The special characters whose support is added are described in IBM APAR OA43999 and listed here:

Ampersand & Asterisk * Colon : Dash - Equal sign = Exclamation point ! Left arrow < Per cent sign % Period . Plus sign + Question mark ? Right arrow > Underscore _ Vertical bar |

V7.4
12 Swap order of system manager and system administrator test with external authorizer. Available as of Model 204 7.5. V7.5
13 Close VSAM files even if CLOSE=EOJ specified. V7.5
14 Require account ID (in addition to user ID) on logins. V7.5
15 Don't display user number on console (WTO) messages. V7.5
16 Append the user ID of the updating user to the date-time stamp (DTSFN) field values. V7.5
17 Preserves plus sign (+) in ASA column 1 for VBA datasets and USE PRINTER output to allow for overtyping. Line must contain plus sign in column 1, followed by blank, followed by anything:

PRINT '+ anything'

V7.5
18 Allow SSLIBSIZE (JANUS DEFINE parameter) value greater than 16K (16384). V7.5
19

Change the Login failed message from:

M204.0349: Login failed

To:

M204.0349: Enter logoff

V7.5
(zap 75Z279 required)
20

Suppress the last line in the LOGCTL dialog during ADD, CHANGE, and DELETE.

LOGCTL C USER1 *** M204.0374: ENTER PASSWORD,PRIVILEGES,PRIORITY *** M204.0379: Enter terminal list, all, none, add, del, or return USER1 X'10' LOW ALL <----suppress this line *** M204.0376: Parameters accepted *** M204.0345: CCASTAT updated

V7.5
(zap 75Z279 required)
21

FILELOAD; skip DDname check for CCA1WK01 to allow DFSORT to dynamically allocate sort work datasets. DFSORT will dynamically allocate CCA1WK01-CCA1WK06 unless overridden by //DFSPARM:

//DFSPARM DD * // SIZE=200M,LIST,LISTX,MSGPRT=ALL,FILSZ=E1800000 // OPTION DYNALLOC=(SYSDA,3) <----will override

V7.5
(zap 75Z279 required)
22 Use BATCH204 return codes if NUSERS is greater than 1. V7.5
(zap 75Z279 required)
23 LOGIN command processing: truncate a login user ID to 10 characters, and allow the login to continue with the password prompt. Without CUSTOM 23, a user ID longer than 10 characters fails immediately with M204.0349: Login failed, and no password prompt is issued. V7.7;
V7.6 (zap 76Z209 required); V7.5 (zap 75Z426 required)
24 IFSTRTN: Allow embedded blanks in passwords passed via IFSTRTN calls; requires semicolon as password delimiter. Leading and trailing blanks are stripped. V7.7
31 Extra bug checks for Ordered Index leaf pages. V7.5
32 Extra bug checks for all Ordered Index pages. V7.5
33 Issue a message (M204.1223) for every critical file resource wait. V7.5
34 Suppress APSY load stats from the journal. V7.5
35 Do not drain a subsystem when a user encounters a hard restart inside the subsystem. V7.5
36 An Insert statement with occurrence number 0 should place the inserted occurrence at the start of repeatable fields in the record. V7.5
37 Change M204.1076 (Do you really want to end the run) to indicate the job name rather than the location. V7.5
38 Allow any (non-privileged) user to reset LAUDIT. V7.5
39 Echo any MSGCTL command in a M204.0131 message. V7.5
40 Allow field constraints (UNIQUE, At-MOST-ONE) in non-TBO (FRCVOPT X'08' bit on) files. V7.5
41 Record data on successful RACF user logins by setting LOG=ALL in the SAF parameter list. The login data is shown in RACFRW batch reports. V7.7;
V7.6 (zap 76Z201 required);
V7.5 (zap 75Z420 required)
42 Allow the editing of procedure names containing a comma, equal sign, space, single quote, and/or semicolon. V7.7

Using the CUSTOM=(1) parameter with date conversions

If CUSTOM=(1) is added to the User 0 CCAIN stream or set later using the RESET command, the following occurs: If a CYY format is specified for conversion and only a YY input is supplied, the conversion is successfully completed by using the CENTSPLT and BASECENT parameters.

Examples

If CUSTOM=1, BASECENT=19, and CENTSPLT=95, then:

Print command Results

PRINT $DATECNV('CYYDDD','YYYYMMDD','96001')

19960101

PRINT $DATECNV('CYYDDD','YYYYMMDD','196001')

20960101

PRINT $DATECNV('CYYDDD','YYYYMMDD','95001')

19950101

PRINT $DATECNV('CYYDDD','YYYYMMDD','095001')

19950101

If CUSTOM=1 is omitted, BASECENT=19, and CENTSPLT=95, then:

Print command Results

PRINT $DATECNV('CYYDDD','YYYYMMDD','96001')

******

PRINT $DATECNV('CYYDDD','YYYYMMDD','196001')

20960101

PRINT $DATECNV('CYYDDD','YYYYMMDD','95001')

******

PRINT $DATECNV('CYYDDD','YYYYMMDD','095001')

19950101

Using CUSTOM=(2)

If CUSTOM=(2) is added to the User 0 CCAIN stream or set later using the RESET command, the following occurs: If a CYY-format is specified for output conversion and the C (century) indicator is zero, then C is eliminated. This C elimination is true for all $DATE… function calls.

For example:

If CUSTOM=(2) then: PRINT $DATEJ(2) prints 97.001

But if CUSTOM=(2) is omitted, then PRINT $DATEJ(2) prints 097.001.

Using CUSTOM=(6)

Using this option you can control the messages for the LOGIN and LOGOUT commands independently.

  • When CUSTOM is not set to 6, BATCH2 and IFAM2 applications cannot receive the return code from Model 204, if the command MSGCTL M204.0353 NOTERM is issued in the Online. Model 204 sends the return code to BATCH2 and IFAM2 User Language applications as a hidden field in the LOGOUT message, and the application must receive the LOGOUT message to obtain the return code.
  • When CUSTOM is set to 6, you can suppress M204.0353 and leave M204.2628 active and available for a BATCH2 or IFAM2 User Language application to receive the return code from the Online.

Using CUSTOM=(8)

The CUSTOM=(8) option lets Connect customers use one connection for multiple users.

  • If CUSTOM=(8) is not set, RCL behaves as in releases of Model 204 before V6R1.0; users receive the following message when issuing the LOGIN command:

    M204.1035:COMMAND INVALID FROM PROCEDURE

  • If CUSTOM=(8) is set, any commands that are invalid for RCL receive the following message:

    M204.2597 command COMMAND INVALID FROM AN RCL THREAD

Using CUSTOM=(9)

The CUSTOM=(9) option lets you suppress all output from all forms of the PRIORITY command.

Using CUSTOM=(10)

Including CUSTOM=10 in the CCAIN parameter stream enables you to specify a DDname longer than eight characters. The first eight characters will be used.

Using CUSTOM=(11)

Including CUSTOM=11 in the CCAIN parameter stream enables you to specify login passwords containing lowercase characters:

//CCAIN DD * LOGADD=200,CUSTOM=11

Using CUSTOM=(12)

When using an external authorizer (RACF, ACF2, Top Secret), if a user issues a command that requires system manager or system administrator privileges, Model 204 will test for system manager privileges for the logged-in user using the external authorizer and, if that fails, test for system administrator privileges. CUSTOM=(12) changes the order of the tests in such a case so that a user is tested for system administrator privileges before being tested for system manager privileges.

Using CUSTOM=(18)

Before Model 204 7.5, a setting of greater than 16K (16384) was allowed for the SSLIBSIZE parameter of the JANUS DEFINE command. However, in theory this should have only been necessary for SSL 2 support, as SSL 3 and TLS compliant implementations should only use SSL records of 16K or shorter.

Since support for SSL 2 is disabled in Model 204 7.5 (because SSL 2 is deprecated for its many security flaws), there is seemingly no need for SSL buffers longer than the 16K limit. So, Model 204 7.5 reduces any value greater than 16K for SSLBSIZE and SSLOBSIZE to 16K. This prevents Model 204 from pointlessly allocating more storage than is necessary for SSL buffers.

However, it appears that there are a few SSL 3 and TLS implementations in use that send SSL records longer than 16K, despite the standard's proscription against doing so. If a site communicates with such implementations, it might be necessary to set CUSTOM 18, then set SSLIBSIZE (or SSLOBSIZE) to a value greater than 16K.

Using CUSTOM=(42)

Before Model 204 7.7, a procedure with a name containing the following special characters could be created and displayed, but it could not be edited:

comma (,)
equal sign (=)
space ( )
single quote (')
semicolon (;)

If CUSTOM 42 is turned on, you can edit a procedure name containing these special characters, such as A B C, which contains spaces. To edit procedure names containing special characters:

  • Enclose the name in single quotation marks:

    EDIT 'A B C' EDIT 'AB=CD'

  • If the name contains single quotes, such as A'B'C', you must use two quotation marks for each single quote within the name (and enclose the name in single quotation marks):

    EDIT 'A''B''C'''

  • If an EDIT command inadvertently contains more than one comma, such as E 0,,PDS6884, you enter an edit session. (Without CUSTOM=42, the EDIT command is rejected). If the edit is saved, a procedure with the name ' ,' (that is, space comma) is saved. Subsequently referencing this procedure must include the leading space and enclose the name in single quotation marks:

    E ' ,' DELETE ' ,'