RUN function return codes

The RUN function return codes and messages might result when using the RUN function. Return codes and messages are returned when the particular activity completes. Return codes and messages might also be recorded as specified in the audit logs, trace files, execution summary files, and so forth.

The following table lists the return codes and messages that can result when using the RUN function.

Return Code
Message
50
Memory allocation failure

Occurs when memory fails.

51
Card override failure

Occurs when memory fails.

52
I/O initialization failure

Occurs when memory fails.

53
Open audit failure

The audit log file is not accessible.

54
No command line

There is nothing to process.

55
Recursive command files

More than one command file is included in the command line.

56
Invalid command line option -x

The option is invalid for the command.

57
Invalid `W' command line option

The Work file option is invalid.

58
Invalid `B' command line option

The Batch (close) file option is invalid.

59
Invalid `R' command line option

The Refresh Rate option is invalid.

60
Invalid `A' command line option

The Audit option is invalid.

61
Invalid `P' command line option

The Paging option is invalid

62
Invalid `Y' command line option

The General I/O Retry option is invalid.

63
Invalid `T' command line option

The Trace option is invalid.

64
Invalid `G' command line option

The Ignore option is invalid

65
Invalid `I' command line option for input x

The Source option is invalid for the identified input.

66
Invalid size in echo command line for input x

The size specified using the Size option is greater than memory allowed.

67
Invalid adapter type in command line for input x

The adapter is not of a known adapter type. Includes -IMxxx where xxx is an unknown adapter alias.

68
Invalid `O' command line option for output x

The target option is invalid for output x. The number of characters between the single quotation marks that represent the options for an adapter exceed 258 characters in the adapter override.

69
Invalid adapter type in command line for output x

The adapter is not of a known adapter type. Includes -OMxxx where xxx is an unknown adapter alias.

70
Command line memory failure

Occurs when memory is exceeded during echo or override card commands.

71
Invalid `D' command line option

The Date option is invalid.

72
Invalid `F' command line option

The Failure option is invalid.

73
Resource manager failure

(Launcher only) The resource manager is not used, possibly a memory failure.

74
Invalid `Z' command line option

The Ignore option is invalid.

75
Adapter failed to get data on input

Enable the adapter trace to record the adapter activity to discover the cause of the error.

76
Adapter failed to put data on output

Enable the adapter trace to record the adapter activity to discover the cause of the error.

77
Invalid map name

This message can occur in two different cases. First, this message occurs when the map name specified on the command line is more than 32 bytes long in UTF-8 encoding. Also, this message can occur when there is an error in the command line such that text for another execution command is erroneously being interpreted as the map name. For example, in the command line below, the number representing the size of the echoed data is missing.

mymap.mmc -IE1S HereIsMyDataButIForgotToSpecifyTheSize -AED

Because the size is missing, it is interpreted to be 0, such that there is no echoed data. The next string encountered on the command line

(HereIsMyData...)

Because it does not start with a hyphen (-), it is assumed to be the name of the next map to execute. Because the text is longer than 32 bytes in UTF-8 encoding, the Invalid Map Name message is returned.


Feedback