New Stanford PASCAL Compiler

Bernd Oppolzer

 

Additional information about this version of Stanford PASCAL may be obtained from https://github.com/StanfordPascal/Pascal and https://www.facebook.com/StanfordPascal/.  

I downloaded Bernd Oppolzer's distribution for this PASCAL compiler from github.  He has blocked the datasets for loading onto 3350 DASD, but I loaded them onto PUB001, which is a 3390 on my MVS system.  There were a number of steps involved in completing the installation of the compiler, including adding a Link Editor parameter for the two main compiler modules to achieve successful link and correction of the bracket characters ([ and ]) in PASCAL source members, which suffered somewhere during code page translations.  The FORTRAN math library is available on my system via SYSCPK, but since he has included the means to provide the math routines, I followed his instructions to populate the math library dataset that he has referenced in his provided compiler procedures.  I have removed the members/datasets from the installed datasets that are used to build this library, as they are not necessary and simply take up space.  After successfully running some test compiles, I used DSSDUMP to dump the nineteen datasets that comprise the New Stanford PASCAL compiler to a tape image.  That tape, along with three jobstreams, is available from ../downloads/archives/pascaln.tar.gz (2.7 mB; MD5: 60946d87450d4ff4cc0929f34eb6b60d).  The three jobstreams perform the following functions:

The datasets, although blocked to reside on 3350 DASD will correctly restore to any 3350, 3375, 3380, or 3390 DASD, although DSSREST may issue warnings if the datasets are restored to any device other than a 3390.  The restore jobstream - pascalnr.jcl - is coded to restore to a 3390 with VOL=SER=PUB001, and the alias PASCALN will be created to point to a User Catalog on PUB001, so if you do not have a 3390/PUB001, you will need to modify this jobstream before submitting it.

The second jobstream - pascalnc.jcl - simply copies the three PASCALN compiler procedures to SYS2.PROCLIB.  If you do not have SYS2 PROCLIB set up for your system, it will be necessary to modify this jobstream before submitting it.

If you wish to remove the PASCALN compiler from your system, the third jobstream - pascalnd.jcl - will delete the nineteen datasets and remove the PASCALN alias.


I hope that you have found my instructions useful.  If you have questions that I can answer to help expand upon the information I have included here, please don't hesitate to send them to me:


Return to Site Home Page 


This page was last updated on November 16, 2020.