home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / computer-lang / pli-faq < prev   
Internet Message Format  |  2004-04-17  |  21KB

  1. Path: senator-bedfellow.mit.edu!dreaderd!not-for-mail
  2. Message-ID: <computer-lang/pli-faq_1082120084@rtfm.mit.edu>
  3. Supersedes: <computer-lang/pli-faq_1074244461@rtfm.mit.edu>
  4. Expires: 29 Jul 2004 12:54:44 GMT
  5. X-Last-Updated: 2003/09/30
  6. Organization: none
  7. Newsgroups: comp.lang.pl1,comp.answers,news.answers 
  8. Subject: PL/I Frequently Asked Questions (FAQ) 
  9. From: robin_v@bigpond.com (Robin Vowels) 
  10. Followup-To: comp.lang.pl1 
  11. Reply-To: robin_v@bigpond.com 
  12. Summary: This posting contains a list of Frequently Asked 
  13.         Questions (and their answers) about PL/I -- 
  14.         Programming Language One.  It should be read by anyone 
  15.         wanting to read the newsgroup comp.lang.pl1. 
  16.         It is of interest to anyone wanting to read any 
  17.         of the comp.lang.* newsgroups. 
  18. Approved: news-answers-request@MIT.EDU 
  19. X-Disclaimer: Approval for *.answers is based on form, not content.
  20. Originator: faqserv@penguin-lust.MIT.EDU
  21. Date: 16 Apr 2004 12:56:16 GMT
  22. Lines: 537
  23. NNTP-Posting-Host: penguin-lust.mit.edu
  24. X-Trace: 1082120176 senator-bedfellow.mit.edu 570 18.181.0.29
  25. Xref: senator-bedfellow.mit.edu comp.lang.pl1:13841 comp.answers:56838 news.answers:269591
  26.  
  27. Archive-name: computer-lang/pli-faq 
  28. Posting-Frequency: three-monthly (Jan Apr Jul Oct) 
  29. Last-Modified: 29 September 2003 
  30. Version: 1.32
  31.  
  32.                 FREQUENTLY-ASKED QUESTIONS & ANSWERS 
  33.  
  34. (Q1) What is PL/I? 
  35.  
  36.      PL/I is a general-purpose programming language, which 
  37.      is used for solving problems in a variety of fields 
  38.      such as commerce, science (including mathematics, 
  39.      physics, chemistry), engineering (including civil, electrical, 
  40.      aeronautics), medicine and so on.  It can be used for 
  41.      system programming, and the facilitites are such that 
  42.      it is rarely if ever necessary to resort to machine-language 
  43.      or assembly-language programming to solve problems. 
  44.  
  45.      PL/I has outstanding facilities for commercial and business use. 
  46.      It has more power than Pascal, Fortran 95, BASIC, C, and 
  47.      COBOL, and has comparable facilities to Ada. 
  48.      The main areas where PL/I is superior include interrupt 
  49.      handling, the built-in debugging aids, the macro 
  50.      processor facilities, string-handling, and input-output 
  51.      (see below). 
  52.      The language has good documenting and self-documenting 
  53.      facilities;  programs are easy to read and to understand. 
  54.      It bears some resemblance to Fortran and BASIC. 
  55.      The language is suitable for beginners, as well as for 
  56.      anyone wanting to become a professional. 
  57.      There's a summary of what you'll find in PL/I at: 
  58.  http://www.users.bigpond.com/robin_v/pliwhat.htm 
  59.     or a slightly truncated version at: 
  60.  http://www-4.ibm.com/software/ad/pli/about.htm 
  61. (Q2) On what systems is it available? 
  62.      PL/I is available on at least the following systems: 
  63.  IBM PC and compatibles (80x86). 
  64.         *  IBM VisualAge PL/I: is available in 2 versions: 
  65.   Professional Edition    } Details at the bottom of this posting 
  66.                 Personal Edition        } 
  67.   accompanied by the 
  68.   live editor LPEX 
  69.   ---available from IBM 
  70.         *  Liant Open PL/I, for Intel running Windows XP, 2000, Me/98. 
  71.   Comes with Codewatch, Liant's powerful GIU source code debugger. 
  72.   ---available from Liant Software Corporation, 
  73.          8911 N Capital of Texas Hwy     354 Waverley Street 
  74.          Austin, Texas 78759-7267     Framingham, MA 01702 
  75.          USA                 USA 
  76.          Toll free: 1-800-349-9222  
  77.          Tel: (512) 343-1010         (508) 416-1614 Direct 
  78.          Fax: (512) 343-9487         or 
  79.                                   Tel: (800) 818-4754 X1614 (USA Only)  
  80.                                   Fax: (508) 278-3841 
  81.   (their PL/I generally is available on Unix-based systems) 
  82.                 See            http://www.liant.com/products/pl1 
  83.   for a full range of PL/I products. 
  84.         *  Windows NT -- available from IBM as VisualAge PL/I Professional 
  85.        and Personal editions, with the live parsing editor LPEX. 
  86.  *  Liant Open PL/I for Redhat Linux (Intel). 
  87.  *  Solaris ix (Intel) 
  88.      IBM AS/400 
  89.       --- available from IBM. 
  90.      IBM mainframes 
  91.   --- The followng versions are available from IBM: 
  92.             IBM Enterprise PL/I for z/OS and OS/390  
  93.       provides access to DB2, CICS, IMS, and other data and  
  94.       transactions systems. 
  95.  *        VisualAge PL/I for OS/390  
  96.  *        PL/I for MVS & VM  
  97.  *        PL/I for VSE  
  98.  *        PL/I for VSE/ESA is for MVS & VM 
  99.         *    IBM OS/390 (IBM z/OS) available as Enterprise PL/I. 
  100.      HP 9000 HP-UX 
  101.   --- available from Liant Software Corporation. 
  102.   Comes with Codewatch, Liant's powerful GIU source code debugger. 
  103.      UNIX. 
  104.   Older versions of Liant Open PL/I exist for Unix variants, 
  105.   sold off-the-shelf with limited support. Users can 
  106.   inquire at http://www.liant.com 
  107.      SPARC Solaris 2.x 
  108.   --- available from Liant Software Corporation. 
  109.   Comes with Codewatch, Liant's powerful GIU source code debugger. 
  110.      IBM RS/6000 AIX 
  111.   --- available from Liant Software Corporation (address above); 
  112.                     Comes with Codewatch, Liant's powerful GIU source 
  113.       code debugger. 
  114.   --- also available from IBM as Enterprise PL/I. 
  115.      Data General AViiON with DG-UX 
  116.   --- available from Liant Software Corporation 
  117.                     Comes with Codewatch, Liant's powerful GIU source 
  118.       code debugger. 
  119.      Compaq (formerly Digital Equipment Corporation) on Open VMS and Alpha 
  120.     AXP systems (Tru64 Unix) 
  121.   ---The compilers from Kednos Corporation for these systems are 
  122.      called "PL/I for Open VMS" and "PL/I for Tru64 Unix" 
  123.      respectively.  They took over support for PL/I from UniPrise. 
  124.   Take a look at Kednos' web page: http://www.kednos.com 
  125.   for manuals and compilers. 
  126.   For infomation, contact tom@kednos.com 
  127.      Stratus Computer, Inc. under VOS on all their systems except AX/R-S. 
  128.   --- available from Stratus Computer, Inc. 
  129.    55 Fairbanks Boulevard, 
  130.    Marlboro, Massachusetts 01752. 
  131.      Wang/Getronics systems.  Recent updates make the compiler Y2K compliant. 
  132.   --- available from Wang Laboratories, Billerica, Mass. 
  133.      Fujitsu-Siemens BS2000 system. 
  134.   --- visit them at: 
  135.   http://www.fujitsu-siemens.com/servers/pl1/pl1_us.htm 
  136.   where you can download a specification brochure in PDF format. 
  137. (Q3) How can I try out PL/I? 
  138.         Why not try out one of the demo copies at: 
  139.         ftp://ftp.software.ibm.com/ps/products/pli/demos/ 
  140.         There's also the original Digital Research PL/I for DOS at: 
  141.  http://www.mathcs.emory.edu/~cfs/cpm 
  142.         It's a subset of PL/I, of course, because it had to fit 
  143.         in 64K originally (I think).  There's the original manual too, 
  144.  in MS Word 6 format, but as it's been scanned, it is incomplete. 
  145.  Without an actual manual, I've taken it about as far as I can. 
  146.  The PL/I Reference Manual is in Microsoft Word 6 format, zipped at: 
  147.  http://www.users.bigpond.com/robin_v/ref-w6.zip 
  148.  If that mirror site is down, you could try to link to the main site at: 
  149.  http://cdl.uta.edu/cpm/cpm.html 
  150.  but as there have been problems connecting to it, don't count on it. 
  151.         Find the PCDOS section, and then check out DOWNLOADS. 
  152.         Be sure to download the utilities (including the linker) 
  153.         as well as the compiler and sample codes. 
  154.  You'll also need the compiler flags to use it, at: 
  155.  http://www.users.bigpond.com/robin_v/options.txt 
  156.  It you want the CP/M-86 PL/I compiler, go to the same site 
  157.  as mentioned above, and go to the PCDOS section, check out 
  158.  DOWNLOADS, and the CP/M-86 section. 
  159.  To order the compiler from IBM, go to: 
  160.   http://www.direct.ibm.com/ 
  161.  Select "Software", then select "Application Development". (see also 
  162.  the end of this posting.) 
  163.  On the VMS platform, either VAX or Alpha -- 
  164.  For personal use, the Kednos PL/I compiler  
  165.  and documentation may be downloaded free from http://www.kednos.com . 
  166.  To run the free version, you will need a 
  167.  Hobbyist license, which may be obtained by following the links 
  168.  at http://www.kednos.com . 
  169.  If you don't have VMS, you can run the CHARON VAX emulator on W2K.  
  170. (Q4) What do the compilers provide?</H3> 
  171.  All compilers provide enhanced versions of the ANSI standard 
  172.  (the IBM AS/400 adheres to SAA rules, and DR PL/I implements 
  173.  the subset G).  There's a 
  174.  summary of what you'll find in PL/I at: 
  175.  http://www.users.bigpond.com/robin_v/pliwhat.htm 
  176.  Example PL/I source code, to implement the new built-in functions 
  177.  (on non-OS/2, non-IBM-Windows and non-AIX systems and non-VisualAge 
  178.  compilers on OS/390 machines) for: 
  179.  The SEARCH built-in function: 
  180.   http://www.users.bigpond.com/robin_v/search.htm 
  181.  The SEARCHR built-in function at: 
  182.   http://www.users.bigpond.com/robin_v/searchr.htm 
  183.  and the VERIFY (3 argument version) and VERIFYR built-in functions at: 
  184.   http://www.users.bigpond.com/robin_v/verify.htm 
  185.  (these are in plain text form). 
  186.  Further PL/I examples of a tutorial nature are at 
  187.   http://www.users.bigpond.com/robin_v/shell.htm 
  188.  (an insertion sort), and a 
  189.  http://www.users.bigpond.com/robin_v/lists.htm 
  190.  (a linked list creation procedure (under construction)). 
  191.  In each case, click on the keywords for an explanation. 
  192.         In the cases of IBM Enterprise PL/I (formerly VisualAge), 
  193.  PL/I set for AIX, PL/I for Windows NT, OS/390 and OS/2, 
  194.         some important new language features are 
  195.         provided and include: 
  196.  (a) strongly-typed list processing in which the pointers 
  197.      (handles) are bound to the structures with which they 
  198.      are linked; 
  199.  (b) ordinals; 
  200.  (c) user-defined types; 
  201.  (d) Unsigned integer type; 
  202.  (e) New DO loop options that cause the loop to 
  203.      terminate without overrunning the limit (specifically 
  204.      for ordinals and unsigned integers); and 
  205.  (f) A much-enhanced macro-processor. 
  206.  (g) Initial support for wide character set, enabling such files to be 
  207.      read and written.  A number of new built-in functions for 
  208.      wide characters is provided. 
  209.  (this is not an exhaustive list) 
  210.  There are also some 120 new built-in functions, including 
  211.  extra-special DATE/TIME functions, string-handling 
  212.  functions, housekeeping functions (e.g., 
  213.  where-am-I-called-from?), and ordinal functions 
  214.  (including a function to supply the name of an ordinal!). 
  215. (Q5) What textbooks are available? 
  216.  Some of the best include: 
  217.     R.A. Barnes,     PL/I for Programmers, North-Holland, 1979. 
  218.     J.K. Hughes,     PL/I Structured Programming, 3rd Ed., Wiley, 1986. 
  219.     G.F. Groner,     PL/I Programming in Technological Applications, 
  220.        Books on Demand, Ann Arbor, MI, 1971. 
  221.     M.E. Anderson,   PL/I for Programmers, Prentice-Hall, 1973. 
  222.     D.R. Stoutemyer, PL/I Programming for Engineering & Science, 
  223.         Prentice-Hall, 1971. 
  224.     R. Reddy & C. Ziegler, PL/I: Structured Programming and 
  225.                              Problem Solving, West, 1986, ISBN 0-314-93915-6. 
  226.         Check out the Table of Contents: 
  227.     http://www.users.bigpond.com/robin_v/reddy.txt 
  228.     E. Sturm, Das neue PL/I (fur PC, Workstations and Mainframe 
  229.      (in German language), 5th Ed., 
  230.     Vieweg-Verlag (2002) 
  231.     ISBN: 3-528-44792-9. 
  232.   See the table of contents at: 
  233.      http://www.uni-muenster.de/ZIV/Mitarbeiter/EberhardSturm.html 
  234.     R. A. Vowels, http://www.users.bigpond.com/robin_v/PLI-BOOK.HTM 
  235.         Introduction to PL/I, Algorithms, and 
  236.                              Structured Programming, 3rd revised Ed., 1998, ISBN
  237.                              0-9596384-9-0. 600+ pages, A4 size. 
  238.         See a list of the main algorithms at: 
  239.           http://www.users.bigpond.com/robin_v/algor-p.htm 
  240.         Comes with a disc containing all the programs, 
  241.         procedures, and functions from the book.  The 
  242.         disc was first published in October 1996, and 
  243.         was last updated in April 2001. 
  244.  The following are good PL/I reference manuals. (The 
  245.  new facilities of PL/I for OS/2 are highlighted.  Therefore 
  246.  you can use these manuals as references on either mainframe or 
  247.  PC system.) 
  248.  IBM, PL/I for OS/2: Language Reference, 1994 edition 
  249.  IBM, PL/I for OS/2: Built-in Functions, 1994 edition 
  250.  IBM, VisualAge PL/I Language Reference, Version 2.1, 1998 edition. 
  251. (Q6) Is there a newsletter? 
  252.  Yes. 
  253.  The December 2002 issue of "The PL/I Newsletter" may be viewed at: 
  254.   http://www.users.bigpond.com/robin_v/pli-n6.htm 
  255.  The August 2002 issue of "The PL/I Newsletter" may be viewed at: 
  256.   http://www.users.bigpond.com/robin_v/pli-n5.htm 
  257.  The November 2001 issue of "The PL/I Newsletter" may be viewed at: 
  258.   http://www.users.bigpond.com/robin_v/pli-n4.htm 
  259.  The June 2001 issue of "The PL/I Newsletter" may be viewed at: 
  260.   http://www.users.bigpond.com/robin_v/pli-n3.htm 
  261.  The September 2000 issue of "The PL/I Newsletter" may be viewed at: 
  262.   http://www.users.bigpond.com/robin_v/pli-n2.htm 
  263.  You may download the July 2000 issue from: 
  264.   http://www.users.bigpond.com/robin_v/pli-n1.doc 
  265. (Q7) Is there a home page? 
  266.  There are at least eight of interest: 
  267.     http://www-4.ibm.com/software/ad/pli 
  268.    IBM's PL/I Home page.  Click on the 
  269.    "about" button for the "What is PL/I" page. 
  270.    Click on the "Library" button for PL/I Reference 
  271.    Manuals for various IBM platforms. 
  272.     http://www-4.ibm.com/software/ad/pli/about.htm 
  273.   What is PL/I ? </A> gives you an overview of PL/I. 
  274.     http://www.liant.com Liant Software Corporation 
  275.   (then click on the LPI button) 
  276.     http://www.dec.com/home.html        Digital 
  277.   (then select OpenVMS ..., or you may find the direct 
  278.    link quicker -> 
  279.     http://www.kednos.com     Kednos 
  280.     http://www.yahoo.com/Computers_and_Internet/Languages/ 
  281.    Yahoo's Language directory </A> 
  282.    Or if you prefer, you can start on 
  283.    http://www.yahoo.com/ 
  284.    Yahoo's main directory and take 
  285.    it from there.  When the Languages display comes up, go beneath the 
  286.    main list, where you'll find PL/I.  Click on that, and then you can 
  287.    go to different sites. 
  288.     http://home.nycap.rr.com/pflass/pli.htm 
  289.    Peter Flass's PL/I home page. 
  290.     http://www.users.bigpond.com/robin_v/why_not.htm 
  291.    Why not use PL/I </A>? 
  292.           Other possible sites are as follows: 
  293.  . 
  294.  Japan:    http://www.ibm.co.jp/pc/prod/sa/0272.html 
  295.  If you know of any other home pages, please advise the author. 
  296. (Q8) Where can I find discussion groups? 
  297.      *  A PL/I newsgroup was established in January 1996 
  298.         following the passing on 3 January 1996 of voting for 
  299.         the newsgroup "comp.lang.pl1" (350 votes for, 18 
  300.         votes against). 
  301.      *    Join PL1-L@listserv.dartmouth.edu on the internet. 
  302.     To subscribe, send a note to listserv@listserv.dartmouth.edu 
  303.     In the body of the note, enter: 
  304.     SUB PL1-L yourname 
  305.     To post a comment, send it to pl1-l@listserv.dartmouth.edu 
  306.      *    On Compuserve, enter: go os2df1 
  307.     Then go to subsection 6: "Rexx and other languages". 
  308.  See also http://www.software.ibm.com/ad/pli/pliforum.htm 
  309.      *  Russian: Discussion of PL/I in Russian takes place on 
  310.         relcom.comp.os.os2.prog 
  311.      *  German: Seems to take place at:    de.comp.sys.amiga.misc 
  312.      *  Or consider attending a SHARE PL/I presentation as either a 
  313.         spectator or presenter.  Postings appear from time to 
  314.         time in comp.lang.pl1 
  315. (Q9) How did PL/I originate? 
  316.      PL/I came into being as a result of an attempt to produce 
  317.      a revision of FORTRAN.  Such were the changes necessary that 
  318.      it was not possible to introduce the new features needed 
  319.      to bring FORTRAN up-to-date, and to be compatible with 
  320.      existing programs, that it was decided to introduce a 
  321.      new language that incorporated the best features of the 
  322.      then main languages FORTRAN, COBOL, and Algol. 
  323.      Originally, the new language was called "New Programming 
  324.      Language", or NPL.  However, as these initials were 
  325.      already taken by the National Physics Laboratory in 
  326.      Britain, the name became PL/I (for Programming Language One). 
  327.      The new language contained features not then seen before in 
  328.      a general-purpose programming language -- including interrupt 
  329.      handling, array operations, list processing, and a macro 
  330.      pre-processor. 
  331.      There is some controvesy over the name -- whether it is PL/I 
  332.      or PL/1.  The first manuals (for the first compiler, the 
  333.      IBM PL/I (F) compiler) called it PL/I, not PL/1. The ANSI 
  334.      standard calls it PL/I.  The title of the first reference 
  335.      manual is: 
  336.      "IBM System 360 PL/I (F) Language Reference Manual", 1966. 
  337. (Q10) What tools are available? 
  338.      Some are: [this question is under construction] 
  339.      PL/I Analyzer is a reverse engineeering and re-engineering tool, 
  340.      available from 
  341.          http://www.phoenixst.com/pli-analyzer-info-sheet-1-5.html 
  342.      Phoenix Software Technologies, 6701 Democracy Blvd, 
  343.      Suite 300, Bethesda MD 20817, U.S.A.       Tel (301) 571-2431 
  344.      email: info@phoenixst.com 
  345.      Version 2.0 is the latest, with Year 2000 diagnosis. 
  346.  Phoenix has also released PLI-2000, a tool for locating 
  347.  Year 2000 problems. 
  348.  Phoenix Software Technologies provides tools and services for Software 
  349.  Maintenance, legacy Software reengineering and the Year 2000 
  350.  (Y2K, Millennium) Problem including PL/I and Natural/Adabas.  
  351.      MicroFocus offers tools to accompany PL/I for OS/2.  For more infomation,
  352.      contact them at Suite 400, 2465 East Bayshore Road, Palo Alto, CA 94303,
  353.      U.S.A. Visit:    http://www.mfltd.co.uk/  
  354.      PLIFORM is a PL/I source code formatter, available from 
  355.      Magicon, Inc.  You'll find them at: 
  356.      1124 Linda Drive, Campbell, California 95008-4507, U.S.A. 
  357.      Peter Osterman's PL/I source code reformatter. 
  358.  The PL/I source code reformatter for Windows (formpli3.exe, 
  359.  414k self extracting file) created by Peter Ostermann of Germany 
  360.  is now freeware. 
  361.  The PL/I source code reformatter at: 
  362.  http://home.nwn.de/peter.ostermann/formpli3.exe 
  363.  can help make jumbled code more readable by putting statements 
  364.  on separate lines and pointing out the nesting levels by indention. 
  365.  The reformatter is a standalone product, is easy to use, and 
  366.  does the job in a few seconds. It requires just one megabyte 
  367.  of disk space, so give it a try. 
  368.  Send suggestions or comments to: Peter-Ostermann@t-online.de 
  369.  Visit:  http://home.nwn.de/Peter.Ostermann/hobby.html 
  370.  for more information and download on Peter's personal web page. 
  371.     This PL/I package from Eberhard Sturm implements the REXX parse macro 
  372.     on the mainframe and the workstation: 
  373.  http://www.uni-muenster.de/ZIV/Mitarbeiter/EberhardSturm/parse.inc 
  374. (Q11) What's happening?  What conferences? 
  375.      Find out <A HREF = "wots-hot.htm"> What's New? 
  376. (Q12) Where can I read about PL/I? 
  377.      The URL http://www.ionet.net/~mclapper/ 
  378.      is a white paper on object-oriented PL/I programming. 
  379.      An interesting article on PL/I appeared in the Enterprise 
  380.      Systems Journal in December 1995.  You can view Lou Marco's 
  381.      "In Praise of PL/I" at: 
  382.      http://www.users.bigpond.com/robin_v/enterp.htm 
  383.      Why not take a look at the paper 
  384.      http://www.uni-muenster.de/ZIV/Mitarbeiter/EberhardSturm/PL1andC.html . 
  385.      Power vs Adventure -- PL/I and C ? 
  386.      Another paper on PL/I and C is Richard Perkinson's "To 'C' or Not to 'C'"
  387.      at http://www.users.bigpond.com/robin_v/perkins.htm 
  388. To order PL/I: 
  389.  IBM PL/I provides compatible, cross-platform,  
  390.  cross-product compilers that support z/OS, OS/390, VM, VSE/ESA,  
  391.  AS/400, AIX, and Microsoft Windows NT and Windows 2000.  
  392.  You can now order - and receive - IBM's PL/I for Windows online!  Check out 
  393.  the Electronic Showcase Delivery (ESD) page at 
  394.       http://ism.boulder.ibm.com/es/ESDPilot/startme.htm 
  395.  There is also a link to this from the PL/I home page. 
  396.  ESD is currently a pilot program and is available in EMEA countries and 
  397.  the US. 
  398.  You can purchase IBM's Personal PL/I compiler (about $110) 
  399.  online and download it in the U.S.A. at 
  400.   http://www.direct.ibm.com/ 
  401.  Select <i>Software</i>, then select <i>Application Development</i>, then 
  402.  select <i>Personal PL/I</i> from the pull-down list. 
  403.  Personal PL/I for Windows is also available online from 
  404.  IBM Australia at 
  405.  http://www.ibm.com.au 
  406.  for $330. 
  407.  Click on:    Ready to Buy 
  408.    Products and Services 
  409.    Application Development 
  410.    PL/I Personal 
  411.  Liant's Open PL/I may be purchased from Liant at: 
  412.  http://www.liant.com/products/pl1 
  413.     You may read this in http://www.users.bigpond.com/robin_v/pli_faq.htm 
  414.  
  415.