Functions, dates, JSON and OO COBOL
The numeric and the string intrinsic functions, dates and the days between two of them, then JSON GENERATE and JSON PARSE, on a JSON document. XML gets a lesson on the parts of it this compiler does not build. The part ends on COBOL objects: CLASS-ID, inheritance and interfaces, and the constructs 3.2 refuses.
097
Numeric intrinsic functions
FUNCTION MAX, MIN, ABS, MOD, INTEGER and FACTORIAL, and a value they refuse
Open
098
String intrinsic functions
FUNCTION LENGTH, SUBSTITUTE, REVERSE and TRIM, and a report field built with them
Open
099
CURRENT-DATE and date arithmetic
FUNCTION CURRENT-DATE, INTEGER-OF-DATE, DATE-OF-INTEGER, WHEN-COMPILED and the days between two dates
Open
100
JSON GENERATE
JSON GENERATE, a record as a JSON document, numbers and strings, and the name it gives a field
Open
101
JSON PARSE
a JSON document into a record, NAME and VALUE, a missing field, and ON EXCEPTION
Open
102
XML and what 3.2 lacks
XML GENERATE, XML PARSE, and the parts of each that this compiler does not build
Open
103
OO COBOL: CLASS-ID and objects
CLASS-ID, METHOD-ID, an object in USAGE OBJECT REFERENCE, and a method that returns a value
Open
104
OO COBOL: inheritance and interfaces
INHERITS, IMPLEMENTS, an overridden method, and the object that uses both
Open
105
OO COBOL: what 3.2 does not build
the constructs that fail, the real error for each, and what to use instead
Open