DELETEMODEL
Deletes a dynamic creation queue model from the
information repository.
Supports: |
MSMQ, Rendezvous, Rendezvous-CM |
Syntax
CALL DELETEMODEL(transport, name, storage, rc);
Required Arguments
- transport
-
Character, input
Specifies the transport
that is associated with this model. MSMQ, Rendezvous, and Rendezvous-CM
are the only valid transports for this CALL routine.
- name
-
Character, input
Identifies the dynamic
model.
- storage
-
Character, input
Specifies the location
for the model definition. The REGISTRY location is valid.
- rc
-
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 an MSMQ model queue definition from the SAS registry:
length msg $ 200;
length rc 8;
rc=0;
call deletemodel('MSMQ', 'MYMODEL', 'REGISTRY', rc);
if rc ^= 0 then do;
put 'DELETEMODEL: failed';
msg = sysmsg();
put msg;
end;
else put 'DELETEMODEL: succeeded';