Initializes an application.
Category: | ARM Macro |
is the application name. The value is a SAS character variable or quoted literal.
Restriction | The application name has a 127-character limit. |
is the application ID. The value must be a numeric variable.
is the application user ID. The value is a SAS character variable or quoted literal.
Restriction | The application user ID has a 127-character limit. |
is optional and denotes whether to generate an ARM_GETID function call after ARM_INIT. If the value is YES, you can define the user metrics.
Default | NO |
Requirement | TXNNAME= is required when you use GETID=YES. |
is a variable that specifies the execution level. The value must be a numeric constant or variable.
enables the %ARMINIT macro to be issued in open code. You set the value to YES if the macro can be issued in open code and NO if it can be issued only in a DATA step.
Default | NO |
is used only in SCL programs and specifies whether the macro is in an SCL environment. Set the value to YES if the macro is in an SCL environment and NO if it is not.
Default | NO |
is a numeric variable that contains the value of the transaction ID.
Restriction | Use TXNIDVAR= only when you use GETID=YES. |
is a transaction detail. The value is a SAS character variable or quoted literal.
Restriction | The transaction detail has a 127-character limit. Use TXNDET= only when you use GETID=YES. |
is the transaction name. The value is a SAS character variable or quoted literal value.
Requirement | TXNNAME= is required only when you use GETID=YES. |
%let _armexec=1; %let _armacro=1; data _null_; %arminit(appname='General Ledger'); run
%let _armexec=1; %let _armacro=1; data _null_; name='Order Entry Application'; %arminit(appname=application-name, appuser='sasxyz'); run;
%let _armexec=1; %let _armacro=1; data _null_; %arminit(appname='Warehouse App', getid=YES, txnname='Query 1', txndet='My long query'); run;
%let _armexec=1; %let _armacro=1; data _null_; %arminit(appname=application-name, appuser='sasxyz', appidvar=appl); put “application id is “ appl; run;