0% found this document useful (0 votes)
164 views

PL1 Condition Codes

Condition code 3 is raised if no WHEN clause is selected and no OTHERWISE clause is present in a SELECT group. Condition code 4 is raised if a SIGNAL FINISH, STOP, or EXIT statement is executed. Condition code 9 is raised if a SIGNAL ERROR statement is executed.

Uploaded by

Satyabrata Dash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
164 views

PL1 Condition Codes

Condition code 3 is raised if no WHEN clause is selected and no OTHERWISE clause is present in a SELECT group. Condition code 4 is raised if a SIGNAL FINISH, STOP, or EXIT statement is executed. Condition code 9 is raised if a SIGNAL ERROR statement is executed.

Uploaded by

Satyabrata Dash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 10

PL/1 Condition Codes

The following is a summary of all condition codes in numerical sequence.

3 This condition is raised if, in a SELECT group, no WHEN clause is selected and no OTHERWISE
clause is present.

4 SIGNAL FINISH, STOP, or EXIT statement executed.

9 SIGNAL ERROR statement executed.

10 SIGNAL NAME statement executed.

20 SIGNAL RECORD statement executed.

21 Record variable smaller than record size. Either:

The record is larger than the variable in a READ INTO statement; the remainder of the record is
lost.

The record length specified for a file with fixed-length records is larger than the variable in a
WRITE, REWRITE, or LOCATE statement; the remainder of the record is undefined. If the
variable is a varying-length string, RECORD is not raised if the SCALARVARYING option is
applied to the file.

22 Record variable larger than record size. Either:

The record length specified for a file with fixed-length records is smaller than the variable in a
EAD INTO statement; the remainder of the variable is undefined. If the variable is a varying-
length string, RECORD is not raised if the SCALARVARYING option is applied to the file.

The maximum record length is smaller than the variable in a WRITE, REWRITE, or LOCATE
statement. For WRITE or REWRITE, the remainder of the variable is lost; for LOCATE, the
variable is not transmitted.

The variable in a WRITE or REWRITE statement indicates a zero length; no transmission


occurs. If the variable is a varying-length string, RECORD is not raised if the
SCALARVARYING option is applied to the file.

23 Record variable length is either zero or too short to contain the embedded key.

The variable in a WRITE or REWRITE statement is too short to contain the data set embedded
key; no transmission occurs. (This case currently applies only to VSAM key-sequenced data sets.)

24 Zero length record was read from a REGIONAL data set.

40 SIGNAL TRANSMIT statement executed.

41 Uncorrectable transmission error in output data set.

42 Uncorrectable transmission error in input data set.

43 Uncorrectable transmission error on output to index set (VSAM).

44 Uncorrectable transmission error on input from index set (VSAM).


45 Uncorrectable transmission error on output to sequence set (VSAM).

46 Uncorrectable transmission error on input from sequence set (VSAM).

50 SIGNAL KEY statement executed.

51 Key specified cannot be found.

52 Attempt to add keyed record that has same key as a record already present in data set; or, in a
REGIONAL(1) data set, attempt to write into a region already containing a record.

53 Value of expression specified in KEYFROM option during sequential creation of INDEXED or


REGIONAL data set is less than value of previously specified key or region number.

54 Key conversion error, possibly due to region number not being numeric character.

55 Key specification is null string or begins (8)'1'B or a change of embedded key has occurred on a
sequential REWRITE[FROM] for an INDEXED or key-sequenced VSAM data set.

56 Attempt to access a record using a key that is outside the data set limits.

57 No space available to add a keyed record on ISAM insert.

58 Key of record to be added lies outside the range(s) specified for the data set.

70 SIGNAL ENDFILE statement executed.

80 SIGNAL UNDEFINEDFILE statement executed.

81 Conflict in file attributes exists at open time between attributes in DECLARE statement and those
in explicit or implicit OPEN statement.

82 Conflict between file attributes and physical organization of data set (for example, between file
organization and device type), or VSAM data set has not been loaded.

83 After merging ENVIRONMENT options with DD statement and data set label, data set
specification is incomplete; for example, block size or record format has not been specified.

84 No DD statement associating file with a data set.

85 During initialization of a DIRECT OUTPUT file associated with a REGIONAL data set, an
input/output error occurred.

86 LINESIZE greater than implementation-defined maximum, or invalid value in an


ENVIRONMENT option.

87 After merging ENVIRONMENT options with DD statement and data set label, conflicts exist in
data set specification; the value of LRECL, BLKSIZE or RECSIZE are incompatible with one
another or the DCB FUNCTION specified.

88 After merging ENVIRONMENT options with DD statement and data set label, conflicts exist in
data set specification; the resulting combination of MODE/FUNCTION and record format are
invalid.

89 Password invalid or not specified.


90 SIGNAL ENDPAGE statement executed.

91 ENVIRONMENT option invalid for file accessing VSAM data set.

92 Error detected by VSAM while opening a VSAM data set; or during opening of a VSAM data set
with the BKWD option, the attempt to position the data set at the last record failed.

93 Unidentified error detected by the operating system while opening a data set.

94 REUSE specified for a non reusable data set.

95 Alternate index specified for a VSAM data set is empty.

100 SIGNAL PENDING statement executed.

150 SIGNAL STRINGSIZE statement executed.

151 Truncation occurred during assignment of a mixed character string.

300 SIGNAL OVERFLOW statement has been executed.

310 SIGNAL FIXEDOVERFLOW statement executed.

320 SIGNAL ZERODIVIDE statement executed.

330 SIGNAL UNDERFLOW statement executed.

340 SIGNAL SIZE statement executed; or high-order nonzero digits have been lost in an assignment
to a variable or temporary, or significant digits have been lost in an input/output operation.

341 High order nonzero digits have been lost in an input/output operation.

350 SIGNAL STRINGRANGE statement executed.

360 Attempt to allocate a based variable within an area that contains insufficient free storage for
allocation to be made.

361 Insufficient space in target area for assignment of source area.

362 SIGNAL AREA statement executed.

400 SIGNAL ATTENTION statement executed.

500 SIGNAL CONDITION (name) statement executed.

510 SIGNAL CHECK statement executed.

520 SIGNAL SUBSCRIPTRANGE statement executed, or subscript has been evaluated and found to
lie outside its specified bounds.

521 Subscript of iSUB-defined variable lies outside bounds of corresponding dimension of base
variable.

600 SIGNAL CONVERSION statement executed.

601 Invalid conversion attempted during input/output of a character string.


603 Error during processing of an F-format item for a GET STRING statement.

604 Error during processing of an F-format item for a GET FILE statement.

605 Error during processing of an F-format item for a GET FILE statement following a TRANSMIT
condition.

606 Error during processing of an E-format item for a GET STRING statement.

607 Error during processing of an E-format item for a GET FILE statement.

608 Error during processing of an E-format item for a GET FILE statement following a TRANSMIT
condition.

609 Error during processing of a B-format item for a GET STRING statement.

610 Error during processing of a B-format item for a GET FILE statement.

611 Error during processing of a B-format item for a GET FILE statement following TRANSMIT
condition.

612 Error during character value to arithmetic conversion.

613 Error during character value to arithmetic conversion for a GET or PUT FILE statement.

614 Error during character value to arithmetic conversion for a GET or PUT FILE statement following
a TRANSMIT condition.

615 Error during character value to bit value conversion.

616 Error during character value to bit value conversion for a GET or PUT FILE statement.

617 Error during character value to bit value conversion for a GET or PUT FILE statement following a
TRANSMIT condition.

618 Error during character value to picture conversion.

619 Error during character value to picture conversion for a GET or PUT FILE statement.

620 Error during character value to picture conversion for a GET or PUT FILE statement following a
TRANSMIT condition.

621 Error in decimal P-format item for a GET STRING statement.

622 Error in decimal P-format input for a GET FILE statement.

623 Error in decimal P-format input for a GET FILE statement following a TRANSMIT condition.

624 Error in character P-format input for a GET FILE statement.

625 Error exists in character P-format input for a GET FILE statement.

626 Error exists in character P-format input for a GET FILE statement following a TRANSMIT
condition.
627 A graphic or mixed character string encountered in a non graphic environment.

628 A graphic or mixed character string encountered in a non graphic environment on input.

629 A graphic or mixed character string encountered in a non graphic environment on input after
TRANSMIT was detected.

633 An invalid character detected in a X, BX, or GX string constant.

634 An invalid character detected in a X, BX, or GX string constant on input.

635 An invalid character detected in a X, BX, or GX string constant on input after TRANSMIT was
detected.

636 A shift character detected in a graphic string.

639 During processing of a mixed character string, one of the following occurred:

A shift-in present in the SBCS portion.


A shift-out present in the graphic (double-byte) portion. (A shift-out cannot appear in either
byte of a graphic character).
A shift-in present in the second byte of a graphic character.

1002 GET or PUT STRING specifies data exceeding size of string.

1003 Further output prevented by TRANSMIT or KEY conditions previously raised for the data set.

1004 Attempt to use PAGE, LINE, or SKIP <= 0 for non print file.

1005 In a DISPLAY(expression) REPLY (character-reference) statement, expression or character-


reference is zero length.

1007 A REWRITE or a DELETE statement not preceded by a READ.

1008 Unrecognized field preceding the assignment symbol in a string specified in a GET STRING
DATA statement.

1009 An input/output statement specifies an operation or an option which conflicts with the file
attributes.

1011 Data management detected an input/output error but is unable to provide any information about its
cause.

1013 Previous input operation incomplete; REWRITE or DELETE statement specifies data which has
been previously read in by a READ statement with an EVENT option, and no corresponding
WAIT has been executed.

1014 Attempt to initiate further input/output operation when number of incomplete operations equals
number specified by ENVIRONMENT option NCP(n) or by default.

1015 Event variable specified for an input/output operation when already in use.

1016 After UNDEFINEDFILE condition raised as a result of an unsuccessful attempt to implicitly open
a file, the file was found unopened on normal return from the ON-unit.
1018 End of file or string encountered in data before end of data-list or (in edit-directed transmission)
format list.

1019 Attempt to close file not opened in current task.

1020 Further input/output attempted before WAIT statement executed to ensure completion of previous
READ.

1021 Attempt to access a record locked by another file in this task.

1022 Unable to extend VSAM data set.

1023 Exclusive file closed while records still locked in a subtask

1024 Incorrect sequence of I/O operations on device-associated file.

1025 Insufficient virtual storage available for VSAM to complete request.

1026 No position established in VSAM data set.

1027 Record or VSAM control interval already held in exclusive control.

1028 Requested record lies on non mounted volume.

1029 Attempt to reposition in VSAM data set failed.

1030 An error occurred during index upgrade on a VSAM data set.

1031 Invalid sequential write attempted on VSAM data set.

1040 A data set open for output used all available space.

1500 Computational error; short floating point argument of SQRT built-in function is negative.

1501 Computational error; long floating point argument of SQRT built-in function is < 0.

1502 Computational error; extended floating point argument of SQRT built-in function is negative.

1503 Computational error in LOG, LOG2, or LOG10 built-in function; extended floating point
argument is <= 0.

1504 Computational error in LOG, LOG2, or LOG10 built-in function; short floating point argument is
<= 0.

1505 Computational error in LOG, LOG2 or LOG10 built-in function; long floating point argument is
<= 0.

1506 Computational error in SIN, COS, SIND, or COSD built-in function; absolute value of short
floating point argument exceeds (2**18)*pi (SIN and COS) or (2**18)*180 (SIND and COSD).

1507 Computational error in SIN, COS, SIND, or COSD built-in function; absolute value of long
floating point argument exceeds (2**50)*pi (SIN and COS) or (2**50)*180 (SIND and COSD).

1508 Computational error; absolute value of short floating point argument of TAN or TAND built-in
function exceeds, respectively, (2**18)*pi or (2**18)*180.
1509 Computational error; absolute value of long floating point argument of TAN or TAND built-in
function exceeds, respectively, (2**50)*pi or (2**50)*180.

1510 Computational error; short floating point arguments of ATAN or ATAND built-in function both
zero.

1511 Computational error; long floating point arguments of ATAN or ATAND built-in function both
zero.

1514 Computational error; absolute value of short floating point argument of ATANH built-in function
>= 1.

1515 Computational error; absolute value of long floating point argument of ATANH built-in function
>= 1.

1516 Computational error; absolute value of extended floating point argument of ATANH built-in
function >= 1.

1517 Computational error in SIN, COS, SIND, or COSD built-in function; absolute value of extended
floating point argument exceeds (2**106)*pi (SIN and COS) or (2**106)*180 (SIND and COSD).

1518 Computational error; absolute value of short floating point argument of ASIN or ACOS built-in
function exceeds 1.

1519 Computational error; absolute value of long floating point argument of ASIN or ACOS built-in
function exceeds 1.

1520 Computational error; absolute value of extended floating point argument of ASIN, ACOS built-in
function exceeds 1.

1521 Computational error; extended floating point arguments of ATAN or ATAND built-in function
both zero.

1522 Computational error; absolute value of extended floating point argument of TAN or TAND built-
in function >= (2**106)*pi or (2**106)*180, respectively.

1550 Computational error; during exponentiation, real short floating-point base is zero and integer value
exponent is not positive.

1551 Computational error; during exponentiation, real long floating-point base is zero and integer value
exponent is not positive.

1552 Computational error; during exponentiation, real short floating point base is zero and the floating-
point or non integer exponent is not positive.

1553 Computational error; during exponentiation, real long floating point base is zero and the floating-
point or non integer exponent is not positive.

1554 Computational error; during exponentiation, complex short floating point base is zero and integer
value exponent is not positive.

1555 Computational error; during exponentiation, complex long floating point base is zero and integer
value exponent is not positive.

1556 Computational error; during exponentiation, complex short floating point base is zero and
floating-point or non integer exponent is not positive and real.
1557 Computational error; during exponentiation, complex long floating point base is zero and floating-
point or non integer exponent is not positive and real.

1558 Computational error; complex short floating point argument of ATAN or ATANH built-in
function has value, respectively, of ±1I or ±1.

1559 Computational error; complex long floating point argument of ATAN or ATANH built-in function
has value, respectively, of ±1I or ±1.

1560 Computational error; during exponentiation, real extended floating-point base is zero and integer
value exponent not positive.

1561 Computational error; during exponentiation, real extended floating point base is zero and floating-
point or non integer exponent is not positive.

1562 Computational error; during exponentiation, complex extended floating point base is zero and
integer value exponent is not positive.

1563 Computational error; complex extended floating point base is zero and floating-point or non
integral exponent is not positive.

1564 Computational error; complex extended floating point argument of ATAN or ATANH built-in
function has value, respectively, of ±1I or ±1.

2002 WAIT statement cannot be executed because of restricted system facility.

3000 Field width, number of fractional digits, and number of significant digits (w,d, and s) specified for
E-format item in edit-directed input/output statement do not allow transmission without loss of
significant digits or sign.

3006 Picture description of target does not match non character-string source.

3009 A mixed character string contained a shift-out, then ended before a shift-in was found.

3010 During processing of a mixed character constant, one of the following occurred:

A shift-in present in the SBCS portion.


A shift-out present in the graphic (double-byte) portion. (A shift-out cannot appear in either
byte of a graphic character).
A shift-in present in the second byte of a graphic character.

3011 MPSTR built-in function contains an invalid character (or a null function string, or only blanks) in
the expression that specifies processing rules. (Only V, v, S, s, and blank are valid characters).

3012 Retry for graphic conversion error not allowed.

3013 An assignment attempted to a graphic target with a length greater than 16,383 characters (32,766
bytes).

3014 A graphic or mixed string did not conform to the continuation rules.

3015 A X or GX constant has an invalid number of digits.

3016 Improper use of graphic data in Stream I/O. Graphic data can only be used as part of a variable
name or string.
3017 Invalid graphic, mixed, or DBCS continuation when writing Stream I/O to a file containing fixed-
length records.

3797 Attempt to convert to or from graphic data.

3798 ONCHAR or ONSOURCE pseudo variable used out of context.

3799 In an ON-unit entered as a result of the CONVERSION condition being raised by an invalid
character in the string being converted, the character has not been corrected by use of the
ONSOURCE or ONCHAR pseudo variables.

3800 Length of data aggregate exceeds system limit of 2**24 bytes.

3808 Aggregate cannot be mapped in COBOL or FORTRAN.

3809 A data aggregate exceeded the maximum length.

3810 An array has an extent that exceeds the allowable maximum.

3901 Attempt to invoke process using a process variable that is already associated with an active
process.

3904 Event variable referenced as argument to COMPLETION pseudo variable while already in use for
a DISPLAY statement.

3906 Assignment to an event variable that is already active.

3907 Attempt to associate an event variable that is already associated with an active task.

3909 Attempt to create a subtask (using CALL statement) when insufficient main storage available

3910 Attempt to attach a task (using CALL statement) when number of active tasks was already at limit
defined by ISASIZE parameter of EXEC statement.

3911 WAIT statement in ON-unit references an event variable already being waited for in process from
which ON-unit was entered.

3912 Attempt to execute CALL with TASK option in block invoked while executing PUT
FILE(SYSPRINT) statement.

3913 CALL statement with TASK option specifies an unknown entry point.

3914 Attempt to call FORTRAN or COBOL routines in two tasks simultaneously.

3915 Attempt to call a task when the multitasking library was not selected in the link-edit step.

3920 An out-of-storage abend occurred.

8091 Operation exception.

8092 Privileged operation exception.

8093 EXECUTE exception.

8094 Protection exception.


8095 Addressing exception.

8096 Specification exception.

8097 Data exception.

9002 Attempt to execute GO TO statement referencing label in an inactive block.

9050 Program terminated by an abend.

9200 Program check in SORT/MERGE program.

9201 SORT not supported in CMS.

9250 Procedure to be fetched cannot be found.

9251 Permanent transmission error when fetching a procedure.

9252 FETCH/RELEASE not supported in CMS.

9253 PLITEST unavailable.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy