Previous Topic: Files Provided by CA VM:Director for the SMAPI ServerNext Topic: CA VM:Director Command Authorization


Understanding a Directory Manager Specific Return Code (596) from the Socket SMAPI Server

When CA VM:Director commands issued by the Socket SMAPI Server do not have a corresponding return code defined by the API, then the SMAPI server responds to the caller with a special 596 Return Code value. When a 596 Return Code is presented, a special Reason Code will be provided to indicate the nature of the problem. The Reason Code consists of the return code from the CA VM:Director command called by the API added to a unique number for each command. For instance, reason code 900015 would be issued if the API issued an ADDMDISK command (encoded as 900000) which responded with a return code value of 15.

The following table defines the encoded value associated with a specific CA VM:Director command:

Command Name

Associated encoded value

NOTIFY

200000

TAG

300000

SCAN

400000

WORKUNIT

500000

ADDENTRY

600000

DELENTRY

700000

DUPMDISK

800000

ADDMDISK

900000

DELMDISK

1000000

LOCK

1100000

UNLOCK

1200000

PASSWORD

1300000

GETENTRY

1400000

REPENTRY

1500000

VMXDSD00

1600000

MAP

1700000

ADMIN

1800000

VERSION

1900000

QUERY

2000000