> # Commonly Used SequeLink® Manager Commands

> This section lists some commonly used SequeLink Manager commands. Both long and short command names are listed. See "SequeLink® Manager Commands" for a complete list of SequeLink Manager commands.

> ### Starting a SequeLink® Service

> Command:

> ServiceStart | ss

> Syntax:

>     {ServiceStart | ss} service_name

> Example:

>     ss SLOracle10

> ### Stopping a SequeLink® Service

> Command:

> ServiceStop | sst

> Syntax:

>     {ServiceStop | sst} service_name

> Example:

>     sst SLOracle10

> ### Creating a SequeLink® Service

> Command:

> ServiceCreate `|` sc

> Syntax:

>     {ServiceCreate | sc} service_name service_ID tcp_port

> Service template IDs can be obtained using the ServiceTemplateList`|`stl command.

> Example:

>     sc SLOracle10 SL6_Oracle10W 19996

> ### Deleting a SequeLink® Service

> NOTE: Before deleting a SequeLink service, you must stop the service you want to delete.

> Command:

> ServiceDelete `|` sd

> Syntax:

>     {ServiceDelete | sd} service_name

> Example:

>     sd SLOracle10

> ### Viewing Service Attributes

> Command:

> ServiceInfo | si

> Syntax:

>     {ServiceInfo | si} service_name

> Example:

>     si SLOracle10

> ### Changing a Service Attribute

> Command:

> ServiceAttributeReplace `|` sar

> Syntax:

>     {ServiceAttributeReplace | sar} service_name attribute_name
>     value

> Example:

>     sar SLOracle10 ServiceUser[2] devuser

> ### Adding a Service Attribute

> Command:

> ServiceAttributeAdd `|` saa

> Syntax:

>     {ServiceAttributeAdd | saa} service_name attribute_name
>     value

> Example:

>     saa SLOracle10 ServiceUser sqlnk

> ### Deleting a Service Attribute

> Command:

> ServiceAttributeDelete `|` sad

> Syntax:

>     {ServiceAttributeDelete | sad} service_name attribute_name

> Example:

>     sad SLOracle10 ServiceCodePage
>     sad SLOracle10 ServiceUser[2]

> ### Creating a Server Data Source

> Command:

> DataSourceCreate | dsc

> Syntax:

>     {DataSourceCreate | dsc} service_name data_source_name

> Example:

>     dsc SLOracle10 DS_Employees

> ### Deleting a Server Data Source

> Command:

> DataSourceDelete | dsd

> Syntax:

>     {DataSourceDelete | dsd} service_name data_source_name

> Example:

>     dsd SLOracle10 DS_Employees

> ### Changing a Server Data Source Attribute

> Command:

> DataSourceAttributeReplace | dsar

> Syntax:

>     {DataSourceAttributeReplace | dsar} service_name
>     data_source_name attribute_name value

> Example:

>     dsar SLOracle10 DS_Employees DataSourceCurrentCatalog
>     partners

> ### Adding a Server Data Source Attribute

> Command:

> DataSourceAttributeAdd | dsaa

> Syntax:

>     {DataSourceAttributeAdd | dsaa} service_name
>     data_source_name attribute_name value

> Example:

>     dsaa SLOracle10 DS_Employees DataSourceCurrentCatalog
>     employees

> ### Deleting a Server Data Source Attribute

> Command:

> DataSourceAttributeDelete `|` dsad

> Syntax:

>     {DataSourceAttributeDelete | dsad} service_name
>     data_source_name attribute_name

> Example:

>     dsad SLOracle10 DS_Employees DataSourceCurrentCatalog

> ### Killing a Session

> Command:

> SessionStop | sess

> Syntax:

>     {SessionStop | sess} service_name session_ID

> Session IDs can be obtained with the ServiceActiveInfo | sai command.

> Example:

>     sess SLOracle10 5

> ### Viewing Event Tracing Information

> Command:

> EventList | el

> Syntax:

>     {eventlist | el} service_name | [remote]file=
>     event_trace_file_name
>     [details]
>     [ [{service | srvc}] |
>     [{session | sess}] |
>     [{statement | stmt}] |
>     [{transaction | trans}] |
>     [{network | net}] |
>     [{error | err}] |
>     [{other | oth}] ] ]
>     [count=[{ + | - }] {all | number}]
>     [offset={begin | end} [{ + | - }]number]
>      [query='custom_event_filter_string']

> Example:

> Local host or remote configuration examples:

>     el SLAgent details
>     el SLOracle details service count=all offset=10
>     el SLOracle10 stmt query='${ReturnCode} != 0'
>     el "file=C:\Program Files\DataDirect\slserver60\tracing\
>     SLoracle10.trc" count=10
>     el "remotefile=C:\Program Files\DataDirect\slserver60\
>     tracing\SLoracle10.trc" service details

> Offline configuration examples:

>     el "file=C:\Program Files\DataDirect\slserver60\tracing\
>     SLoracle10.trc"
>     el "file=C:\Program Files\DataDirect\slserver60\tracing\
>     SLoracle10.trc" count=10
>     el "file=C:\Program Files\DataDirect\slserver60\tracing\
>     SLoracle10.trc" count=-all offset=end
>     el "file=C:\Program Files\DataDirect\slserver60\tracing\
>     SLoracle10.trc" offset=5 service session
>     el "file=C:\Program Files\DataDirect\slserver60\tracing\
>     SLoracle10.trc" service details

> ### Viewing Active Services

> Command:

> ServiceList | sl

> Syntax:

>     {ServiceList | sl}

> Example:

>     sl

> ### Viewing Details About an Active Service (Including Active Sessions)

> Command:

> ServiceActiveInfo | sai

> Syntax:

>     {ServiceActiveInfo | sai} service_name

> Example:

>     sai SLOracle10

> ### Viewing Details About an Active Session

> Command:

> SessionInfo | sesi

> Syntax:

>     {SessionInfo | sesi} service_name session_ID

> Session IDs can be obtained using the ServiceActiveInfo | sai command.

> Example:

>     sesi SLOracle10 5