View previous topic :: View next topic
|
Author |
Message |
mithun123
New User
Joined: 13 Apr 2006 Posts: 11
|
|
|
|
Hi ,
Can anyone please explain me the advantage of PL/I over cobol.
Thanks and Regards,
Mithun |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Sorry, there isn't any...... |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
There are several additional PL/I features; here are just a few:
1. Dynamically allocated arrays (COBOL's DEPENDING ON is not a case of dynamic alloc; you still need a fixed upper bound)
2. Variable length character strings with a natural concatenation operator
3. Block structure constructs
4. GET DATA and PUT DATA, which let you associate variable names with values on input and output, very nice for free-form input and self-identifying output; input data could be, e.g.:
INT=0.07, PRINC=1234.56, YEARS=10
5. Type declarations for subroutine/function parms[/u] |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
William Thompson wrote: |
Sorry, there isn't any...... |
PL/I is a combination of COBOL oriented and FORTRAN. COBOL was my native language. After I learned a lot about PL/I in the seventies I decided to chanche from COBOL to PL/I though nowadays COBOL is creeping towards PL/I; but still slowly Still I think PL/I is more powerfull. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Sorry, just putting on my normal "I don't understand it" bigot face....Done CDC assembler, FORTRAN, 1130 Assembler, COBOL(s), IBM Assembler, RPG (yech!) and such, I know that each language has its powers and its weaknesses.....
I just couldn't resist.... |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Sorry, just being my normal "I don't understand it" bigot....Done CDC assembler, Fortran, 1130 Assembler, COBOL(s), IBM Assembler, RPG (yech!) and such, I know that each language has its powers and its weaknesses's.....
I just couldn't resiest.... |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Done CDC3300 and CDC3500 myself. 32K of memory and a complete steelfactury ran on it |
|
Back to top |
|
|
|