Common Messaging Interface Call Routines |
Transports supported: | MQSeries, MQSeries-C, MSMQ, Rendezvous, Rendezvous-CM |
Syntax | |
Arguments | |
Example |
Syntax |
CALL DELETEMAP(name, storage, rc); |
Character, input
Identifies the map data descriptor that is defined by a previous SETMAP function call.
Character, input
Specifies the location for the map definition. The REGISTRY location is valid.
Numeric, output
Provides the return code from the CALL routine. If an error occurs, then the return code is nonzero. You can use the SAS function SYSMSG() in order to obtain a textual description of the return code.
Example |
The following example deletes a map data descriptor definition from the SAS registry:
length msg $ 200; length rc 8; rc=0; call deletemap('MYMAP', 'REGISTRY', rc); if rc ^= 0 then do; put 'DELETEMAP: failed'; msg = sysmsg(); put msg; end; else put 'DELETEMAP: succeeded';
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.