Chapter Contents

Previous

Next
_open

_open



Open a station interface instance for distributed messaging services.


Syntax
Example

Syntax

CALL SEND(stationInst, '_open', instanceName, rc);

Where... Is Type... And represents...
instanceName C name of station instance
rc N return code

When invoked on a station instance, _open initializes a station interface instance and enables access to distributed messaging services. The station instanceName must be unique to the SAS session in which _open is invoked. The _open method must be successfully invoked before any point-to-point or queue messaging can take place.

The instanceName parameter represents a collection name in the queue messaging environment. A collection is a user-defined grouping of queues that is managed by the same collection manager.


Example

This example opens the station interface instance DMMAPPL.

stationid = loadclass('sashelp.connect.station');
stationInst = instance(stationid);
call send(stationInst, '_open', "DMMAPPL", rc);


Chapter Contents

Previous

Next

Top of Page

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