SAS Micro Analytic Service Return Codes

SAS Micro Analytic Service core component, tkmas, supports the following return codes. Depending on logging settings, an associated message, listed below, might be logged. When a message is logged, any substitution parameters (indicated by %s for string and %d for number) are filled in. The other SAS Micro Analytic Service interface layers, such as the Java interface and the REST interface, might log additional messages that are not listed below.
Return Code
#define Symbol
Message or Description
-1958744063
MASBadArgs
Invalid arguments.
-1958744062
MASInternalError
Internal error.
-1958744061
MASFailure
SAS Micro Analytic Service encountered a failure.
-1958744060
MASFail
%s encountered a failure.
-1958744059
MASUnexFail
%s encountered an unexpected failure.
-1958744058
MASUnexInternal
%s encountered an unexpected internal failure.
-1958744057
MASUnexFailIn
%s encountered an unexpected failure in %s.
-1958744056
MASFailIn
%s encountered a failure in %s.
-1958744055
MASFailWithText
%s encountered a failure in %s: %s.
-1958744054
MASSFGCBLock
Failed to obtain the SFGCB lock.
-1958744053
MASExeLock
Failed to obtain the .exe lock.
-1958744052
MASLockCreate
Failed to create the %s lock.
-1958744051
MASEventCreate
Failed to create the %s event for thread %d.
-1958744050
MASThreadCreate
Failed to create SAS Micro Analytic Service worker thread %d of %d.
-1958744049
MASCPUCount
Failed to determine the number of CPUs. Setting the number of worker threads to %d.
-1958744048
MASThreadCount
The number of threads requested, %d, exceeds the limit. The maximum allowable threads = %d times the number of CPUs = %d.
-1958744047
MASThreadPoolSize
Worker thread pool size set to: %d.
-1958744046
MASInitAlready
SAS Micro Analytic Service was already initialized.
-1958744045
MASInitFailed
SAS Micro Analytic Service failed to initialize.
-1958744044
MASNotLicensed
SAS Micro Analytic Service is not licensed.
-1958744043
MASLicSvcInitFailed
License service failed to initialize.
-1958744042
MASNotInitialized
SAS Micro Analytic Service is not initialized.
-1958744041
MASTermFailed
SAS Micro Analytic Service failed to terminate successfully.
-1958744040
MASArgTrunc
The maximum size of parameter %d in the %s call is not large enough, and the value has been truncated at %d characters.
-1958744039
MASCompStatus
Compiler encountered status 0x%X.
-1958744038
MASUnsupportedType
Unsupported type.
-1958744037
MASUnknownType
Unknown type.
-1958744036
MASNoSuchPackage
Package not found.
-1958744035
MASNoSuchMethod
Method not found.
-1958744034
MASNoSuchRevision
Revision not found.
-1958744033
MASRevisionGet
Failed to get revision.
-1958744032
MASNoSuchModule
Module not found.
-1958744031
MASNoSuchUserContext
User context not found.
-1958744030
MASModuleCtxtCreate
Failed to create module context.
-1958744029
MASUserCtxtCreate
Failed to create user context.
-1958744028
MASArgTypeMismatch
Argument type mismatch.
-1958744027
MASArgCoutMismatch
Argument count mismatch.
-1958744026
MASClientCodegenError
Code generation error.
-1958744025
MASDS2CompileError
DS2 compilation error.
-1958744024
MASDS2RuntimeError
DS2 run-time error.
-1958744023
MASTKGNoEntryPoint
Code generation did not find an entry point.
-1958744022
MASTKGGenericError
Code generation generic error.
-1958744021
MASInvalidRequest
Invalid request.
-1958744020
MASMissingEntryPoints
Missing entry points.
-1958744019
MASUnassignedInput
Unassigned input.
-1958744018
MASInternalOnly
Internal only.
-1958744017
MASOnlyValidForDS2
Valid only for DS2 code.
-1958744016
MASOnlyValidForC
Valid only for C code.
-1958744015
MASExecutionException
Exception occurred during execution.
-1958744014
MASCompilationException
Exception occurred during compilation.
-1958744013
MASDS2ThreadUnsupported
DS2 thread unsupported.
-1958744012
MASTKEDSError
DS2 error.
-1958744011
MASUnrecognizedLanguage
Unrecognized language.
-1958744010
MASUnspecifiedDataType
Unspecified data type.
-1958744009
MASTKThreadingError
Threading error.
-1958744008
MASFatalProgRepoLost
Program repository lost.
-1958744007
MASSaveToRepo
Failed to save to repository.
-1958744006
MASLog4SASCfgFailed
Logging configuration failed.
-1958744005
MASDS2CompileStart
User context '%s' compiling module '%s' on thread %d.
-1958744004
MASDS2CompileFinish
User context '%s' module '%s' thread %d compilation succeeded.
-1958744003
MASDS2CompileFailed
User context '%s' module '%s' thread %d new revision failed, RC = %d.
-1958744002
MASStartup
*** SAS Micro Analytic Service Started ***
-1958744001
MASShutdown
*** Micro Analytic Service Shutting Down ***
-1958744000
MASAsyncException
SAS Micro Analytic Service received async exception code %d.
-1958743999
MASAsyncInitFailed
SAS Micro Analytic Service failed to install async exception handler.
-1958743998
MASShutdownJNI
SAS Micro Analytic Service calling JVM System.exit(0).
-1958743997
MASExecDeletePending
Attempt to execute method %s while deletion pending for module context %s revision %d.
-1958743996
MASMTXDeletePending
Attempt to add module context &s while deletion pending for user context %s.
-1958743995
MASRevDeletePending
Attempt to create revision while deletion pending for module context %s.
-1958743994
MASRevDelDeletePending
Attempt to delete revision while deletion pending for module context %s.
-1958743993
MASRevDelRefCount
Pending delete called for module context %s with ref count %d.
-1958743992
MASRevDelRefCountError
Delete called for module context %s with ref count %d.
-1958743991
MASMTXDelete
Garbage collection is deleting module context %s.
-1958743990
MASCTXDeletePending
Attempt to delete user context %s while being deleted by another thread.
-1958743989
MASCTXGetCDTDelPending
Attempt to retrieve creation time from user context %s while deletion pending.
-1958743988
MASCTXGetMDTDelPending
Attempt to retrieve modified time from user context %s while deletion pending.
-1958743987
MASMTXGetCDTDelPending
Attempt to retrieve creation time from module context %s while deletion pending.
-1958743986
MASMTXGetMDTDelPending
Attempt to retrieve modified time from module context %s while deletion pending.
-1958743985
MASMTXGetRevDelPending
Attempt to retrieve highest revision from module context %s while deletion pending.
-1958743984
MASMTXGetIUODelPending
Attempt to retrieve internal use flag from module context %s while deletion pending.
-1958743983
MASRevGetCDTDelPending
Attempt to retrieve revision %d creation time from module context %s while deletion pending.
-1958743982
MASMTXGetMsgDelPending
Attempt to retrieve compilation messages from module context %s while deletion pending.
-1958743981
MASMTXRegDeletePending
Attempt to register name while deletion pending for module context %s.
-1958743980
MASMTXLangDelPending
Attempt to retrieve language of module context %s while deletion pending.
-1958743979
MASMTXGetDispDelPending
Attempt to retrieve display name from module context %s while deletion pending.
-1958743978
MASMTXGetCSrcDelPending
Attempt to retrieve C source code from module context %s revision %d while deletion pending.
-1958743977
MASCTXGetPkgsDelPending
Attempt to retrieve packages from user context %s while deletion pending.
-1958743976
MASMTXGetMthsDelPending
Attempt to retrieve methods from module context %s while deletion pending.
-1958743975
MASNoSuchEntryPoint
Entry point not found.
-1958743974
MASMTXGetSigDelPending
Attempt to retrieve method %s signature from module context %s while deletion pending.
-1958743973
MASCTXLdOOTBDelPending
Private load out-of-the-box packages for user context %s while deletion pending.
-1958743972
MASCTXRegIntDelPending
Attempt to publish internal package %s to user context %s while deletion pending.
-1958743971
MASCTXRemIntDelPending
Attempt to remove internal package %s from user context %s while deletion pending.
-1958743970
MASCreateGCAFailed
Attempt to create garbage collection control structures failed.
-1958743969
MASGarbageCollection
Garbage collection interval.
-1958743968
MASGarbageCollectionDel
Garbage collection found assets ready to delete.
-1958743967
MASGCException
Exception occurred during garbage collection run.
-1958743966
MASProgRepoUpdateError
Error obtaining exclusive lock to update DS2 program repository.
-1958743965
MASCTXDelete
Garbage collection is deleting user context %s.
-1958743964
MASRevDelete
Garbage collection is deleting module context %s revision %d.
-1958743963
MASDS2Fatal
Module context %s revision %d generated fatal runtime exception. Deleting revision.
-1958743962
MASGarbageCollectionTerm
Garbage collection is freeing control assets during shutdown.
-1958743961
MASShutdownHang
Worker thread did not interrupt after %d seconds during shutdown.