PL/I Frequently Asked Questions (FAQ)

This is a discussion on PL/I Frequently Asked Questions (FAQ) within the pl1 forums in Programming Languages category; Archive-name: computer-lang/pli-faq Last-Modified: 11 December 2007 Version: 1.45 FREQUENTLY-ASKED QUESTIONS & ANSWERS .. (Q1) What is PL/I? .. PL/I is a general-purpose programming language, which is used for solving problems in a variety of fields such as commerce, science (including mathematics, physics, chemistry), engineering (including civil, electrical, aeronautics), medicine, and so on. It can be used for system programming, and the facilitites are such that it is rarely if ever necessary to resort to machine-language or assembly-language programming to solve problems. .. PL/I can be used for commercial data processing, numerical methods, text processing, list processing, system programming, real-time system ...

Go Back   Application Development Forum > Programming Languages > pl1

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-07-2008, 12:23 AM
Robin Vowels
Guest
 
Default PL/I Frequently Asked Questions (FAQ)

Archive-name: computer-lang/pli-faq
Last-Modified: 11 December 2007
Version: 1.45

FREQUENTLY-ASKED QUESTIONS & ANSWERS
..
(Q1) What is PL/I?
..
PL/I is a general-purpose programming language, which
is used for solving problems in a variety of fields
such as commerce, science (including mathematics,
physics, chemistry), engineering (including civil, electrical,
aeronautics), medicine, and so on. It can be used for
system programming, and the facilitites are such that
it is rarely if ever necessary to resort to machine-language
or assembly-language programming to solve problems.
..
PL/I can be used for commercial data processing, numerical methods,
text processing, list processing, system programming,
real-time system programming, and picture file processing,
to mention a few specific applications.
..
PL/I has outstanding facilities for commercial and business use.
..
It has more power than Pascal, Fortran 95, BASIC, C, and
COBOL, and has comparable facilities to Ada.
The main areas where PL/I is superior include interrupt
handling, the built-in debugging aids, the macro
processor facilities, string-handling, and input-output
(see below for a link to a summary).
..
The language has good documenting and self-documenting
facilities; programs are easy to read and to understand.
It bears some resemblance to Fortran and BASIC.
..
The language is suitable for beginners, as well as for
anyone wanting to become a professional.
For anyone writing programs, a PL/I compiler is a "must have".
..
There's a summary of what you'll find in PL/I at:
..
http://www.users.bigpond.com/robin_v/pliwhat.htm
..
(Q2) On what systems is it available?
..
PL/I is available on at least the following systems:
..
IBM PC and compatibles (80x86).
..
* IBM PL/I for z/OS and Windows.
..
It is called "Rational Developer for System z"
(formerly called Websphere PL/I and Enterprise PL/I
and VisualAge PL/I).
..
http://www-306.ibm.com/software/awdtools/rdz/
..
* IBM VisualAge PL/I: is available in 2 versions:
Professional Edition } Details at the bottom of this
Personal Edition } posting.
accompanied by the
live editor LPEX
---available from IBM
..
* Liant Open PL/I, for Intel running Windows XP, 2000, Me/98.
Comes with Codewatch, Liant's powerful GUI source code debugger.
---available from Liant Software Corporation,
8911 N Capital of Texas Hwy 354 Waverley Street
Austin, Texas 78759-7267 Framingham, MA 01702
USA USA
Toll free: 1-800-349-9222
Tel: (512) 343-1010 (508) 416-1614 Direct
Fax: (512) 343-9487 or
Tel: (800) 818-4754 X1614 (USA Only)
Fax: (508) 278-3841
(their PL/I generally is available on Unix-based systems)
See http://www.liant.com/products/pl1
for a full range of PL/I products.
..
* Windows -- available from IBM as
"Rational Developer for System z",
with the live parsing editor LPEX.
..
http://www-306.ibm.com/software/awdtools/rdz/
..
* Liant Open PL/I for Redhat Linux (Intel).
..
* Solaris ix (Intel)
..
IBM AS/400
--- available from IBM.
..
IBM mainframes
--- The followng versions are available from IBM:
IBM Enterprise PL/I for z/OS and OS/390
provides access to DB2, CICS, IMS, and other data and
transactions systems.
..
* VisualAge PL/I for OS/390
..
* PL/I for MVS & VM
..
* PL/I for VSE
..
* PL/I for VSE/ESA is for MVS & VM
..
* IBM OS/390 (IBM z/OS) available as Enterprise PL/I.
..
* The current [2007] PL/I for Windows and z/OS is called "Rational Developer
for System z" . This is the follow-on product to WDz and WSED.
For information on this release/product, see:
..
http://www-306.ibm.com/software/awdtools/rdz/
..
HP 9000 HP-UX
--- available from Liant Software Corporation.
Comes with Codewatch, Liant's powerful GUI source code
debugger.
..
UNIX.
Older versions of Liant Open PL/I exist for Unix variants,
sold off-the-shelf with limited support. Users can
inquire at http://www.liant.com
..
SPARC Solaris 2.x
--- available from Liant Software Corporation.
Comes with Codewatch, Liant's powerful GUI source code
debugger.
..
IBM RS/6000 AIX
--- available from Liant Software Corporation (address above);
Comes with Codewatch, Liant's powerful GUI source
code debugger.
--- also available from IBM as Enterprise PL/I.
..
Data General AViiON with DG-UX
--- available from Liant Software Corporation
Comes with Codewatch, Liant's powerful GUI source
code debugger.
..
HP (formerly Compaq and before that Digital Equipment Corporation) on
OpenVMS and Alpha AXP systems (Tru64 Unix)
---The compilers from Kednos Corporation for these systems
are called "PL/I for OpenVMS" and "PL/I for Tru64 Unix"
respectively. They took over support for PL/I from
UniPrise.
..
Take a look at Kednos' web page: http://www.kednos.com
for manuals and compilers.
For infomation, contact tom@kednos.com
..
Stratus Technologies under Stratus VOS operating system.
--- available from Stratus Technologies,
111 Powder Mill Road,
Maynard, Massachusetts 01754.
..
Wang/Getronics systems. Recent updates make the compiler Y2K compliant.
--- available from Wang Laboratories, Billerica, Mass.
..
Fujitsu-Siemens BS2000 system.
--- visit them at:
http://www.fujitsu-siemens.com/servers/pl1/pl1_us.htm
where you can download a specification brochure in PDF
format.
..
(Q3) How can I try out PL/I?
..
There's the original Digital Research PL/I for DOS at:
..
http://www.users.zetnet.co.uk/barnes_firsnorton/files
..
Make sure you get the PL/I library and all the other stuff.
DR PL/I is a subset of PL/I, of course, because it had to fit
in 64K originally (I think).
..
Other sites also had it, but may no longer be active:
http://www.wolfenet.com/~nalcott/">Discus Distribution.
And
http://www.mathcs.emory.edu/~cfs/cpm
..
It's a subset of PL/I, of course, because it had to fit
in 64K originally (I think). There's the original manual too,
in MS Word 6 format, but as it's been scanned, it is incomplete.
The corresponding PL/I Reference Manual is in Microsoft Word 6
format, zipped at:
..
http://www.users.bigpond.com/robin_v/ref-w6.zip
..
If that mirror site is down, you could try to link to the main site
at:
..
http://cdl.uta.edu/cpm/cpm.html
..
but as there have been problems connecting to it, don't count on it.
..
Find the PCDOS section, and then check out DOWNLOADS.
..
Be sure to download the utilities (including the linker)
as well as the compiler and sample codes.
..
You'll also need the compiler flags to use it, at:
..
http://www.users.bigpond.com/robin_v/options.txt
..
If you want the CP/M-86 PL/I compiler:
http://public.planet.mirror.com/pubs/cpm/binary.htm
..
A 60-day trial version of VisualAge PL/I is available on the
IBM site.
..
On the VMS platform, either VAX or Alpha --
For personal use, the Kednos PL/I compiler
and documentation may be downloaded free from http://www.kednos.com .
To run the free version, you will need a
Hobbyist license, which may be obtained by following the links
at http://www.kednos.com .
If you don't have VMS, you can run the CHARON VAX emulator on W2K.
..
Here's another suggestion from From: "Tom Linden" <tom@kednos.com>,
Kednos Date: Sat, 08 Oct 2005 08:17:57.
..
Purchase either PWS xxx (where xxx = 433, 500 or 600)
or XP1000 Alpha box, you can probably get one for $200 to $600
off ebay, install Hobbyist version of VMS and Hobbyist version
of PL/I, both free and you will have a far superior environment.
You will never see a BSOD and you will never get hacked.
Install WASD web server, also free, you will have a hack-proof
high performance web server.
There is also a lot more freeware available.
..
(Q4) What do the compilers provide?</H3>
..
All compilers provide enhanced versions of the ANSI standard
(the IBM AS/400 adheres to SAA rules, and DR PL/I implements
the subset G). There's a
summary of what you'll find in PL/I at:
..
http://www.users.bigpond.com/robin_v/pliwhat.htm
..
Example PL/I source code, to implement the new built-in functions
(on systems other than OS/2, VisualAge for Windows, AIX systems
and Rational Developer for System z [formerly Enterprise PL/I for
z/OS], and earlier systems) for:
..
The SEARCH built-in function:
..
http://www.users.bigpond.com/robin_v/search.htm
..
The SEARCHR built-in function at:
..
http://www.users.bigpond.com/robin_v/searchr.htm
..
and the VERIFY (3 argument version) and VERIFYR built-in functions at:
..
http://www.users.bigpond.com/robin_v/verify.htm
..
(these are in plain text form).
..
Further PL/I examples of a tutorial nature are at
..
http://www.users.bigpond.com/robin_v/shell.htm
..
(an insertion sort), and a
..
http://www.users.bigpond.com/robin_v/lists.htm
..
(a linked list creation procedure (under construction)).
..
In each case, click on the keywords for an explanation.
..
The IBM products deserve special attention because
the same PL/I features are available on z/OS, Windows, and AIX.
(they are the OS/2 compiler ported to these other systems).
..
In the cases of IBM Rational Developer for System z (formerly
Enterprise PL/I for z/OS),
PL/I set for AIX, VisualAge PL/I for Windows,
and VisualAge PL/I for OS/2,
some important new language features are
provided and include:
..
(a) strongly-typed list processing in which the pointers
(handles) are bound to the structures with which they
are linked;
(b) ordinals;
(c) user-defined types;
(d) Unsigned integer type;
(e) New DO loop options that cause the loop to
terminate without overrunning the limit (specifically
for ordinals and unsigned integers); and
(f) A much-enhanced macro-processor.
(g) A data type DATE for handling two-digit and
four-digit years that,
together with new date functions, are
known as the Millennium Language Extensions.
(h) Initial support for wide character set, enabling such files to be
read and written. A number of new built-in functions for
wide characters is provided.
..
(this is not an exhaustive list)
There are also some 120 new built-in functions, including
extra-special DATE/TIME functions, string-handling
functions, housekeeping functions (e.g.,
where-am-I-called-from?), and ordinal functions
(including a function to supply the name of an ordinal!).
..
It should also be noted that the compilers support long strings and
64-bit integers.
..
(Q5) What textbooks are available?
..
Some of the best include:
..
R.A. Barnes, PL/I for Programmers, North-Holland, 1979.
J.K. Hughes, PL/I Structured Programming, 3rd Ed., Wiley, 1986.
G.F. Groner, PL/I Programming in Technological Applications,
Books on Demand, Ann Arbor, MI, 1971.
M.E. Anderson, PL/I for Programmers, Prentice-Hall, 1973.
D.R. Stoutemyer, PL/I Programming for Engineering & Science,
Prentice-Hall, 1971.
R. Reddy & C. Ziegler, PL/I: Structured Programming and
Problem Solving, West, 1986, ISBN 0-314-93915-6.
Check out the Table of Contents:
http://www.users.bigpond.com/robin_v/reddy.txt
E. J. Newhold & H. W.Lawson, The PL/I Machine, Addison-Wesley,
Reading (Mass), 1971.
E. Sturm, Das neue PL/I (fur PC, Workstations and Mainframe
(in German language), 6th Ed.,
Vieweg-Verlag (2007)
ISBN: 3-528-44792-9.
See the table of contents at:
http://www.uni-muenster.de/ZIV/Mitar...hardSturm.html
..
R. A. Vowels, http://www.users.bigpond.com/robin_v/PLI-BOOK.HTM
Introduction to PL/I, Algorithms, and
Structured Programming, 3rd revised Ed.,
ISBN 0-9596384-9-0. 600+ pages, A4 size.
See a list of the main algorithms at:
http://www.users.bigpond.com/robin_v/algor-p.htm
Comes with a disc containing all the programs,
procedures, and functions from the book. The
disc was first published in October 1996, and
was last updated in January 2005.
..
The following are good PL/I reference manuals. (The
new facilities of PL/I for OS/2 are highlighted. Therefore
you can use these manuals as references on either mainframe or
PC system.)
..
IBM, PL/I for OS/2: Language Reference, 1994 edition
IBM, PL/I for OS/2: Built-in Functions, 1994 edition
IBM, VisualAge PL/I Language Reference, Version 2.1, 1998 edition.
..
(Q6) Is there a newsletter?
..
Yes.
The January 2005 issue of "The PL/I Newsletter" may be viewed at:
http://www.users.bigpond.com/robin_v/pli-n8.htm
The December 2003 issue of "The PL/I Newsletter" may be viewed at:
http://www.users.bigpond.com/robin_v/pli-n7.htm
The December 2002 issue of "The PL/I Newsletter" may be viewed at:
http://www.users.bigpond.com/robin_v/pli-n6.htm
The August 2002 issue of "The PL/I Newsletter" may be viewed at:
http://www.users.bigpond.com/robin_v/pli-n5.htm
The November 2001 issue of "The PL/I Newsletter" may be viewed at:
http://www.users.bigpond.com/robin_v/pli-n4.htm
The June 2001 issue of "The PL/I Newsletter" may be viewed at:
http://www.users.bigpond.com/robin_v/pli-n3.htm
The September 2000 issue of "The PL/I Newsletter" may be viewed at:
http://www.users.bigpond.com/robin_v/pli-n2.htm
You may download the July 2000 issue from:
http://www.users.bigpond.com/robin_v/pli-n1.doc
..
(Q7) Is there a home page?
..
There are at least eight of interest:
http://www-4.ibm.com/software/ad/pli
IBM's PL/I Home page. Click on the
"about" button for the "What is PL/I" page.
Click on the "Library" button for PL/I Reference
Manuals for various IBM platforms.
..
http://www-4.ibm.com/software/ad/pli/about.htm
..
What is PL/I ? </A> gives you an overview of PL/I.
..
http://www.liant.com Liant Software Corporation
..
(then click on the LPI button)
..
http://hp.com/go/vms Digital
(then select OpenVMS ..., or you may find the direct
link quicker ->
..
http://www.kednos.com Kednos
..
http://www.yahoo.com/Computers_and_Internet/Languages/
Yahoo's Language directory </A>
Or if you prefer, you can start on
http://www.yahoo.com/
Yahoo's main directory and take
it from there. When the Languages display comes up, go beneath the
main list, where you'll find PL/I. Click on that, and then you can
go to different sites.
..
http://home.nycap.rr.com/pflass/pli.htm
Peter Flass's PL/I home page.
..
http://www.users.bigpond.com/robin_v/why_not.htm
Why not use PL/I </A>?
..
Other possible sites are as follows:
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:20 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.