<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24CREMBX</id>
	<title>$CREMBX - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vmssoftware.com/index.php?action=history&amp;feed=atom&amp;title=%24CREMBX"/>
	<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=$CREMBX&amp;action=history"/>
	<updated>2026-04-30T10:25:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.vmssoftware.com/index.php?title=$CREMBX&amp;diff=1557&amp;oldid=prev</id>
		<title>Jane.doe at 12:45, 28 November 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=$CREMBX&amp;diff=1557&amp;oldid=prev"/>
		<updated>2019-11-28T12:45:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:45, 28 November 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l248&quot;&gt;Line 248:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 248:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* [[$SNDJBCW]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* [[$SNDJBCW]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* [[$SNDOPR]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;* [[$SNDOPR]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:System Services]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jane.doe</name></author>
	</entry>
	<entry>
		<id>https://wiki.vmssoftware.com/index.php?title=$CREMBX&amp;diff=1272&amp;oldid=prev</id>
		<title>Darya.zelenina: Created page with &quot;&#039;&#039;&#039;$CREMBX&#039;&#039;&#039; is a system service that creates a virtual mailbox device and assigns an I/O channel to it.  =Description= The Create Mailbox and...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.vmssoftware.com/index.php?title=$CREMBX&amp;diff=1272&amp;oldid=prev"/>
		<updated>2019-07-23T19:13:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;$CREMBX&amp;#039;&amp;#039;&amp;#039; is a &lt;a href=&quot;/System_Service&quot; title=&quot;System Service&quot;&gt;system service&lt;/a&gt; that creates a virtual &lt;a href=&quot;/Mailbox&quot; title=&quot;Mailbox&quot;&gt;mailbox&lt;/a&gt; device and assigns an I/O channel to it.  =Description= The Create Mailbox and...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;$CREMBX&amp;#039;&amp;#039;&amp;#039; is a [[System Service|system service]] that creates a virtual [[Mailbox|mailbox]] device and assigns an I/O channel to it.&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
The Create Mailbox and Assign Channel service creates a virtual mailbox device&lt;br /&gt;
named MBAn and assigns an I/O channel to it. The system provides the unit number n when it creates the mailbox. If a mailbox with the specified name already exists, the $CREMBX service assigns a channel to the existing mailbox.&lt;br /&gt;
&lt;br /&gt;
The $CREMBX service uses system dynamic memory to allocate a device database for the mailbox and for an entry in the logical name table (if a logical name is specified).&lt;br /&gt;
&lt;br /&gt;
When a temporary mailbox is created, the process’s buffered I/O byte count ([[BYTLM]]) quota is reduced by the amount specified in the bufquo argument. The size of the mailbox unit control block and the logical name (if specified) are also subtracted from the quota. The quota is returned to the process when the mailbox is deleted.&lt;br /&gt;
&lt;br /&gt;
The initial security profile created for a mailbox is taken from the mailbox template for the device class. The owner is then set to the process UIC and the promsk argument replaces the protection mask.&lt;br /&gt;
&lt;br /&gt;
After the process creates a mailbox, it and other processes can assign additional channels to it by calling the [[$ASSIGN|Assign I/O Channel ($ASSIGN)]] or Create Mailbox ($CREMBX) service. If the mailbox already exists, the $CREMBX service assigns a channel to that mailbox; in this way, cooperating processes need not consider which process must execute first to create the mailbox.&lt;br /&gt;
&lt;br /&gt;
A channel assigned to the mailbox READ ONLY is considered a READER. A channel assigned to the mailbox WRITE ONLY is considered a WRITER. A channel assigned to the mailbox READ/WRITE is considered both a WRITER and READER.&lt;br /&gt;
&lt;br /&gt;
A temporary mailbox is deleted when no more channels are assigned to it. A permanent mailbox must be explicitly marked for deletion with the [[$DELMBX|Delete Mailbox ($DELMBX)]] service; its actual deletion occurs when no more channels are assigned to it.&lt;br /&gt;
&lt;br /&gt;
A mailbox is treated as a shareable device; it cannot, however, be mounted or allocated.&lt;br /&gt;
&lt;br /&gt;
The mailbox unit number is determined when the mailbox is created. A process can obtain the unit number of the created mailbox by calling the [[$GETDVI|Get Device/Volume Information ($GETDVI)]] service using the channel returned by $CREMBX.&lt;br /&gt;
&lt;br /&gt;
Mailboxes are assigned sequentially increasing numbers (from 1 to a maximum of 9999) as they are created. When all unit numbers have been used, the system starts numbering again at unit 1. Logical names or mailbox names should be used to identify a mailbox between cooperating processes.&lt;br /&gt;
&lt;br /&gt;
Default values for the maximum message size and the buffer quota (an appropriate multiple of the message size) are determined for a specific system during system generation. The system parameter [[DEFMBXMXMSG]] determines the maximum message size; the system parameter [[DEFMBXBUFQUO]] determines the buffer quota. For termination mailboxes, the maximum message size must be at least as large as the termination message (currently 84 bytes).&lt;br /&gt;
&lt;br /&gt;
When you specify a logical name for a temporary mailbox, the $CREMBX service enters the name into the LNM$TEMPORARY_MAILBOX logical name table. Normally, LNM$TEMPORARY_MAILBOX specifies LNM$JOB, the jobwide logical name table; thus, only processes in the same job as the process that first creates the mailbox can use the logical name to access the temporary mailbox.&lt;br /&gt;
&lt;br /&gt;
If you want to use the temporary mailbox to enable communication between processes in different jobs, you must redefine LNM$TEMPORARY_MAILBOX in the process logical name directory table (LNM$PROCESS_DIRECTORY) to specify a logical name table that those processes can access.&lt;br /&gt;
&lt;br /&gt;
For instance, if you want to use the mailbox as a communication device for processes in the same group, you must redefine LNM$TEMPORARY_MAILBOX to specify LNM$GROUP, the group logical name table. The following DCL command assigns temporary mailbox logical names to the group logical name table:&lt;br /&gt;
&lt;br /&gt;
 $ DEFINE/TABLE=LNM$PROCESS_DIRECTORY LNM$TEMPORARY_MAILBOX LNM$GROUP&lt;br /&gt;
&lt;br /&gt;
When you specify a logical name for a permanent mailbox, the system enters the name in the logical name table specified by the logical name table name LNM$PERMANENT_MAILBOX, which normally specifies LNM$SYSTEM, the system logical name table. If you want the logical name that you specify for the mailbox to be entered in a logical name table other than the system logical name table, you must redefine LNM$PERMANENT_MAILBOX to specify the desired table. For more information about logical name tables, see the [https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c04621447 OpenVMS Programming Concepts Manual].&lt;br /&gt;
&lt;br /&gt;
If you redefine either LNM$TEMPORARY_MAILBOX or LNM$PERMANENT_MAILBOX, be sure that the name of the new table appears in the logical name table LNM$FILE_DEV. OpenVMS RMS and the I/O system services use LNM$FILE_DEV to translate I/O device names. If the logical name table specified by either LNM$TEMPORARY_MAILBOX or LNM$PERMANENT_MAILBOX does not appear in LNM$FILE_DEV, the system will be unable to translate the logical name of your mailbox and therefore will be unable to access your mailbox as an I/O device.&lt;br /&gt;
&lt;br /&gt;
If you redirect a logical name table to point to a process-private table, then the following occurs:&lt;br /&gt;
&lt;br /&gt;
* Other processes cannot access the mailbox by its name.&lt;br /&gt;
* If the creating process issues a second call to $CREMBX, a different mailbox is created and a channel is assigned to the new mailbox. (If the creating process issues a second call to $CREMBX using a shared logical name, a second channel is assigned to the existing mailbox.)&lt;br /&gt;
* The logical name is not deleted when the mailbox disappears.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;SYS$CREMBX [&amp;lt;/nowiki&amp;gt;[[#prmflg|prmflg]]&amp;lt;nowiki&amp;gt;] ,&amp;lt;/nowiki&amp;gt;[[#chan|chan]]&amp;lt;nowiki&amp;gt; ,[&amp;lt;/nowiki&amp;gt;[[#maxmsg|maxmsg]]&amp;lt;nowiki&amp;gt;] ,[&amp;lt;/nowiki&amp;gt;[[#bufquo|bufquo]]&amp;lt;nowiki&amp;gt;] ,[&amp;lt;/nowiki&amp;gt;[[#promsk|promsk]]&amp;lt;nowiki&amp;gt;] ,[&amp;lt;/nowiki&amp;gt;[[#acmode|acmode]]&amp;lt;nowiki&amp;gt;] ,[&amp;lt;/nowiki&amp;gt;[[#lognam|lognam]]&amp;lt;nowiki&amp;gt;]&lt;br /&gt;
,[&amp;lt;/nowiki&amp;gt;[[#flags|flags]]&amp;lt;nowiki&amp;gt;] ,[&amp;lt;/nowiki&amp;gt;[[#nullarg|nullarg]]&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
C prototype:&lt;br /&gt;
 int sys$crembx (char prmflg, unsigned short int *chan, unsigned int maxmsg,&lt;br /&gt;
                 unsigned int bufquo, unsigned int promsk, unsigned int acmode,&lt;br /&gt;
                 void *lognam,...);&lt;br /&gt;
&lt;br /&gt;
=Arguments=&lt;br /&gt;
==prmflg==&lt;br /&gt;
{{SyservArgument|boolean|byte (unsigned)|read only|by value}}&lt;br /&gt;
&lt;br /&gt;
Indicator specifying whether the created mailbox is to be permanent or temporary.&lt;br /&gt;
The prmflg argument is a byte value. The first bit specifies a permanent mailbox; the value 0, which is the default, specifies a temporary mailbox. Any other values result in an error.&lt;br /&gt;
&lt;br /&gt;
==chan==&lt;br /&gt;
{{SyservArgument|channel|word|write only|by reference}}&lt;br /&gt;
&lt;br /&gt;
Channel number assigned by $CREMBX to the mailbox. The &amp;#039;&amp;#039;&amp;#039;chan&amp;#039;&amp;#039;&amp;#039; argument is&lt;br /&gt;
the address of a word into which $CREMBX writes the channel number.&lt;br /&gt;
&lt;br /&gt;
==maxmsg==&lt;br /&gt;
{{SyservArgument|longword_unsigned|longword (unsigned)|read only|by value}}&lt;br /&gt;
&lt;br /&gt;
Maximum size (in bytes) of a message that can be sent to the mailbox. The&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;maxmsg&amp;#039;&amp;#039;&amp;#039; argument is a longword value containing this size.&lt;br /&gt;
The maximum value you can specify for the &amp;#039;&amp;#039;&amp;#039;maxmsg&amp;#039;&amp;#039;&amp;#039; argument is 65535. If you do not specify a value or specify the value as 0, the operating system provides a default value from the [[DEFMBXBUFQUO]] system parameter.&lt;br /&gt;
&lt;br /&gt;
==bufquo==&lt;br /&gt;
{{SyservArgument|longword_unsigned|longword (unsigned)|read only|by value}}&lt;br /&gt;
&lt;br /&gt;
Number of bytes of system dynamic memory that can be used to buffer messages&lt;br /&gt;
sent to the mailbox. The &amp;#039;&amp;#039;&amp;#039;bufquo&amp;#039;&amp;#039;&amp;#039; argument is a value containing this number. If you do not specify the &amp;#039;&amp;#039;&amp;#039;bufquo&amp;#039;&amp;#039;&amp;#039; argument or specify it as 0, the operating system provides a default value from the [[DEFMBXBUFQUO]] system parameter.&lt;br /&gt;
&lt;br /&gt;
For a temporary mailbox, this value must be less than or equal to the process&lt;br /&gt;
buffer quota.&lt;br /&gt;
&lt;br /&gt;
Note that as of [[OpenVMS Version 7.3-1]], the maximum value limit for the &amp;#039;&amp;#039;&amp;#039;bufquo&amp;#039;&amp;#039;&amp;#039; argument is the amount of available non-paged pool.&lt;br /&gt;
&lt;br /&gt;
==promsk==&lt;br /&gt;
{{SyservArgument|file_protection|longword (unsigned)|read only|by value}}&lt;br /&gt;
&lt;br /&gt;
Protection mask to be associated with the created mailbox. The &amp;#039;&amp;#039;&amp;#039;promsk&amp;#039;&amp;#039;&amp;#039; argument is a longword value that is the combined value of the bits set in the protection mask. Cleared bits grant access and set bits deny access to each of the four classes of user: world, group, owner, and system. The diagram on the right depicts these protection bits:&lt;br /&gt;
[[File:Снимок.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
If you do not specify the &amp;#039;&amp;#039;&amp;#039;promsk&amp;#039;&amp;#039;&amp;#039; argument or specify it as 0, the mailbox template is used.&lt;br /&gt;
&lt;br /&gt;
The logical access bit must be clear for the class of user requiring access to the mailbox. The access bit must be clear for all categories of user because logical access is required to read or write to a mailbox; thus, setting or clearing the read and write access bits is meaningless unless the logical access bit is also cleared.&lt;br /&gt;
&lt;br /&gt;
The physical access bit is ignored for all categories of user. Logical access also allows you to queue read or write attention ASTs.&lt;br /&gt;
&lt;br /&gt;
==acmode==&lt;br /&gt;
{{SyservArgument|access_mode|longword (unsigned)|read only|by value}}&lt;br /&gt;
&lt;br /&gt;
Access mode to be associated with the channel to which the mailbox is assigned. The acmode argument is a longword containing the access mode.&lt;br /&gt;
&lt;br /&gt;
The [[$PSLDEF]] macro defines the following symbols for the four access modes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Symbol&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Access Mode&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Numeric Value&lt;br /&gt;
|-&lt;br /&gt;
| PSL$C_KERNEL &lt;br /&gt;
| Kernel &lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| PSL$C_EXEC &lt;br /&gt;
| Executive &lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| PSL$C_SUPER &lt;br /&gt;
| Supervisor &lt;br /&gt;
| 2&lt;br /&gt;
|-&lt;br /&gt;
| PSL$C_USER &lt;br /&gt;
| User &lt;br /&gt;
| 3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The most privileged access mode used is the access mode of the caller. The specified access mode and the access mode of the caller are compared. The less privileged (but the higher numeric valued) of the two access modes becomes the access mode associated with the assigned channel. I/O operations on the channel can be performed only from equal or more privileged access modes.&lt;br /&gt;
&lt;br /&gt;
==lognam==&lt;br /&gt;
{{SyservArgument|logical_name|character-coded text string|read only|by descriptor–fixed-length string descriptor}}&lt;br /&gt;
&lt;br /&gt;
Logical name to be assigned to the mailbox. The &amp;#039;&amp;#039;&amp;#039;lognam&amp;#039;&amp;#039;&amp;#039; argument is the address of a character string descriptor pointing to the logical name string.&lt;br /&gt;
&lt;br /&gt;
The equivalence name for the mailbox is MBAn. The equivalence name is marked with the terminal attribute. Processes can use the logical name to assign other I/O channels to the mailbox.&lt;br /&gt;
&lt;br /&gt;
For permanent mailboxes, the $CREMBX service enters the specified logical name, if any, in the LNM$PERMANENT_MAILBOX logical name table and, for temporary mailboxes, into the LNM$TEMPORARY_MAILBOX logical name table.&lt;br /&gt;
&lt;br /&gt;
==flags==&lt;br /&gt;
{{SyservArgument|mask_longword|longword (unsigned)|read only|by value}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;flags&amp;#039;&amp;#039;&amp;#039; argument is used for specifying options for the assign operation that occurs in $CREMBX. The flags argument is a longword bit mask that enables the user to specify that the channel assigned to the mailbox is a READ ONLY or WRITE ONLY channel. If the flags argument is not specified, then the default channel behavior is READ/WRITE. The [[$CMBDEF]] macro defines a symbolic name for each flag bit.&lt;br /&gt;
&lt;br /&gt;
The following table describes each flag:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Flag&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| CMB$M_READONLY &lt;br /&gt;
| When this flag is specified, $CREMBX assigns a readonly channel to the mailbox device. An attempt to issue a QIO WRITE operation on the mailbox channel results in an illegal I/O operation error.&lt;br /&gt;
|-&lt;br /&gt;
| CMB$M_WRITEONLY &lt;br /&gt;
| When this flag is specified, $CREMBX assigns a writeonly channel to the mailbox device. An attempt to issue a QIO READ operation on the mailbox channel results in an illegal I/O operation error.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For more information about the flags argument, see the {{Template:IO}}.&lt;br /&gt;
&lt;br /&gt;
==nullarg==&lt;br /&gt;
{{SyservArgument|null_arg|longword (unsigned)|read only|by value}}&lt;br /&gt;
&lt;br /&gt;
Placeholding argument reserved by VSI.&lt;br /&gt;
&lt;br /&gt;
=Condition Values Returned=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Value&lt;br /&gt;
! colspan=&amp;quot;col&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| SS$_NORMAL &lt;br /&gt;
| The service completed successfully.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_ACCVIO &lt;br /&gt;
| The logical name string or string descriptor cannot be read by the caller, or the channel number cannot be written by the caller.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_BADPARAM &lt;br /&gt;
| One or more of the arguments has an invalid value. One possible problem is the flags argument has both the CMB$M_READONLY and CMB$M_WRITEONLY flags set; however, only one of these values is allowed.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_EXBYTLM &lt;br /&gt;
| The process has insufficient buffer I/O byte count (BYTLM) quota to allocate the mailbox UCB or to satisfy buffer requirements.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_INSFMEM &lt;br /&gt;
| The system dynamic memory is insufficient for completing the service.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_INTERLOCK &lt;br /&gt;
| The bit map lock for allocating mailboxes from the specified shared memory is locked by another process.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_IVLOGNAM &lt;br /&gt;
| The logical name string has a length of 0 or has more than 255 characters.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_IVSTSFLG &lt;br /&gt;
| The bit set in the prmflg argument is undefined; this argument can have a value of 1 or 0.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_NOIOCHAN &lt;br /&gt;
| No I/O channel is available for assignment.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_NOPRIV &lt;br /&gt;
| The process does not have the privilege to create a temporary mailbox, a permanent mailbox, a mailbox in memory that is shared by multiple processors, or a logical name.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_NOSHMBLOCK &lt;br /&gt;
| No shared memory mailbox UCB is available for use to create a new mailbox.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_OPINCOMPL &lt;br /&gt;
| A duplicate unit number was encountered while linking a shared memory mailbox UCB. If this condition value is returned, contact your VSI support representative.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_SHMNOTCNCT &lt;br /&gt;
| The shared memory named in the name argument is not known to the system. This error can be caused by a spelling error in the string, an improperly assigned logical name, or the failure to identify the multiport memory as shared at system generation time.&lt;br /&gt;
|-&lt;br /&gt;
| SS$_TOOMANYLNAM &lt;br /&gt;
| The logical name translation of the string named in the lognam argument exceeded the allowed depth.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Required Access or Privileges=&lt;br /&gt;
Depending on the operation, the calling process might need one of the following&lt;br /&gt;
privileges to use $CREMBX:&lt;br /&gt;
* [[TMPMBX]] privilege whenever the prmflg argument is specified as 0; however,&lt;br /&gt;
a process that has PRMMBX privilege will also meet this requirement.&lt;br /&gt;
* [[PRMMBX]] privilege whenever the prmflg argument is specified as 1.&lt;br /&gt;
* [[SYSNAM]] privilege to place a logical name for a mailbox in the system logical name table.&lt;br /&gt;
* [[GRPNAM]] privilege to place a logical name for a mailbox in the group logical name table.&lt;br /&gt;
&lt;br /&gt;
=Required Quota=&lt;br /&gt;
The calling process must have sufficient buffer I/O byte count ([[BYTLM]]) quota to allocate the mailbox unit control block (UCB) or to satisfy buffer requirements.&lt;br /&gt;
&lt;br /&gt;
When a temporary mailbox is created, the process’s buffered I/O byte count (BYTLM) quota is reduced by the amount specified in the bufquo argument. The size of the mailbox UCB and the logical name (if specified) are also subtracted from the quota. The quota is returned to the process when the mailbox is deleted.&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
* [http://www.eight-cubed.com/examples/framework.php?file=sys_crembx.c A C example by James Duff]&lt;br /&gt;
* [[$ALLOC]]&lt;br /&gt;
* [[$ASSIGN]]&lt;br /&gt;
* [[$BRKTHRU]]&lt;br /&gt;
* [[$BRKTHRUW]]&lt;br /&gt;
* [[$CANCEL]]&lt;br /&gt;
* [[$DALLOC]]&lt;br /&gt;
* [[$DASSGN]]&lt;br /&gt;
* [[$DELMBX]]&lt;br /&gt;
* [[$DEVICE_SCAN]]&lt;br /&gt;
* [[$DISMOU]]&lt;br /&gt;
* [[$GETDVI]]&lt;br /&gt;
* [[$GETDVIW]]&lt;br /&gt;
* [[$GETMSG]]&lt;br /&gt;
* [[$GETQUI]]&lt;br /&gt;
* [[$GETQUIW]]&lt;br /&gt;
* [[$INIT_VOL]]&lt;br /&gt;
* [[$MOUNT]]&lt;br /&gt;
* [[$PUTMSG]]&lt;br /&gt;
* [[$QIO]]&lt;br /&gt;
* [[$QIOW]]&lt;br /&gt;
* [[$SNDERR]]&lt;br /&gt;
* [[$SNDJBC]]&lt;br /&gt;
* [[$SNDJBCW]]&lt;br /&gt;
* [[$SNDOPR]]&lt;/div&gt;</summary>
		<author><name>Darya.zelenina</name></author>
	</entry>
</feed>