/* <jbcmsgdef.h>
 *
 *	Job controller message/status codes
 */
#ifndef _JBCMSGDEF_H
#define _JBCMSGDEF_H

#define JBC$_FACILITY	4	/* 0x0004 */
/*
   The following codes are returned by the $SNDJBC, $GETQUI, $SNDACC, and
   $SNDSMB system services, or placed in the accounting file.

   These values are public and must not change from release to release.
 */
#define JBC$_NORMAL		0x00040001	/* 262145 <normal success completion> */
#define JBC$_NOCMKRNL		0x00042802	/* 272386 <operation requires CMKRNL privilege> */
#define JBC$_NOOPER		0x00042892	/* 272530 <operation requires OPER privilege> */
#define JBC$_NOSYSNAM		0x00042812	/* 272402 <operation requires SYSNAM privilege> */
#define JBC$_ILLDEVNAM		0x00048004	/* 294916 */
#define JBC$_UNSDEVTYP		0x0004800C	/* 294924 */
#define JBC$_ILLFILNAM		0x00048014	/* 294932 */
#define JBC$_INVQUENAM		0x0004801C	/* 294940 */
#define JBC$_NOPRIV		0x00048022	/* 294946 */
#define JBC$_NOQUEHDR		0x0004802C	/* 294956 */
#define JBC$_NOQUESPACE		0x00048032	/* 294962 */
#define JBC$_NOSUCHQUE		0x0004803A	/* 294970 */
#define JBC$_NOSUCHJOB		0x00048042	/* 294978 */
#define JBC$_NOOPENJOB		0x0004804A	/* 294986 */
#define JBC$_REFERENCED		0x00048052	/* 294994 */
#define JBC$_STARTED		0x0004805A	/* 295002 */
#define JBC$_INVITMCOD		0x00048064	/* 295012 */
#define JBC$_INVFUNCOD		0x0004806C	/* 295020 */
#define JBC$_EMPTYJOB		0x00048072	/* 295026 */
#define JBC$_JOBQUEDIS		0x0004807A	/* 295034 */
#define JBC$_JOBABORT		0x00048084	/* 295044 */
#define JBC$_ACMINVOP		0x0004808C	/* 295052 */
#define JBC$_INVPARLEN		0x00048094	/* 295060 */
#define JBC$_TRMMBXUSE		0x0004809C	/* 295068 */
#define JBC$_MAXSYMEXD		0x000480A4	/* 295076 */
#define JBC$_SCTTABFUL		0x000480AC	/* 295084 */
#define JBC$_CREPRCFAL		0x000480B4	/* 295092 */
#define JBC$_SYMNTBFUL		0x000480BC	/* 295100 */
#define JBC$_NODSTQUE		0x000480C2	/* 295106 */
#define JBC$_INVDSTQUE		0x000480CC	/* 295116 */
#define JBC$_JOBDELETE		0x000480D4	/* 295124 */
#define JBC$_NORESTART		0x000480DA	/* 295130 */
#define JBC$_JOBREQUEUE		0x000480E4	/* 295140 */
#define JBC$_QUERESET		0x000480EC	/* 295148 */
#define JBC$_SYSFAIL		0x000480F4	/* 295156 */
#define JBC$_EXECUTING		0x000480FA	/* 295162 */
#define JBC$_INVMSGBUF		0x00048104	/* 295172 */
#define JBC$_MISREQPAR		0x0004810C	/* 295180 */
#define JBC$_INVPARVAL		0x00048114	/* 295188 */
#define JBC$_INCQUETYP		0x0004811C	/* 295196 */
#define JBC$_INCDSTQUE		0x00048124	/* 295204 */
#define JBC$_JOBQUEENA		0x0004812A	/* 295210 */
#define JBC$_NOTASSIGN		0x00048132	/* 295218 */
#define JBC$_INCOMPLETE		0x0004813A	/* 295226 */
#define JBC$_INVCHANAM		0x00048144	/* 295236 */
#define JBC$_INVFORNAM		0x0004814C	/* 295244 */
#define JBC$_NOSUCHCHAR		0x00048152	/* 295250 */
#define JBC$_NOSUCHFORM		0x0004815A	/* 295258 */
#define JBC$_DUPFORM		0x00048162	/* 295266 */
#define JBC$_INCFORMPAR		0x0004816C	/* 295276 */
#define JBC$_NOSUCHFILE		0x00048172	/* 295282 */
#define JBC$_DELACCESS		0x0004817A	/* 295290 */
#define JBC$_QUENOTSTOP		0x00048182	/* 295298 */
#define JBC$_NOMORECHAR		0x0004818A	/* 295306 */
#define JBC$_NOMOREFILE		0x00048192	/* 295314 */
#define JBC$_NOMOREFORM		0x0004819A	/* 295322 */
#define JBC$_NOMOREJOB		0x000481A2	/* 295330 */
#define JBC$_NOMOREQUE		0x000481AA	/* 295338 */
#define JBC$_NOJOBCTX		0x000481B2	/* 295346 */
#define JBC$_NOQUECTX		0x000481BA	/* 295354 */
#define JBC$_NOSUCHNODE		0x000481C2	/* 295362 */
#define JBC$_GEN_MAX		0x000481CA	/* 295370 */
#define JBC$_QUE_CLOSED		0x000481D2	/* 295378 */
#define JBC$_NOSUCHENT		0x000481DA	/* 295386 */
#define JBC$_NOMOREENT		0x000481E2	/* 295394 */
#define JBC$_JOBCTLABORT	0x000481EC	/* 295404 */
#define JBC$_NOTSUPPORTED	0x000481F4	/* 295412 */
#define JBC$_NOTMEANINGFUL	0x000481FB	/* 295419 */
#define JBC$_QUEDISABLED	0x00048202	/* 295426 */
#define JBC$_NOTDISABLED	0x0004820A	/* 295434 */
#define JBC$_NOTENAGEN		0x00048212	/* 295442 */
#define JBC$_ENABLEQUE		0x00048218	/* 295448 */
#define JBC$_QUENOTMOD		0x00048223	/* 295459 */
#define JBC$_ATT_MAX		0x0004822A	/* 295466 */
#define JBC$_ATTNOTAVAIL	0x00048232	/* 295474 */
#define JBC$_QEXISTS		0x0004823A	/* 295482 */
#define JBC$_NOSUCHQMGR		0x00048242	/* 295490 */
#define JBC$_JOBNOTEXEC		0x0004824A	/* 295498 */
#define JBC$_DUPCHARNAME	0x00048252	/* 295506 */
#define JBC$_DUPCHARNUM		0x0004825A	/* 295514 */
#define JBC$_DUPFORMNAME	0x00048262	/* 295522 */
#define JBC$_STKNOTCHANGE	0x0004826A	/* 295530 */
#define JBC$_ITMREMOVED		0x00048273	/* 295539 */
#define JBC$_PRIOSMALL		0x0004827B	/* 295547 */
#define JBC$_QMANMAX		0x00048280	/* 295552 */
#define JBC$_NOAUTOSTART	0x00048288	/* 295560 */
#define JBC$_NOTALLREQUE	0x00048290	/* 295568 */
#define JBC$_NULL1		0x0004829C	/* 295580 */
#define JBC$_TOOMUCHINFO	0x000482A2	/* 295586 */
#define JBC$_AUTONOTSTART	0x000482AB	/* 295595 */
#define JBC$_NULL2		0x000482B2	/* 295602 */
#define JBC$_QMANNOTSTARTED	0x000482BA	/* 295610 */
#define JBC$_BUFTOOSMALL	0x000482C0	/* 295616 */
#define JBC$_INTERNALERROR	0x000482C8	/* 295624 */
#define JBC$_QMGREXISTS		0x000482D2	/* 295634 */
#define JBC$_TWOQMGRS		0x000482DA	/* 295642 */
#define JBC$_INVQMANNAM		0x000482E2	/* 295650 */
#define JBC$_NOMOREQMGR		0x000482EA	/* 295658 */
#define JBC$_QMANABORT		0x000482F4	/* 295668 */
/*
   The following codes are signalled to the console or broadcast to the user's
   terminal by the job controller.

   These messages are not public and may change from release to release.

   Note:  the job controller aborts execution and restarts itself when a severe
	 error is signalled to the console.
 */
#define JBC$_ACCDISERR		0x00048403	/* 295939 */
#define JBC$_ALLOCMEM		0x0004840C	/* 295948 */
#define JBC$_COMREMJBC		0x00048414	/* 295956 */
#define JBC$_INVBLOCK		0x0004841C	/* 295964 */
#define JBC$_INVMSG		0x00048422	/* 295970 */
#define JBC$_NEWQUEUE		0x0004842B	/* 295979 */
#define JBC$_OPEJBCMBX		0x00048434	/* 295988 */
#define JBC$_PRCREAT		0x0004843C	/* 295996 */
#define JBC$_QUEFORMAT		0x00048440	/* 296000 */
#define JBC$_REAJBCMBX		0x0004844C	/* 296012 */
#define JBC$_REQUEST		0x00048453	/* 296019 */
#define JBC$_SETIMR		0x0004845A	/* 296026 */
#define JBC$_SYMCREPRC		0x00048462	/* 296034 */
#define JBC$_SYMDEL		0x0004846A	/* 296042 */
#define JBC$_WRIRSPMSG		0x00048472	/* 296050 */
#define JBC$_WRISMBMBX		0x0004847A	/* 296058 */
#define JBC$_NFY_COMPLETE	0x00048483	/* 296067 */
#define JBC$_NFY_CURRENT	0x0004848B	/* 296075 */
#define JBC$_NFY_HOLD		0x00048493	/* 296083 */
#define JBC$_NFY_PENDING	0x0004849B	/* 296091 */
#define JBC$_NFY_TIMER		0x000484A3	/* 296099 */
#define JBC$_STRUCT_LEVEL	0x000484AB	/* 296107 */
#define JBC$_DIAGNOSTIC		0x000484B0	/* 296112 */
#define JBC$_DIAG_TEXT		0x000484B8	/* 296120 */
#define JBC$_DIAG_DATA		0x000484C0	/* 296128 */
#define JBC$_RESTRICT		0x000484C8	/* 296136 */
#define JBC$_NFY_FAILURE	0x000484D3	/* 296147 */
#define JBC$_NFY_CPULIM		0x000484DB	/* 296155 */
#define JBC$_NFY_WSVAL		0x000484E3	/* 296163 */
#define JBC$_RESTARTCOM		0x000484EB	/* 296171 */
#define JBC$_NFY_NOACCESS	0x000484F3	/* 296179 */
#define JBC$_NFY_CHARAC		0x000484FB	/* 296187 */
#define JBC$_NFY_NOLOWER	0x00048503	/* 296195 */
#define JBC$_NFY_SIZE_MIN	0x0004850B	/* 296203 */
#define JBC$_NFY_SIZE_MAX	0x00048513	/* 296211 */
#define JBC$_NFY_FORM		0x0004851B	/* 296219 */
#define JBC$_NFY_QUESTATE	0x00048523	/* 296227 */
#define JBC$_FAILCREPRC		0x0004852A	/* 296234 */
#define JBC$_QMANCREPRC		0x00048532	/* 296242 */
#define JBC$_INITFAIL		0x0004853C	/* 296252 */
#define JBC$_QMANDEL		0x00048542	/* 296258 */

/* this is continuation of the first portion of messages. */
#define JBC$_ACCNOTENB		0x00048FA2	/* 298914 */

#endif	/*_JBCMSGDEF_H*/
