bdfp1m2sProgramming Concepts and Reference

DBCNT-Calculate the Length of an Assembler Symbol

This macro calculates the length of an assembler symbol.

Note:
Do not use this macro in new code; use assembler count attribute K' in new code.

Format




label
is a symbolic name assigned to the macro statement.

symbol
is an assembler symbol.

Entry Requirements

You must define symbol &KK to the assembler by coding:

GBLA  &KK

Normal Return

Symbol &KK is set to the length of the specified symbol.

Error Return

None.

Programming Considerations

Register values are preserved across this macro call.

Examples

The following example sets symbol &KK to the length of symbol &INCLUDE.

DBCNT &INCLUDE

Related Macros

None.