<sasads:Connection>

The Connection Custom Tag allows the user to include SAS DataSet connectivity within a JSP page. The Connection Tag may be used in all four scopes, PAGE, REQUEST, SESSION, and APPLICATION. If the Connection Tag is used with a scope of PAGE, all code must either be contained within the body of the Connection Tag. If the scope is of the Connection Tag is PAGE and a body is present, the connection will be stopped at the end of the Connection Tag's body. If the id or ref attributes are null the connection will be stopped at the end of the Connection Tag's body.

Syntax

<sasads:Connection
   [accessMethod="java.lang.String"]
   [allowCustomize="true|false"]
   [appletCodebaseRelative="true|false"]
   [applicationClass="java.lang.String"]
   [applicationGroup="java.lang.String"]
   [applicationPassword="java.lang.String"]
   [applicationUsername="java.lang.String"]
   [command="java.lang.String"]
   [commandPrompt="java.lang.String"]
   [commandPromptTimeout="java.lang.String"]
   [deadlockWaitTime="int"]
   [deferAllUntilRuntime="true|false"]
   [deferApplicationUserInfoUntilRuntime="true|false"]
   [deferUserInfoUntilRuntime="true|false"]
   [designTimeActive="true|false"]
   [encryptionAlgorithms="java.lang.String"]
   [encryptionPolicy="java.lang.String"]
   [encryptionTarget="java.lang.String"]
   [factoryDestroyTimeout="int"]
   [funnel="true|false"]
   [funnelHost="java.lang.String"]
   [handshakeTimeout="int"]
   [host="java.lang.String"]
   [id="value"]
   [ignoreTimeout="true|false"]
   [initialClass="java.lang.String"]
   [initialStatement="java.lang.String"]
   [instantiate="true|false"]
   [jdbcDriver="java.lang.String"]
   [jdbcDriverURL="java.lang.String"]
   [locale="java.util.Locale"]
   [logTrap="true|false"]
   [parameterMode="java.lang.String"]
   [password="java.lang.String"]
   [passwordPrompt="java.lang.String"]
   [passwordPromptTimeout="java.lang.String"]
   [persistedName="java.lang.String"]
   [port="int"]
   [portPrompt="java.lang.String"]
   [portPromptTimeout="java.lang.String"]
   [prodauthLoginTimeout="int"]
   [profileName="java.lang.String"]
   [profiler="true|false"]
   [ref="java.lang.String"]
   [rocf="java.lang.String"]
   [rocfObj="com.sas.rmi.Rocf"]
   [routerURL="java.lang.String"]
   [runtimeExceptionAlways="true|false"]
   [runtimeExceptionNoListeners="true|false"]
   [runtimeParamKeyPrefix="java.lang.String"]
   [scope="java.lang.String"]
   [searchDataSets="java.lang.String"]
   [serverArchitecture="java.lang.String"]
   [serverEncoding="java.lang.String"]
   [serverEncodings="java.lang.String"]
   [serverListVersion="int"]
   [sessionReleaseTimeout="int"]
   [stop="true|false"]
   [traceProxyClient="true|false"]
   [useProfile="true|false"]
   [username="java.lang.String"]
   [usernamePrompt="java.lang.String"]
   [usernamePromptTimeout="java.lang.String"]
   [useRouter="true|false"]
   [useRuntimeParams="true|false"]
   [useServerBroker="true|false"]>
</sasads:Connection>

Attributes

accessMethodSets the accessmethod to use for the connection
allowCustomizeAllows the use of the customizer when using deferred user info
appletCodebaseRelativeTurn on a switch making the SAS server be looked up from wherever the web server is for this app to facilitate app porting
applicationClassSets the application class for the connection
applicationGroupSets the application group for the connection
applicationPasswordSets the application-level password
applicationUsernameSets the application-level user name
commandSets the command used to invoke SAS on the remote host
commandPromptSets the command prompt to search for during telnet initialization
commandPromptTimeoutSets the maximum number of seconds to wait for a command prompt.
deadlockWaitTimethe max time sleeping, waiting for deadlock
deferAllUntilRuntimeTurns on/off the deferring of all connection properties until runtime
deferApplicationUserInfoUntilRuntimeTurns on/off the deferring of the application-level username and password properties until runtime
deferUserInfoUntilRuntimeTurns on/off the deferring of the username and password properties until runtime
designTimeActiveTurns on/off the design time status for the connection
encryptionAlgorithmsSets a comma-separated list of encryption algorithms that the client would like to use to secure this connection in order of preference
encryptionPolicyTells the connection what level of encryption is required for the connection to succeed
encryptionTargetSets the target of encryption (SAS, telnet, or both)
factoryDestroyTimeoutSets the Factory Destroy Timeout for the connection
funnelTurns on/off the use of a funnel host to share a single SAS session between multiple clients
funnelHostSets the host name for funneling and/or session brokering
handshakeTimeoutSets the Handshake Timeout for the connection
hostSets the target host name
idCase-sensitive name used to identify the object instance.
ignoreTimeoutTurns on/off method timeout, esp for start and endsas
initialClassSets the initial class to be invoked during the SAS session logon
initialStatementSets the initial statement to be submitted on a newly created SAS session
instantiate
jdbcDriverSets the JDBC driver name (such as sun.jdbc.odbc.JdbcOdbcDriver)
jdbcDriverURLSets the JDBC connection URL (such as jdbc:odbc:foobar)
locale
logTrapTurns on/off the SAS log trace
parameterModeSets the method parameter mode
passwordSets the user password for the connection
passwordPromptSets the password prompt to search for during telnet initialization
passwordPromptTimeoutSets the maximum number of seconds to wait for a password prompt
persistedNameSets the persisted name
portSets the telnet port for the connection
portPromptSets the port number prompt to search for during telnet initialization
portPromptTimeoutSets the maximum number of seconds to wait for a port prompt
prodauthLoginTimeoutSets the Prodauth Login Timeout for the connection
profileNameSets the connection profile name to use within the Middleware Server
profilerTurns on/off method profiling
ref
rocfthe rocf orb to be used.
rocfObjthe rocf orb to be used.
routerURLSets the router URL for the connection
runtimeExceptionAlwaysTurns on/off the throwing of runtime exceptions for any remote exception
runtimeExceptionNoListenersTurns on/off the throwing of runtime exceptions for any remote exception when there are no exception listeners
runtimeParamKeyPrefixSets the runtime param prefix to use
scope
searchDataSetsSets the data sets to search for name mappings
serverArchitectureSets the architecture on the given connection context
serverEncodingSets the name of the server's preferred session encoding(such as Cp1250)
serverEncodingsSet the names of the server's supported session encodings (such as "Cp1250,UTF8")
serverListVersionSets the highest HList/SCL list stream version supported by the server
sessionReleaseTimeoutSets the Session Release Timeout for the connection
stoptrue if the connection should be stopped.
traceProxyClientTurns on/off the tracing of client debug information
useProfileAllows the use of a connection profile when funneling
usernameSets the user name for the connection
usernamePromptSets the username prompt to search for during telnet initialization
usernamePromptTimeoutSets the maximum number of seconds to wait for a username prompt
useRouterEnables the use of the JTUNNEL feature
useRuntimeParamsAllows the use of runtime params (such as from HTML PARAM tags)
useServerBrokerTurns on/off the use of a server broker to pre-allocate SAS sessions

More Information

To view the documentation for the related InformationBean, see com.sas.rmi.Connection.

If you need to subclass the tag handler class for the sasads:Connection tag, extend com.sas.taglib.rmi.ConnectionTag.