Previous Page | Next Page

DATA Step Functions for Metadata Security Administration

METASEC_ENDTRAN Function

Ends the TC.


Syntax

rc = METASEC_ENDTRAN(uri,tc,flags);


Arguments

Argument Direction Description
uri
in Character variable or constant that contains the URI of the object to be manipulated by the transaction
tc
in Character variable that contains the handle of the TC to be ended
flags
in Integer bit field that specifies whether the transaction should be committed; use one of the following macro variables from %MDSECCON()
_SECAD_COMMIT_TC

Commit transaction

_SECAD_DISCARD_TC

Do not commit transaction

For more information, see Using the %MDSECCON() Macro.


Return Values

Value Description
0 Successful completion
-1 Unable to connect to the metadata server
-3 No objects match the specified URI
-4 Numeric value (flag) exceeds the maximum usable value
-5 No TC handle was specified
-99 or less Other error; see log or sysmsg() for information


Details

This function calls the ISecAdmin method EndTransactionContext(). For information about the method, see SAS Open Metadata Interface: Reference.


Example


Related Functions

Previous Page | Next Page | Top of Page