This chapter describes a number of Jazz features that apply to more than one statement.
A Figurative Constant is a word like “Spaces”, “Zeros” that means a particular constant value. These are simply adopted from COBOL, they have the same names and meanings. Figurative Constants are: -
ZERO, ZEROS, ZEROES
Represents the numeric value zero (0)
Represents one or more blanks or spaces.
Represents one or more occurrences of the character that has the highest ordinal position in the collating sequence used.
Represents one or more occurrences of the character that has the lowest ordinal position in the collating sequence used.
Represents one or more occurrences of:
· The quotation mark character ("), if the QUOTE compiler option is in effect
· The apostrophe character ('), if the APOST compiler option is in effect
QUOTE and QUOTES cannot be used in place of a quotation mark or an apostrophe to enclose an alphanumeric literal.
The following COBOL figurative constants are not supported by Jazz™ except with COBOL blocks (within COBOL/END COBOL sections).
ALL literal represents one or more occurrences of the string of characters that compose the literal.
For more information about figurative constants, refer to this web page.
In COBOL you have to Open and Close files, Start and Stop SQL, and so on. Jazz™ does its best to ensure that you don’t have to think about this, generating the relevant statements when they’re needed. However sometimes it needs a bit of help, in which case you need to know what’s happening.
To be written.
To be written. MANASYS had some powerful facilities to write logic to be executed at the beginning and end of control breaks. Jazz may provide these, but hopefully with a less clunky syntax. To be determined.