Chapter Contents

Previous

Next
_getConnectInfo

_getConnectInfo



Get connection information.


Syntax
Example

Syntax

CALL SEND(cnctionInst, '_getConnectInfo',
connect_name, security_id, rc);

Where... Is type... And represents...
connect_name C connection name
security_id C security id
rc N return code

After a valid connection exists, _getConnectInfo may be called to obtain the connection name and security name that is associated with this particular Cnction instance.

connect_name
parameter is the partner's connection name.

security_id
parameter is the partner's security id. This parameter is returned only if this information was given by the partner.

If an error is encountered during the open the rc return code will be non-zero. Use SYSMSG() to determine the exact error message.


Example

This example obtains the connection information.

connect_name='';
security_id='';
call send(cnctionInst, '_getConnectInfo', 
          connect_name, security_id, rc);


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.