Purpose
An alphanumeric, numeric, or hexadecimal literal used to represent a value.
Syntax
►►─┬─ alphanumeric-literal ─┬─────────────────────────────────────────────────►◄ ├─ numeric-literal ──────┤ └─ hexadecimal-literal ──┘
Syntax Rules
A 1- to 64-character string enclosed in single quotation marks that consists of letters, numbers, and special characters in any combination.
To express an apostrophe (a single quotation mark), code two consecutive single quotation marks; for example, 'ERNIE''S DINER'.
A 1- to 31-digit numeric value, optionally preceded by a sign and optionally containing an embedded or trailing decimal point; for example, 12.34.
A 1- to 50-character (25-byte) hexadecimal value, preceded by X and enclosed in single quotation marks; for example, X'0000'.
|
Copyright © 2014 CA.
All rights reserved.
|
|