SAS Micro Analytic Service Return Codes

The SAS Micro Analytic Service core component, tkmas, supports the following return codes. Depending on logging settings, an associated message 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 run-time exception. Deleting revision.
-1958743962
MASGarbageCollectionTerm
Garbage collection is freeing control assets during shut-down.
-1958743961
MASShutdownHang
Worker thread did not interrupt after %d seconds during shutdown.
-1958743960
MASGCInvalidIntervalHigh
Specifies that the garbage collection interval is above the maximum. Setting to default value.
-1958743959
MASGCInvalidIntervalLow
Specifies that the garbage collection interval is below the minimum. Setting to default value.
-1958743958
MASGCInvalidGraceHigh
Specifies that the grace period is above the maximum. Setting to default value.
-1958743957
MASGCInvalidGraceLow
Specifies that the grace period is below the minimum. Setting to default value.
-1958743956
MASGCMissingInterval
Garbage collection interval is not specified. Setting to default value.
-1958743955
MASGCMissingGracePeriod
Grace period is not specified. Setting to default value.
-1958743954
MASModuleStats
Check the log for module statistics.
-1958743953
MASInvalidDS2Connection
Attempt to create TKTS driver connection failed.
-1958743952
MASDS2FatalRecompiled
DS2 package fatal error. Auto-recompile succeeded.
-1958743951
MASDS2FatalRecompFailed
DS2 package fatal error. Transaction failed. Recompile failed. Ejecting revision.
-1958743950
MASDS2RevisionEjected
DS2 package fatal error. Max retry exceeded. Ejecting revision. Correct and republish.
-1958743949
MASDBConnLost
Connection to the database lost. Check the log for details.
-1958743948
MASDBConnReestablished
Lost connection reestablished for user context.
-1958743947
MASDBConnRetryLimit
Maximum connection retry attempts exceeded for user context.
-1958743946
MASDBConnDoesNotExist
Attempt to execute SQLStmt, when no connection exists.
-1958743945
MASDBConnRetryThreadErr
Error while creating database connection retry thread.
-1958743944
MASDBConnRetryAttempt
Connection retry attempt unsuccessful.
-1958743943
MASNameRegisterFailed
Unable to register tkmas in the TK named registry. DS2 programs that call Python scripts will not function.
-1958743942
MASDS2PythonNameRequired
AS DS2 Python constructor missing Python module name.
-1958743941
MASDS2PythonCreateError
Unable to create SAS Micro Analytic Service DS2 Python package.
-1958743940
MASDS2PythonInitError
Unable to initialize support for SAS Micro Analytic Service DS2 Python package.
-1958743939
MASUnsupportedFunction
Unsupported function.
-1958743938
MASDS2NotInitialized
Attempt to perform action on uninitialized SAS Micro Analytic Service DS2 Python package.
-1958743937
MASDS2PythonParmError
SAS Micro Analytic Service DS2 Python package parameter mismatch.
-1958743936
MASDS2PythonArgNameReqd
SAS Micro Analytic Service DS2 Python missing argument name.
-1958743935
MASDS2PythonArgValueReqd
AS DS2 Python missing argument value.
-1958743934
MASDS2PythonArgInvalid
SAS Micro Analytic Service DS2 Python invalid argument value.
-1958743933
MASDS2PythonThreadError
Illegal operation: DS2 callback into SAS Micro Analytic Service received an unrecognized thread.
-1958743932
MASPythonCompileEx
Exception thrown while initializing Python or compiling Python script.
-1958743931
MASDS2InvalidMaxRecomp
Invalid maximum DS2 recompile count given. Setting to default value.
-1958743930
MASDBInvalidIntervalHigh
Specified DBMS connection retry interval is above the maximum. Setting to default value.
-1958743929
MASDBInvalidIntervalLow
Specified DBMS connection retry interval is below the minimum. Setting to default value.
-1958743928
MASDBInvalidMaxRetry
Invalid setting for maximum DBMS reconnection attempts. Setting to default value.
-1958743927
MASDBCreateConnErr
SAS Micro Analytic Service failed to create a connection.
-1958743926
MASDBCreateConn
SAS Micro Analytic Service created a connection.
-1958743925
MASGCCanBeDeleted
Garbage collection is checking module context for deletion pending.
-1958743924
MASRepoLockRemovePriv
Locking program repository to remove internal package.
-1958743923
MASRepoUnlockRemovePriv
Released program repository lock after removing internal package.
-1958743922
MASRepoLockRemoveRev
Locking program repository to remove module context.
-1958743921
MASRepoUnlockRemoveRev
Released program repository lock, after removing module context.
-1958743920
MASRepoLockCreate
Creating a lock for user context.
-1958743919
MASRepoLockDestroy
Destroying a lock for user context.
-1958743918
MASRepoLockPackageComp
Locking program repository during compilation of package.
-1958743917
MASRepoUnlockPackageComp
Released program repository lock after compilation of package.
-1958743916
MASRepoUnlockCompCrash
Released program repository lock due to DS2 compiler crash while compiling package.
-1958743915
MASRepoLockPackageSave
Locking program repository to save package after successful compilation.
-1958743914
MASRepoUnlockPackageSave
Released program repository after saving package.
-1958743913
MASRepoLockPackagePriv
Locking program repository to save internal package.
-1958743912
MASRepoUnlockPackagePriv
Released program repository after saving internal package.
-1958743911
MASPythonNotLoaded
Python extension not loaded. Python must be installed in order to execute Python within SAS Micro Analytic Service.
-1958743910
MASTKTSConnHndlFail
Failed to create a table services connection handle.
-1958743909
MASDBDisconnected
SAS Micro Analytic Service disconnected database from user context.
-1958743908
MASDBDisconnect
SAS Micro Analytic Service encountered a failure when attempting to disconnect the database from the user context.
-1958743907
MASPercentS
Internal error. Check the SAS Micro Analytic Service Core log.
-1958743906
MASPythonCompileErr
Error compiling the Python script for the module.
-1958743905
MASDS2MissingArray
A missing array argument is not supported with DS2.
-1958743904
MASDS2EmptyArray
An empty array argument is not supported with DS2.
-1958743903
MASDS2ArrayReplaced
Missing or insufficiently sized DS2 array argument has been replaced with new array of size %d.
-1958743902
MASDS2OutputTransError
Error %d when converting char string of length %d to TKChar string.
-1958743901
MASDS2InputTransError
Error %d when converting TKChar string of length %d to char string.
-1958743900
MASDS2PythonOutputTrans
Error %d when converting Python char string of length %d to TKChar string.
-1958743899
MASDS2PythonInputTrans
Error %d when converting TKChar string of length %d to char string for Python.
-1958743898
MASDBCr8ConnNoSub
SAS Micro Analytic Service created a default data source connection.
-1958743897
MASDBCr8ConnErrNoSub
SAS Micro Analytic Service failed to create a default data source connection.
1958743896
MASDBDisconnNoSub
SAS Micro Analytic Service disconnected from the default data source.
1958743895
MASDBDisconnErrNoSub
SAS Micro Analytic Service encountered a failure when attempting to disconnect from the default data source.
1958743894
MASDS2ScanError
Out of memory or malformed DS2 encountered while scanning the package %s source code prior to dictionary generation.
1958743893
MASDS2ParseError
Out of memory or malformed DS2 encountered while parsing the package %s method %s during dictionary generation.
1958743892
MASMTXGetDictDelPending
Attempt to retrieve the dictionary from module context %s revision %d while deletion pending.
1958743892
MASCFuncProtoNotSupp
Part of the C function prototype is not supported.
1958743890
MASDupModuleName
Module name %s already exists. Module name must be unique within the user context.
1958743889
MASDupDS2Package
The DS2 package name %s is already bound to module %s. Separate modules cannot represent the same DS2 package.
1958743888
MASIndexOutOfRangeSet
The index is out of range while setting an argument. Argument %d specified when number of arguments is %d.
1958743887
MASIndexOutOfRangeGet
The index is out of range while retrieving an argument. Argument %d specified when number of arguments is %d.
1958743886
MASIntTypeExpected
The argument %d in method %Us should be an integral type used to specify the length of the previous argument, which is an array.
1958743885
MASOutArgExpected
The argument %d in method %Us should be an output argument. All input arguments must precede output arguments.
1958743884
MASDS2pymas
DS2 pymas package encountered a failure.
1958743883
MASDS2pymasFailIn
DS2 pymas package encountered a failure in %Us.
1958743882
MASDS2pymasPubUTF8
DS2 pymas package failed to publish module %Us.
1958743881
MASDS2pymasPubTK
DS2 pymas package failed to publish module %s.
1958743880
MASDS2pymasUsed
The DS2 pymas package's use method has already been called on this package instance. Create a separate pymas instances for each method that is used.
1958743879
MASThrdPoolSizeDiff
SAS Micro Analytic Service has already been initialized with a worker thread pool size of %d.
1958743878
MASSymbolTableCreateFailed
SAS Micro Analytic Service failed to create a symbol table.
1958743877
MASMethodExecutionFailed
SAS Micro Analytic Service failed to execute a method.