Previous Topic: IDCMTPAD09 - FIELD-NAME, a variable field, cannot be used in this contextNext Topic: IDCM2GEN01 - Host variable, host-var, not known to PDL


IDCMTPAD10 - A nullable field, name, cannot be used in this context

Reason:

The clauses LENGTH=, RIGHT=, LEFT=, CENTER= of the $PAD and $TRIM functions cannot have a nullable field as their object.

Action:

Correct the clauses so they no longer reference nullable fields.

IDCMTRAN01 - IDCMTRAN08

IDCMTRAN01 - Expected WORD-1, found WORD-2

Reason:

Syntax error.

Action:

Correct and retry.

IDCMTRAN02 - Expected "FROM" or "TO" keyword, found WORD-1

Reason:

The specified expression was used in a position where a FROM or TO was expected.

Action:

Replace the invalid expression with FROM or TO.

IDCMTRAN03 - Duplicate "XXXX" clause in $TRANSLATE function

Reason:

You specified a duplicate FROM or TO clause for a $TRANSLATE function.

Action:

Make sure each $TRANSLATE function has no more than one FROM and one TO clause.

IDCMTRAN04 - STRING XXXX is not valid as a "FROM" or "TO" clause operand

Reason:

The specified expression is not a valid FROM or TO clause for a $TRANSLATE function.

Action:

Make sure FROM and TO clauses for the $TRANSLATE function consist only of the word FROM or TO followed by an alphanumeric literal or the name of an alphanumeric field or alpha group.

IDCMTRAN06 - A character in the "FROM" clause is not unique

Reason:

The $TRANSLATE FROM clause contains at least one duplicate specification.

Action:

Check the syntax and re-specify.

IDCMTRAN07 - Lengths of "FROM" and "TO" items not equal, shorter length used

Reason:

The $TRANSLATE FROM and TO clauses have unequal length specifications. The shorter length is used.

Action:

Informative, this is a warning.

IDCMTRAN08 - field/string-expression, name, cannot be used in this context

Reason:

The field/string-expression name is null-eligible and, therefore, you cannot use it as the object of a TO= clause or a FROM= clause of a $TRANSFORM function.

Action:

Correct the statement so that field/string-expression name no longer references null-eligible fields.

IDCM2GEN01 - IDCM2GEN03