Kednos PL/I for OpenVMS Systems
User Manual


Previous Contents Index

BADOPTVAR, Entity is declared OPTIONS(VARIABLE). Its formal parameters cannot be declared with the OPTIONAL, TRUNCATE, or LIST attributes.


Warning: OPTIONS(VARIABLE) procedures cannot have parameters declared with the OPTIONAL, TRUNCATE, or LIST attributes, because OPTIONS(VARIABLE) implies all of these.
User Action: Remove the OPTIONS(VARIABLE) attribute from the entry declaration.

BADOUTER, Entity is declared outside of a procedure. It cannot be declared with the AUTOMATIC storage class. STATIC has been assumed.


Warning: A variable can be declared outside of a procedure, but the variable must have an explicit storage class, which must not be AUTOMATIC. Storage class STATIC is assumed by default.
User Action: Declare the variable with an explicit storage class.

BADPARAM, Entity has been declared with the PARAMETER attribute, but it does not appear in any parameter list of this routine.


Error: The PARAMETER attribute was used for a declaration of something other than a parameter.
User Action: Use the entity being declared in a parameter list so that it really is a parameter, or remove the PARAMETER attribute from the declaration.

BADPAREN, This statement contains unbalanced parentheses.


Error: A statement contains different numbers of open parentheses and closed parentheses.
User Action: Verify the syntax of the statement to determine where a parenthesis is needed, and correct the statement.
BADPERSTMT, Invalid syntax in a preprocessor statement.

Error: A preprocessor statement has not been correctly specified. The format for a preprocessor statement is as follows:


%[label:] STATEMENT; 

User Action: Verify the syntax and recompile the program.

BADPICTURE, Entity is an invalid picture.


Error: The string specified in a picture specification contains a character that is not a valid picture character, specifies an iteration factor for a character that must not be repeated, or contains an iteration factor that is not correctly specified.
User Action: Verify and correct the picture.

BADREFMEM, The member entity contains a REFER option and precedes the refer object.


Error: The REFER option has been specified in the program before the refer object has been declared.
User Action: Move the refer object declaration so that it precedes all references to it in the structure.

BADREFSTR, The non-based structure entity has a member that contains a REFER option.


Error: The REFER option can be used only with structures declared with the BASED attribute.
User Action: Declare the structure BASED, or remove the REFER option.

BADREPT, An incorrect repetition factor has been specified. A repetition factor of 1 has been supplied.


Warning: The compiler was unable to replicate the specified string because the replication factor was improperly specified.
User Action: Verify that the syntax is correct; the string should be enclosed in apostrophes and the replication factor enclosed in parentheses.

BADRETVAL, The value, entity, in a return statement is not valid for conversion to the entity function type.


Error: The indicated return value specified in the RETURN statement does not have a data type that is valid for conversion to the data type specified in the corresponding returns descriptor.
User Action: Determine the data type that is to be returned by the function, and correct either the returns descriptor or the RETURN statement.

BADSTRDCL, Entity is an apparent structure member, but does not immediately follow a variable with a level number.


Error: A structure is incorrectly declared, or a variable declaration is preceded with an extraneous integer.
User Action: If the variable is a member of a structure, verify that the structure declaration is properly numbered and properly punctuated. The first level number in a structure declaration must be 1. If the variable is not a member of a structure, check the syntax of the declaration and remove the number preceding the variable name.
BADSTRUCT, Entity has been declared with the STRUCTURE attribute, but it is not a structure.

Error: The STRUCTURE keyword can be used only to indicate that an item is a structure. It cannot be used to force a non-structure entity to have the structure attribute.
User Action: Make the entity being declared into a structure or remove the STRUCTURE keyword.

BADTARGET, A reference in an assignment context is not valid for assignment.


Error: The target of an assignment is a reference to a named constant, or to a variable with the READONLY or VALUE attribute.
User Action: Correct either the reference or the declaration of the name.

BADTEXTEND, Invalid end of text. Check for unbalanced apostrophes or unbalanced comments. This line is the first incorrect line.


Error: The compiler reached the end of the input file while it was reading a character-string constant or a comment.
User Action: Locate the unterminated comment or string constant, and correct it.

BADTRUNCATE, Entity is a multi-positional parameter. It cannot be declared with the TRUNCATE attribute.


Error: The TRUNCATE attribute is not supported for multi-positional parameters.
User Action: Remove the TRUNCATE attribute from the declaration.

BADTYPEDCL, A variable declared with the TYPE attribute entity references another variable declared circularly like itself.


Error: The TYPE attribute can reference variables known to the current block. But the TYPE attribute cannot directly or indirectly reference a variable whose type depends on the type of the current variable.
User Action: If the TYPE attribute has already been used once, it may be necessary to specifically declare the variable.
BADTYPEREF, A variable declared with the TYPE attribute entity must reference a legal structure.

Error: The referenced structure contains errors that prohibit it from being recognized as a legal structure. Other error messages probably indicate the source of the error in the referenced structure.
User Action: Determine the errors in the referenced structure and correct them.

BADUNION, Entity has the attribute UNION but does not have a level number or has no members.


Error: A variable declared with the UNION attribute must be a major or minor structure with level numbers. A reference to one member of a union refers to the storage occupied by all members of the union, that is, to all members having the next higher-level number. Therefore, level numbers locate storage for union members.
User Action: Include level numbers in the declaration of a union. Make certain that the UNION attribute refers to existing higher-level numbers.

BADUNSPREF, The argument of UNSPEC must be a reference to a scalar variable or a reference to an element of an array or a structure.


Error: The UNSPEC built-in function is used incorrectly.
User Action: Correct the reference to UNSPEC. Its argument cannot be a constant or a structure name.

BADVALUSE, An expected entity value was not found. One of the values in this statement has a data type that cannot be converted to the type required by the context in which the value is used.


Error: A noncomputational data type is specified when a computational data type is required, or vice versa. For example, this error occurs if the CHARACTER built-in function specifies a pointer or entry value for an argument.
User Action: Verify that the variable in question is correctly declared. If it is, correct the statement so that it refers to a variable of the correct data type.

BASENOTAREA, The reference specified as the base area for the offset variable entity is not a reference to an area variable.


Error: The data type of the variable specified in the OFFSET (reference) attribute is not AREA.
User Action: If the reference is correct, make sure that its declaration contains the attribute AREA. Otherwise, specify a variable that is an area.

BASENOTLOC, The reference in the BASED attribute specified for the variable entity is not a reference to a locator variable.


Error: The expression specified in the BASED attribute for a BASED variable or in the SET option of an ALLOCATE statement is not a reference to a POINTER or OFFSET variable. The use of the BASED variable in the context of this message requires that the value be a locator variable that can be written.
User Action: Change the BASED expression or the SET option to be a reference to a locator variable.

BIFARGCNT, A built-in function has been referenced with the wrong number of arguments.


Error: Too many or not enough arguments are specified in a reference to a built-in function.
User Action: Verify the argument list required by the built-in function, and correct the statement.

BIFLTSCAL, A built-in function that produces a floating-point result cannot specify a scale factor.


Error: A built-in function that returns either a floating-point or fixed-point result, depending on its arguments, specifies a scale factor for an argument that is floating point.
User Action: Correct the argument list, omitting the scale factor.

BIGINT, The integer value entity is too big for the context in which it occurs.


Error: An integer constant or an integer value that can be computed at compile time is too large in magnitude. For example, in SUBSTR(S,I,1024*124), the size argument is too large.
User Action: Determine the valid range of values for the context, and correct the source program.

BIGPICTURE, Entity results in a compiled picture that exceeds the implementation's limit. Reduce the size of the picture and recompile.


Error: A picture specification is too complex or contains more than 255 characters.
User Action: Correct the picture.

BITNOTBIN, Implicit conversion. A bit string, entity, has been used as the first operand of a FIXED, FLOAT, or DECIMAL built-in function.


Warning: The first operand of the built-in functions listed must be arithmetic, but a bit-string argument was specified. The compiler converted the bit-string argument to binary.
User Action: To avoid this message when you want the compiler to convert the bit-string expression to the appropriate arithmetic data type, use the BINARY built-in function, followed by a FIXED, DECIMAL, or FLOAT built-in function, if necessary. You can also suppress the message by compiling the program with the /NOWARNINGS qualifier.

BLANKGIVEN, An arithmetic constant must be separated from the following symbol by a delimiter. A blank delimiter has been supplied.


Warning: This message indicates a syntax error in a constant, for example, an invalid character in a floating-point number or the omission of apostrophes around a bit-string constant.
User Action: Correct the constant.

BLAWHEZER, The CDD description for structure item entity contains the Blank When Zero attribute. Blank When Zero is being ignored by PL/I.


Informational: PL/I does not support the Common Data Dictionary Blank When Zero attribute.
User Action: None.

CDDERROR, Common Data Dictionary description extraction condition for pathname entity.


Informational: The PL/I compiler is in the process of extracting a data definition from the Common Data Dictionary.
User Action: See the accompanying messages for more information.

CDDTOOBIG, The attributes for some member of the Common Data Dictionary record description entity exceed the implementation's limit for member complexity.


Error: A member of the Common Data Dictionary record description has too many attributes and has created a program that is too large.
User Action: Change the Common Data Dictionary description to make the field description smaller.

CDDTOODEEP, The attributes for the Common Data Dictionary record description entity exceed the implementation's limit for record complexity.


Error: The Common Data Dictionary record descriptions are nested too deeply.
User Action: Change the Common Data Dictionary description to reduce the level of nesting in the record description.

CIRCDECL, The declaration of entity is circular. Some reference or expression in this declaration depends on the declaration itself.


Error: The compiler cannot resolve a reference, as in DECLARE P POINTER BASED(P).
User Action: Correct the reference so that its definition depends on some other variable.

CMPLXDOPE, The dope vector required for the argument entity is too complicated.


Error: A structure parameter has so many members with asterisk (*) extents that the required dope vector cannot be represented in the compiler's intermediate language.
User Action: Simplify the parameters.

CNDNAMEVAL, A parenthesized name or value is not valid with the entity condition.


Error: Only the I/O condition names and the VAXCONDITION condition name can specify values.
User Action: Correct the ON condition name in the statement.

COLMAJOR, The CDD description for structure item entity specifies that it is a column-major array.


Error: PL/I only supports row-major arrays.
User Action: Change the Common Data Dictionary description to specify a row-major array.

CONFLATTR, Attributes declared for entity conflict with factored attributes.


Error: An attribute specified for a variable within a list of factored attributes conflicts with an attribute specified in the variable declaration. For example, this error occurs if a precision or extent is specified twice and the values do not match, as in DECLARE (X CHAR(8),Y) CHAR(10);.
User Action: Determine which declaration of the attribute is invalid, and correct the statement.

CONFLOPT, The entity options entity and entity conflict.


Error: The specified recording locking options conflict with each other.
User Action: Remove some of the options.

CONPREC, The precision arguments of BINARY, DECIMAL, FIXED, FLOAT, DIVIDE, ADD, and MULTIPLY built-in functions must be decimal integer constants.


Error: A nonconstant value is specified for the precision argument of one of the built-in functions listed.
User Action: Correct the argument list for the built-in function in error so that it specifies a constant value for the precision argument. Replace the variable specified for the precision argument with an integer constant.

CONSTCOND, A condition occurred while an expression with constant operands was being evaluated.


Warning: The compiler evaluated an expression at compile time which resulted in the occurrence of a PL/I condition. The most common condition that occurs is FIXEDOVERFLOW.
User Action: Try to determine which expression caused the condition. Look especially at subscripts, the second and third arguments of SUBSTR references, expressions for string sizes, and array bounds. When you locate the reference (you may want to use the debugger to help locate the reference), correct it.

CONSTCVT, An ERROR occurred during the conversion of the constant entity to the context in which it is used.


Error: A constant is either invalid for conversion to another data type (for example, the string 'XXX' cannot be converted to arithmetic), or the FIXEDOVERFLOW or OVERFLOW condition occurred during the conversion.
User Action: Correct the constant.

CVTBIFSCAL, The scale factor specified in a conversion built-in function does not lie in the range entity:31.


Error: A conversion built-in function, for example, DECIMAL, is invoked with a scale-factor argument that is not a valid precision.
User Action: Determine the correct range of precision for the indicated data type and specify a value in that range in the argument list for the built-in function.

DCLENGTH, Entity has been declared with a length or size less than 0 or greater than the maximum for its data type.


Error: The variable is incorrectly declared.
User Action: Determine the correct range of values for the data type of the indicated variable and correct its declaration.

DCLEXPRES, An expression or reference contained within this DECLARE statement is excessively complex. Reduce the complexity and recompile.


Fatal: The compiler cannot interpret the statement.
User Action: Rewrite the declaration using two or more statements.

DCLTOOLONG, The total number of declarations, parameter descriptors, and returns descriptors in this DECLARE statement exceeds the implementation's limit.


Fatal: The compiler cannot interpret the statement.
User Action: Simplify the statement. If it is a DECLARE statement, place the declarations in different statements. If the statement contains a parameter descriptor or returns descriptor, simplify the procedure calling sequences.

DECDIVSCA, Use of the division operator resulted in a negative scale for the result. A result scale of zero has been used instead.


Warning: The division operator (/), when used to divide fixed decimal operands, yielded an expression that would have a negative scale factor in full PL/I. The PL/I compiler does not allow negative scale factors for fixed-point decimal numbers.
User Action: Use the DIVIDE built-in function to divide the fixed-point operands, and specify the scale of the result.

DEFBASCLA, The base reference specified for the DEFINED variable entity is itself DEFINED or BASED.


Warning: The PL/I language does not allow a DEFINED variable to be defined on a variable that is either BASED or DEFINED.
User Action: If you intended to define the variable on a BASED or DEFINED variable, you need do nothing; the results are likely to work as you expect.

DEFDATATYP, The undeclared name entity has been declared as a FIXED BINARY variable in the containing procedure.


Warning: A name that is not declared or that is not a label has been referenced; the compiler gives the attributes FIXED BINARY by default.
User Action: Check that the reference is correctly spelled; if it is not, correct the spelling. If the variable is not declared, declare it with the appropriate attributes for its use.

DESCRIBIF, Invalid use of the DESCRIPTOR built-in function.


Error: The DESCRIPTOR built-in function can be used in an argument list only to specify that an argument be passed by descriptor to a non-PL/I procedure; the corresponding parameter must be declared with the attributes ANY and VALUE. This message indicates that you are using the built-in function in an inappropriate context. Note that by default the PL/I compiler passes character strings and arrays by descriptor, so you need not specify the manner in which they are passed.

This message is also issued when the DESCRIPTOR built-in function is specified with more than one argument or with an argument that is noncomputational, pictured, or an array of noncomputational or pictured data.
User Action: Remove the reference to the built-in function from the statement.

DICTABORT, %DICTIONARY processing of the Common Data Dictionary record description entity aborted.


Error: The PL/I compiler is unable to process the Common Data Dictionary record description.
User Action: See the accompanying messages for further information.

DIVSCALE, Use of the division operator produced a result whose scale factor would exceed the implementation limit.


Error: The resulting scale factor must be in the range -31 through 31.
User Action: Use the DIVIDE built-in function to control the scale factor used in the division operation, or change the scale factors of the values used in the division operation.

DUMMYARG, A dummy argument has been created for entity, because it does not exactly match the entity parameter.


Warning: The compiler converted the argument to the data type of the corresponding parameter, and placed the result in a dummy argument. Thus, it passes a reference to the dummy argument rather than to the actual argument to the called procedure.
User Action: If the conversion is acceptable, and if the argument will not be modified in the called procedure, you need do nothing. You can enclose the argument in parentheses to suppress the message. However, if the argument must be passed by reference so that the called procedure may modify it, correct the declaration of the argument or the parameter descriptor or parameter list for the corresponding parameter.

DUPATTR, Duplicate attribute in list near entity.


Error: An attribute was specified more than once for the declaration.
User Action: Change the list to specify attributes only once for each entity being declared.

DUPDCL, This statement contains a duplicate declaration of entity.


Error: The same identifier is used in more than one declaration at the same level.
User Action: Determine which declaration of the variable specifies the incorrect attributes, if they are different, and change the incorrect declaration.

DUPLABL, This statement contains a label prefix that has appeared on a previous statement in the same block.


Error: Two labels in the same block specify the same user-specified identifier and constant subscript.
User Action: Correct the identifier or the subscript and all references to it.

DUPOPTN, This statement contains duplicate, missing, or conflicting options.


Error: A statement contains more than one specification of the same option; for example, the LIST option is specified more than once in a PUT statement.
User Action: Determine which specification of the duplicated option is the incorrect one, and delete it from the statement.


Previous Next Contents Index