Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language SCL

(System Control Language (ICL VME)

Date:08/24/05
Author:Steve Hammond
URL:n/a
Comments:8
Info:n/a
Score: (3.02 in 50 votes)
@ SCL is the system control language used on ICL (now Fujitsu) mainframes
@ running the VME2900 operating system.
@
@ It was originally intended to be used to perform batch flow control
@ (assigning files etc) but was extended and made compilable to be able
@ to perform complex mathematics.
@
@ August 2005
@ Steve Hammond
@

PROC BOTTLES IS (@ no parameters required @)
PROCBEGIN

    INT   I_COUNT

    FOR
        I_COUNT
    FROM
        99
    TO
        1
    BY
        -1
    DO
        SYSCALL SEND_MESSAGE (
            MESSAGE = NUMERIC(I_COUNT) +
                      " bottles of beer on the wall" + HEX(15) + @ line feed @
                      NUMERIC(I_COUNT) +
                      " bottles of beer." )
    REPEAT

PROCEND

Download Source | Write Comment

Alternative Versions

Comments

>>  Karel Haidinger said on 08/26/05 00:16:24

Karel Haidinger SCL is in my experience (14 years) programming language and interface to operating system (VME) which should be the example for companies developing operating systems how to interract with OS (instead of lots of clumsy scripting or control languages trying to patch something missing).

>>  Ebrahim Kariel said on 07/06/08 06:38:32

Ebrahim Kariel Well said. Contact me for running VME on your pc.

Ebrahim (Ebe) Kariel

>>  asif said on 09/30/08 16:45:10

asif

hi,

im new to SCL and wanted to know much abt it. Can anyone of you let me know where can i get the relavent information abt SCL for me to get started on it. Any useful information will be really helpful.

>>  Jeremy Skyrme said on 02/18/10 20:15:02

Jeremy Skyrme Ah, just a trip down memory lane, nostalgia kicking in looking at pictures of big orange boxes. I absolutely loved VME, along with SCL and of course, the formidable S3, which I adored.

Run VME on your PC? absolutely!! I'm not sure how to contact you though - perhaps you'd be kind enough to make the first move? jeremy (at) skyrme (dot) net

>>  D said on 03/23/10 19:22:13

D Wow this was a trip down memory lane.. I loved SCL. I wrote the FSPOLICE procedure that was published in VMETips. I also wrote the inside cover article to one of the editions. I still have my copy lol.

>>  Brian Parker said on 05/19/10 02:39:51

Brian Parker A massively powerful and straightforward programming language. Made all of the "JCL" types seem ridiculous.

>>  barrym said on 05/19/10 03:35:08

barrym I'm certainly no expert, but a simple inspection of this code
reveals that it is printing a ridiculous subset of the song
lyrics. Would someone who knows SCL fix it for the rest of
us, please? Thank you.

>>  Nikyzf said on 07/15/10 18:39:17

Nikyzf barrym,

I'll submit a quick fix so at least it displays the correct lyrics.

If I've got time, I'll do another version showing more features of SCL.

Download Source | Write Comment

Add Comment

Please provide a value for the fields Name, Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.

Please don't post large portions of code here! Use the form to submit new examples or updates instead!

Name:

eMail:

URL:

Security Code:
  
Comment: