Re: PL/S ??



On Wed, 31 Oct 2007 09:17:53 -0500, Mark H. Young
<Mark.Young@xxxxxxxxxxxxxxxxx> wrote:

Does a copy of PL/S from IBM exist anywhere in the public domain?

Not a chance. There was a version made available to ISVs for a brief period
in the 1990s, but not before or after. (Well, not under any generally
available scheme; it wouldn't surprise me to find that some non-IBM
companies have it under some sort of private agreements, but I don't
actually know of any.)

Or would there be somewhere on a z/OS mainframe system I could find a
sample of the code?

Do you mean a sample of code written in the PL/S language? There's no
shortage of such samples, in various dialects of PL/S, PL/X etc. but you
won't have any way of compiling them unless you want to try writing your own
compiler.

Old PL/S code can be found as comments in the MVS 3.8 assembler source
available in a number pf places on the net, including CBTTAPE.ORG . A handy
place to browse MVS 3.8 source is http://www.mainframe.eu/mvs38/asm/

An example of this PL/S-generated assembler is
http://www.mainframe.eu/mvs38/asm/TSO%20(IKJ)/IKJCT431
or just about any of the IKJ modules found nearby. If you just edit the
assembler program to remove all but the comments (* in column one), you'll
have a very good approximation to the original PL/S source. Watch the
ASCIIfication of some symbols though; the EBCDIC not sign has probably been
turned into an ASCII caret.

A newer example of PL/X 370 source can be found on IBM's VM downloads site
at http://www.vm.ibm.com/download/packages/timeserv.vmarc
You will need a fairly modern VM system to unpack this, but it has both PL/X
source and the generated assembler code.

This is what I found on Wikipedia:

PL/S, short for Programming Language/Systems, is a "machine-oriented"
programming language based on PL/I. It was developed by IBM in the late
1960s as a replacement for assembly language on internal software projects;
it included support for inline assembly and explicit control over register
usage.

Early projects using PL/S were the batch utility, IEHMOVE, and the Time
Sharing Option of MVT, TSO.

Most of TSO was/is indeed written in PL/S (or BSL, as the earliest versions
were called), but I'm almost certain IEHMOVE was not. But have a look; it's
easy to recognize.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: Fw: Fw: Binder API...broke or working as designed
    ... Now, granted, the binder could be rewritten in another ... Assembler. ... In what language is the binder written? ... And I would have imagined that PL/S didn't require LE. ...
    (bit.listserv.ibm-main)
  • [Full-disclosure] Was secreview crap - now OpenVMS!!
    ... and VM and MVS were a mixture of assembler and PL/S. ... Charter: http://lists.grok.org.uk/full-disclosure-charter.html ...
    (Full-Disclosure)
  • Re: Evolution
    ... > inline assembler and larger parts by linking to an assembler ... in the HLL. ... language, particularly in smaller projects. ... > or two instructions if you ...
    (alt.lang.asm)
  • Re: HLA StdLib2 criticism
    ... HLC.EXE with an already existing C compiler and calls it HLC system. ... Suppose someone creates a new language and calls it "High Level ... Assembler" (HLA). ...
    (alt.lang.asm)
  • Re: What is an assembly language?
    ... HLA is an assembler. ... So what is this essential ability of an assembly language that is ... > that Randy-HLA isn't an x86 assembler. ...
    (alt.lang.asm)