vertical bars (for example, (|date9.|)). Do not enclose the name of
the existing format in single quotation marks.
Tips
Avoid nesting formats more than one level. The resource
requirements can increase dramatically with each additional level.
As a best practice, if you specify an existing format in value-
range-set, always specify a default value by using the
DEFAULT= option on page 835.
Examples
Example 1: Create a Format to Print Postal Codes for Selected
States
The $STATE. character format prints the postal code for selected states:
value $state 'Delaware'='DE'
'Florida'='FL'
'Ohio'='OH';
The variable value Delaware prints as DE, the variable value ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.