acl_translate_command_string
status.i4.v = acl_translate_command_string(string.i1a.r,
command_string.i1a.r)
This routine translates a string into its equivalent
Accelerator Command Language (ACL) command string.
string null terminated string to be translated
command_string returned null terminated ACL command string
(allow ACL_COMMAND_NAME_LEN + 1 characters)
This function returns ACNET status values as follows:
CLIB_OK success
CLIB_INVARG not a valid ACL command string or synonym
CLIB_NOTYET internal error
This function requires the following include files:
cbslib_h, acnet_errors.h
Related functions:
intro_acl, acl_compile_c, acl_execute_c, acl_file_execute_c,
acl_file_read_c, acl_file_write_c, acl_read_symbol_c,
acl_read_symbol_info_c, acl_read_symbol_names, acl_info_c,
acl_set_symbol_c, acl_cancel_requests_c, acl_default_data_source_c,
acl_log_file_c, acl_default_script_path_c, acl_command_text,
acl_script_is_executing, acl_register_host_request_func,
acl_unregister_host_request_func
C usage:
static const char string[] = "setlog";
char command_string[ACL_COMMAND_NAME_LEN+1];
int status;
status = acl_translate_command_string(string,command_string);