CTM != Cobol Topic Maps, Please
I have an increasingly hard time to hide my impatience with the progress, or actually non-progress, or actually regress of the CTM standardization.
Before I kill somebody (and my list is long) and as compensation I followed up the idea to draft a COBOL Topic Maps notation. It was probably born on #topicmaps, maybe also in one of the SC34 meetings. We do weird things there.
This proposal is meant as a lower bound which I ask the CTM editors not to cross.
IDENTIFICATION DIVISION.
PROGRAM-ID. DrinkAndDance.
AUTHOR. rho.
DIRECTIVE DIVISION.
PREFIX SECTION.
01 o
02 URL LEFT-ANGLE-BRACKET
http://psi.ontopedia.net/ RIGHT-ANGLE-BRACKET .
01 w
02 URL LEFT-ANGLE-BRACKET
http://en.wikipedia.org/ RIGHT-ANGLE-BRACKET .
COMMENT SECTION.
* we like to write comments
* or abuse them for other purposes
* not because we realize the abuse
* no, because we can
INCLUDE SECTION.
SELECT SOME-FILE ASSIGN TO "something.ctm"
ORGANIZATION IS COBOL TOPIC MAPS .
TOPIC DIVISION.
IDENTIFICATION SECTION.
MOVE john-lennon TO IDENTIFIER .
MOVE LEFT-ANGLE-BRACKET
http://en.wikipedia.org/wiki/John_lennon
RIGHT-ANGLE-BRACKET TO SUBJECT IDENTIFIER .
NAME SECTION.
MOVE "John Lennon" TO SCOPE UNDEFINED-SCOPE
USING TYPE short-name .
MOVE "John Winston Lennon" TO SCOPE queen-of-england
USING TYPE official-name .
OCCURRENCE SECTION.
MOVE LEFT-ANGLE-BRACKET
http://www.johnlennon.com RIGHT-ANGLE-BRACKET
USING TYPE homepage .
ASSOCIATION DIVISION.
ASSOCIATION-TYPE SECTION.
is-married-to . * this may be actually a shortcut!!
ROLE SECTION.
MOVE PLAYING john-lennon TO ROLE husband .
MOVE PLAYING yoko-ono TO ROLE wife .
EXIT.
PROGRAM-ID. DrinkAndDance.
AUTHOR. rho.
DIRECTIVE DIVISION.
PREFIX SECTION.
01 o
02 URL LEFT-ANGLE-BRACKET
http://psi.ontopedia.net/ RIGHT-ANGLE-BRACKET .
01 w
02 URL LEFT-ANGLE-BRACKET
http://en.wikipedia.org/ RIGHT-ANGLE-BRACKET .
COMMENT SECTION.
* we like to write comments
* or abuse them for other purposes
* not because we realize the abuse
* no, because we can
INCLUDE SECTION.
SELECT SOME-FILE ASSIGN TO "something.ctm"
ORGANIZATION IS COBOL TOPIC MAPS .
TOPIC DIVISION.
IDENTIFICATION SECTION.
MOVE john-lennon TO IDENTIFIER .
MOVE LEFT-ANGLE-BRACKET
http://en.wikipedia.org/wiki/John_lennon
RIGHT-ANGLE-BRACKET TO SUBJECT IDENTIFIER .
NAME SECTION.
MOVE "John Lennon" TO SCOPE UNDEFINED-SCOPE
USING TYPE short-name .
MOVE "John Winston Lennon" TO SCOPE queen-of-england
USING TYPE official-name .
OCCURRENCE SECTION.
MOVE LEFT-ANGLE-BRACKET
http://www.johnlennon.com RIGHT-ANGLE-BRACKET
USING TYPE homepage .
ASSOCIATION DIVISION.
ASSOCIATION-TYPE SECTION.
is-married-to . * this may be actually a shortcut!!
ROLE SECTION.
MOVE PLAYING john-lennon TO ROLE husband .
MOVE PLAYING yoko-ono TO ROLE wife .
EXIT.
COBOL programmers may forgive me. Otherwise I'll put them onto my list, too.
- rho's blog
- Login to post comments
- Printer-friendly version

Discussion of CTM
You shouldn't have posted this "proposal".
I am afraid that someone takes it serious and takes it into the next SC34 meeting.
Please remove it asap!
Thanks in advance,
Lars
Re: Discussion of CTM
:-) In any case, it would be an improvement, yes?
:-) In any case, it
If you add some semicolons, yes ;)