Result Codes
This appendix lists the result codes returned by the Communication Command Language (CCL). Each result code is shown with a description of the error and the message, if any, that is displayed to the user.
If the script executes successfully, have it exit with result code 0
. If the script is unsuccessful for any reason, have it exit with one of the error result codes listed in this appendix. Note that result code -6002
allows you to pass a custom message to the user.
Result code | Description | Message displayed |
---|---|---|
| Generic CCL error. | (Supplied by the string parameter in the |
| Subroutine overflow. | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| The target label is undefined. | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| Bad parameter error. | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| Duplicate label error. | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| Close error. | (No message is displayed.) |
| The script was canceled. | (No message is displayed.) |
| The script contains too many lines. | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| The script contains too many characters. | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| The CCL has not been initialized. | (No message is displayed.) |
| Cancel in progress. | (No message is displayed.) |
| Another script is in progress. | (No message is displayed.) |
| Exit with no error. | (No message is displayed.) |
| A label is out of range. | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| Bad command. | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| End of script reached; expected | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| The match string index is out of bounds. | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| Modem error; the modem is not responding. | Modem not responding. Reset modem, check connections, or check to see that the proper port and modem type were specified in the Remote Access Setup control panel. |
| No dial tone. | The modem cannot acquire a dial tone. |
| No carrier. | The modems could not connect. Try again. |
| The line is busy. | The phone number you are calling is busy. |
| No answer. | The phone number you are calling does not answer. |
| No | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| No | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
| No | The file for the modem you selected does not work properly. It may be damaged; try replacing the file in the Extensions folder. |
Copyright © 2007 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2007-06-28