Measures Concepts
GitHub icon

CLIST

CLIST - Programming language

< >

CLIST is a programming language created in 1990.

#821on 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...


Example from 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

Language features

Feature Supported Token Example
Strings ✓ "
"Hello world"
Comments ✓
/* A comment
*/
MultiLine Comments ✓ /* */
/* A comment
*/
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout