CLIST is a programming language created in 1990.
#1144on PLDB | 34Years Old |
CLIST (Command List) (pronounced "C-List") is a procedural programming language for TSO in MVS systems. It originated in OS/360 Release 20 and has assumed a secondary role since the availability of Rexx in TSO/E Version 2. The term CLIST is also used for command lists written by users of NetView.In its basic form, a CLIST program (or "CLIST" for short) can take the form of a simple list of commands to be executed in strict sequence (like a DOS batch file (*.bat) file). Read more on Wikipedia...
1 /********************************************************************/
2 /* MULTI-LINGUAL "HELLO WORLD" PROGRAM. */
3 /* */
4 /* THIS CLIST, STORED AS USERID.TSO.CLIST(TEST), CAN BE INVOKED */
5 /* FROM THE ISPF COMMAND LINE AS SHOWN IN THE FOLLOWING EXAMPLE: */
6 /* */
7 /* COMMAND ===> TSO TEST SPANISH */
8 /* */
9 /********************************************************************/
10 PROC 1 LANGUAGE
11 IF &LANGUAGE = SPANISH THEN +
12 WRITE HOLA, MUNDO
13 ELSE IF &LANGUAGE = FRENCH THEN +
14 WRITE BONJOUR, MONDE
15 ELSE +
16 WRITE HELLO, WORLD
17 EXIT
Feature | Supported | Example | Token |
---|---|---|---|
Strings | ✓ | "Hello world" | " |
Comments | ✓ | /* A comment */ | |
MultiLine Comments | ✓ | /* A comment */ | /* */ |
Semantic Indentation | X |