
{    DECK: RFE$CONDITION_CODES


*copyc rfc$condition_code_range


CONST
    rfc$error_code = rfc$min_ecc_rhf_access_method;

CONST

{    The following group of condition codes are used by the external interface.

     rfe$async_req_terminated = rfc$error_code + 0,
     {W +P request on connection +F was terminated by user.

     rfe$invalid_data_fragment = rfc$error_code + 1,
     {F An invalid data fragment has been detected by +P.

     rfe$file_already_exists = rfc$error_code + 2,
     {E File +F existed prior to the attempt to establish a connection.

     rfe$connect_in_progress = rfc$error_code + 3,
     {E Connection +F is not established.  Server has not responded.

     rfe$not_registered_server = rfc$error_code + 4,
     {F This job is not registered as the RHFAM initiated server, +P.

     rfe$file_not_closed = rfc$error_code + 5,
     {E Unable to switch connection file +F because the file is open.

     rfe$network_block_exceeded = rfc$error_code + 6,
     {F A network block has been received that exceeds the requested size,
     {  requested size : +P, received size : +P.

     rfe$partial_network_block = rfc$error_code + 7,
     {F A record mode network block has been received that is smaller than the
     {  requested size and does not have a termination mark.

     rfe$connection_not_available = rfc$error_code + 8,
     {I No connection available for application +P.

     rfe$max_appl_connects_exceeded = rfc$error_code + 9,
     {F The maximum active connection limit has been reached for application
     { +P.

     rfe$invalid_connection_event = rfc$error_code + 10,
     {E An invalid connection event has been specified for await connection
     {  event.

     rfe$connection_terminated = rfc$error_code + 11,
     {E Connection +F was terminated.

     rfe$max_connection_mismatch = rfc$error_code + 12,
     {F Connection limit does not match defined value for +P.

     rfe$destination_host_undefined = rfc$error_code + 13,
     {E Host +P is not defined in the RHFAM configuration.

     rfe$appl_not_active = rfc$error_code + 14,
     {E Application +P is defined but not active.

     rfe$defined_connects_exceeded = rfc$error_code + 15,
     {F Specifying +P2 connections on the sign-on request exceeds the
     {  defined limit for +P1.

     rfe$invalid_application_kind = rfc$error_code + 16,
     {E An invalid application kind has been specified for +P.

     rfe$paths_to_destination_down = rfc$error_code + 21,
     {E All paths to +P are currently down.

     rfe$remote_host_busy = rfc$error_code + 26,
     {E Connection +F2 was rejected because host +P1 does not currently
     {  have the resources to satisfy the request.

     rfe$remote_server_undefined = rfc$error_code + 27,
     {E Server +P is not defined locally to RHFAM.

     rfe$task_terminated = rfc$error_code + 31,
     {E +P request terminated at task termination.

     rfe$transfer_timeout = rfc$error_code + 32,
     {E +P request terminated because the transfer timeout was exceeded.

     rfe$not_signed_on = rfc$error_code + 34,
     {E +P request failed because the job is not signed on as application
     {  +P.

     rfe$unknown_reject_code = rfc$error_code + 35,
     {E Connection +F3 was rejected by host +P1 with an invalid reject
     {  code: +P2.

     rfe$exceeded_connect_limit = rfc$error_code + 37,
     {F +P failed because application +P has reached its
     {  connection limit.

     rfe$path_to_remote_undefined = rfc$error_code + 38,
     {E There is no path defined to remote server +P on remote host +P.

     rfe$not_signed_on_as_server = rfc$error_code + 39,
     {F +P failed because the job is not signed on as server
     {  application +P.

     rfe$not_an_rhfam_job = rfc$error_code + 40,
     {F +P failed because this job is not signed on as an
     {  RHFAM application.

     rfe$invalid_attribute_value = rfc$error_code + 41,
     {E An invalid attribute value has been specified for +P.

     rfe$already_signed_on = rfc$error_code + 42,
     {E This job is already signed on as +P.

     rfe$connections_not_terminated = rfc$error_code + 43,
     {E Application +P could not sign-off because all connections
     {  have not been terminated.

     rfe$no_server_response = rfc$error_code + 44,
     {E No server response has been received for connection +F.

     rfe$server_busy = rfc$error_code + 45,
     {E Connection +F3 was rejected by host +P1 because server +P2
     {  had reached its connection limit.

     rfe$remote_rhf_shutdown = rfc$error_code + 46,
     {E Connection +F2 was rejected by host +P1 because the remote
     {  RHFAM was terminating.

     rfe$server_lid_disabled = rfc$error_code + 47,
     {E Connection +F3 was rejected by host +P1 because the destination
     {  LID +P2 is currently disabled.

     rfe$server_reject_response = rfc$error_code + 48,
     {E Connection +F3 was rejected by server application +P1 on
     {  host +P2.

     rfe$password_undefined = rfc$error_code + 49,
     {E Connection +F2 was rejected by host +P1 because the password
     {  was not valid.

     rfe$client_undefined = rfc$error_code + 50,
     {E Connection +F3 was rejected by host +P1 because client +P2
     {  is not defined.

     rfe$server_disabled = rfc$error_code + 51,
     {E Connection +F3 was rejected by host +P1 because server +P2 is
     {  currently disabled.

     rfe$client_disabled = rfc$error_code + 52,
     {E Connection +F3 was rejected by host +P1 because client +P2 is
     {  currently disabled.

     rfe$client_pid_disabled = rfc$error_code + 53,
     {E Connection +F3 was rejected by host +P1 because the source PID
     {  +P2 is currently disabled.

     rfe$client_nad_disabled = rfc$error_code + 54,
     {E Connection +F3 was rejected by host +P1 because the source NAD
     {  +P2 is currently disabled.

     rfe$tcu_disabled = rfc$error_code + 55,
     {E Connection +F2 was rejected by host +P1 because the specified
     {  TCUs are currently disabled.

     rfe$rhf_not_active = rfc$error_code + 56,
     {E Connection +F2 to host +P1 failed because the remote RHFAM
     {  is not active.

     rfe$server_undefined = rfc$error_code + 57,
     {E Connection +F3 was rejected by host +P1 because server +P2 is
     {  not defined.

     rfe$server_lid_undefined = rfc$error_code + 58,
     {E Connection +F3 was rejected by host +P1 because the server LID
     {  +P2 is not defined.

     rfe$client_pid_undefined = rfc$error_code + 59,
     {E Connection +F3 was rejected by host +P1 because the source
     {  PID +P2 is not defined.

     rfe$client_nad_undefined = rfc$error_code + 60,
     {E Connection +F3 was rejected by host +P1 because the source
     {  NAD +P2 is not defined.

     rfe$access_code_invalid = rfc$error_code + 61,
     {E Connection +F2 was rejected by host +P1 because the NAD access
     {  codes do not match.

     rfe$device_invalid = rfc$error_code + 62,
     {E Connection +F2 was rejected by host +P1 because the destination
     {  device is invalid.

     rfe$tcu_invalid = rfc$error_code + 63,
     {E Connection +F2 was rejected by host +P1 because the specified
     {  TCUs were undefined or invalid.

     rfe$no_available_event = rfc$error_code + 64,
     {W The requested event is not available.

     rfe$connection_not_active = rfc$error_code + 65,
     {E Connection +F does not exist.

     rfe$send_data_active = rfc$error_code + 66,
     {E A send data request is already active for connection +F.

     rfe$receive_data_active = rfc$error_code + 67,
     {E A receive data request is already active for connection +F.

     rfe$system_task_not_active = rfc$error_code + 69,
     {E +P failed because RHFAM is not active.

     rfe$file_device_class_not_rhf = rfc$error_code + 70,
     {E +P request failed because connection file +F is
     {  not a RHFAM device class file.

     rfe$unexpected_connection_state = rfc$error_code + 71,
     {C Connection +F was found with an unexpected state ordinal:  +P.

     rfe$block_sequence_error = rfc$error_code + 74,
     {E A network block sequence error has been detected on connection
     {  +F.  Expected block = +P, Received block = +P.

     rfe$connection_waiting_accept = rfc$error_code + 75,
     {E Request failed because connection +F is waiting for an accept or
     { reject.

     rfe$connection_rejected = rfc$error_code + 76,
     {E Connection +F has been rejected.

     rfe$receive_mode_conflict = rfc$error_code + 77,
     {E A +P block was received during a +P transfer on connection +F.

     rfe$switch_offered = rfc$error_code + 78,
     {W Connection +F has been offered for switching to job +P.

     rfe$switch_accepted = rfc$error_code + 79,
     {I Connection +F has been switched and accepted by job +P.

     rfe$connected = rfc$error_code + 80,
     {I Connection +F is normal.

     rfe$switch_offer_not_accepted = rfc$error_code + 81,
     {W The switch offer on connection +F has not been accepted.

     rfe$no_switch_offered = rfc$error_code + 82,
     {W There is no connection switch offer for application +P.

     rfe$no_switch_offer_pending = rfc$error_code + 83,
     {W There is no switch offer on connection +F to cancel.

     rfe$invalid_attribute_key = rfc$error_code + 84,
     {E An invalid attribute key has been specified for +P.

     rfe$system_task_shutdown = rfc$error_code + 85,
     {E Connection +F has been terminated by a shutdown of the
     {  RHFAM/VE system task.

     rfe$local_nad_failure = rfc$error_code + 86,
     {E Connection +F has been terminated because of a local network
     {  access device failure.

     rfe$system_interrupt = rfc$error_code + 87,
     {E Connection +F has been terminated because of a local system
     {  interrupt.

     rfe$local_nad_busy = rfc$error_code + 88,
     {E The attempted connection failed because local NAD +P
     {  is currently saturated.

     rfe$local_nad_down = rfc$error_code + 89,
     {E Request +P failed because the local NAD is down.

     rfe$invalid_alert_received = rfc$error_code + 90,
     {C An invalid alert ordinal has been received on
     {  connection +F: +P.

     rfe$destination_host_disabled = rfc$error_code + 91,
     {W Host +P is currently disabled in the RHFAM configuration.

     rfe$not_signed_on_as_client = rfc$error_code + 92,
     {E +P failed because the job is not signed on as client
     {  application +P.

     rfe$unable_to_send_all_data = rfc$error_code + 93,
     {W All of the specified record mode data was not sent because
     {  +P.

{    The following condition codes are used by the configuration utility.

     rfe$configuration_file_error = rfc$error_code + 100,
     {E The configuration file directives in +F1 are not installable.
     {  Check the +F2 file for errors.

     rfe$duplicate_local_host = rfc$error_code + 101,
     {E A local host directive has already been processed.

     rfe$duplicate_component_name = rfc$error_code + 102,
     {E The element +P was specified on another +P definition.

     rfe$configuration_overflow = rfc$error_code + 103,
     {C The configuration file has overflowed the +P.

     rfe$invalid_host_connection = rfc$error_code + 104,
     {E Host connection +P on nad +P is not valid for this request.

     rfe$undefined_path_element = rfc$error_code + 105,
     {E Component +P must be defined prior to use in a DEFINE_LCN_PATH
     {  directive.

     rfe$no_trunk_match = rfc$error_code + 106,
     {E Invalid path.  NAD +P and NAD +P do not have a common trunk.

     rfe$parameter_problem = rfc$error_code + 108,
     {C The +P parameter had an undefined value specified.

     rfe$physical_id_required = rfc$error_code + 109,
     {E An inter-network path requires a physical_identifier parameter value.

     rfe$duplicate_autpg = rfc$error_code + 110,
     {F The AUTO_PATH_GENERATION directive can only be specified once in
     {  a directives file.

     rfe$autpg_after_deflp = rfc$error_code + 111,
     {F The AUTO_PATH_GENERATION directive can not be specified after a
     {  DEFINE_LCN_PATH directive.

     rfe$required_def_missing = rfc$error_code + 112,
     {E A minimum of one +P definition is required.

     rfe$multiple_config_command = rfc$error_code + 113,
     {E Multiple VERRC/INSRC commands are not allowed.

     rfe$concurrent_installation = rfc$error_code + 114,
     {E Only one configuration installation can be in progress at any
     {  instant.

     rfe$duplicate_lid = rfc$error_code + 115,
     {E Logical identifier +P is defined more than once for the same host.

     rfe$all_is_not_a_legal_name = rfc$error_code + 116,
     {E The keyword "ALL" cannot be used to identify a +P.

     rfe$startup_cmd_file_error = rfc$error_code + 117,
     {E The startup command file directives in +F1 are not installable.
     {  Check the +F2 file for errors.

     rfe$unsupported_request_type = rfc$error_code + 130,
     {C A caller must specify either a PP request or a UNIT request.

     rfe$invalid_peripheral_element = rfc$error_code + 131,
     {C Logical +P number +P is invalid.

     rfe$request_processing_err = rfc$error_code + 132,
     {C The peripheral request could not be completed because +P;
     {  in routine +P.

     rfe$invalid_request_command = rfc$error_code + 134,
     {C Peripheral request command +P is not supported.

{    The following condition codes are used by the system task and
{    by the internal PP request processing routines.

     rfe$invalid_task_origin = rfc$error_code + 150,
     {F The RHFAM/VE system task must be initiated from the
     {  system job.

     rfe$system_task_running = rfc$error_code + 151,
     {F Only one copy of the RHFAM/VE system task can be
     {  running at any instant.

     rfe$invalid_config_file = rfc$error_code + 152,
     {F Unusable RHFAM/VE configuration file : +P.

     rfe$configuration_too_big = rfc$error_code + 153,
     {F The labels in the configuration file specify a file
     {  that is larger than the actual configuration_file.

     rfe$unable_to_start_a_pp = rfc$error_code + 154,
     {C The RHFAM system task failed to start a pp program.

     rfe$heap_exhausted = rfc$error_code + 155,
     {C The following request could not be completed because
     {  the +P heap is exhausted; routine +P.

     rfe$abnormal_state = rfc$error_code + 156,
     {C The +P encountered an invalid state: +P.

     rfe$unexpected_response = rfc$error_code + 157,
     {C A +P received an invalid response: +P.

     rfe$unknown_request = rfc$error_code + 158,
     {C A response for an unknown +P command: +P.

     rfe$microcode_loaded = rfc$error_code + 159,
     {I Microcode load +P for +P +P.

     rfe$alert_condition = rfc$error_code + 160,
     {E The PP returned an alert condition: +P, for a +P
     {  request.

     rfe$interface_error = rfc$error_code + 161,
     {F The PP processing failed, interface error: +P, for a +P
     {  request.

     rfe$nad_processing_error = rfc$error_code + 162,
     {E PP returned NAD error +P: MCFUNC=+P: MCSTAT=+P:
     {  HWFUNC=+P: HWSTAT=+P: TRANSFER LENGTH=+P, for a +P
     {  request.

     rfe$pp_start_up_failed = rfc$error_code + 163,
     {C Unable to start PP +P: interface error +P.

     rfe$unexpected_control_message = rfc$error_code + 164,
     {I +P control message was received: nad=+P, my path=+P,
     {  his path=+P, block type=+P.

     rfe$nad_tcu_unavailable = rfc$error_code + 165,
     {W NAD +P has trunk +P on TCU +P configured, but the TCU is not
     {  available.

     rfe$nad_address_mismatch = rfc$error_code + 166,
     {W NAD +P is configured with address +P, but +P is the real address.

     rfe$nad_microcode_mismatch = rfc$error_code + 167,
     {W NAD +P is loaded with microcode level +P.  +P is the currently
     {  supported microcode level.

     rfe$nad_device_type_mismatch = rfc$error_code + 168,
     {W NAD +P is loaded with microcode for device type +P. +P is the
     {  currently supported device type.

     rfe$pp_number_not_found = rfc$error_code + 169,
     {E NOS/VE cannot determine the logical PP number. }

     rfe$segment_access_error = rfc$error_code + 170,
     {F Segment access error while accessing user data file. }

     rfe$test_nad_failure = rfc$error_code + 171,
     {F NAD +P failed device test.}

{     This following group of codes are used by the MANAGE_RHFAM_NETWORK
{ Utility and may be seen by the operator or the Network Application
{ Manager.

     rfe$illegal_output_file = rfc$error_code + 200,
     {E File +F must have page width of at least +P characters.

     rfe$element_not_found = rfc$error_code + 202,
     {E Unable to find element +P.

     rfe$logical_id_not_found = rfc$error_code + 203,
     {E Unable to find logical identifier +P.

     rfe$physical_id_not_found = rfc$error_code + 204,
     {E Unable to find remote host +P.

     rfe$nad_dump_file_empty = rfc$error_code + 205,
     {E The NAD dump file, +F1 is empty.

     rfe$no_local_host_defined = rfc$error_code + 206,
     {E RHFAM is up but no local host for +P.

     rfe$not_an_rhfam_config_file = rfc$error_code + 207,
     {E File +F1 is not an RHFAM configuration file.

     rfe$down_trunk_not_changeable = rfc$error_code + 208,
     {E Unable to change state of DOWN trunk +P connection to NAD +P.

     rfe$down_nad_not_changable = rfc$error_code + 209,
     {E Unable to change state of DOWN NAD +P.

     rfe$cannot_down_remote_trunk = rfc$error_code + 210,
     {E Illegal to DOWN remote trunks.

     rfe$cannot_down_remote_nad = rfc$error_code + 211,
     {E Illegal to DOWN remote NADs.

     rfe$too_many_key_values = rfc$error_code + 212,
     {E Key value +P must be alone in list when specifying +P.

     rfe$skipped_lines = rfc$error_code + 213,
     {I +P duplicate lines are suppressed.}

     rfe$appl_not_defined = rfc$error_code + 214,
     {E Unable to find application definition for +P.

     rfe$appl_already_active = rfc$error_code + 215,
     {W The application +P, is already active.

     rfe$appl_already_inactive = rfc$error_code + 216,
     {W The application +P, is already inactive.

     rfe$client_defined_as_server = rfc$error_code + 217,
     {E The client application +P, is already defined as a server.

     rfe$duplicate_appl_definition = rfc$error_code + 218,
     {E The application +P, is already defined.

     rfe$appl_not_inactive = rfc$error_code + 219,
     {E Cannot delete active application definition +P.

     rfe$appl_job_signed_on = rfc$error_code + 220,
     {E Cannot delete application definition +P, while job signed on.

     rfe$server_defined_as_client = rfc$error_code + 221,
     {E The server application +P, is already defined as a client.

     rfe$server_job_not_specified = rfc$error_code + 222,
     {E Job file not specified for rhfam_initiated server +P.

     rfe$caller_not_privileged = rfc$error_code + 223,
     {F Caller not validated to +P.

     rfe$improper_nad_state_for_test = rfc$error_code + 224,
     {F NAD +P can only be tested when OFF.

     rfe$test_already_in_process = rfc$error_code + 225;
     {F NAD +P is currently being tested.
