IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Advantage of PL/I over cobol


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mithun123

New User


Joined: 13 Apr 2006
Posts: 11

PostPosted: Fri Apr 27, 2007 1:18 pm
Reply with quote

Hi ,
Can anyone please explain me the advantage of PL/I over cobol.

Thanks and Regards,
Mithun
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Apr 27, 2007 3:25 pm
Reply with quote

Sorry, there isn't any......
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Fri Apr 27, 2007 5:42 pm
Reply with quote

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
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Fri May 11, 2007 12:53 am
Reply with quote

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 icon_wink.gif Still I think PL/I is more powerfull.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri May 11, 2007 3:13 am
Reply with quote

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.... icon_wink.gif
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri May 11, 2007 3:20 am
Reply with quote

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.... icon_wink.gif
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Fri May 11, 2007 11:06 pm
Reply with quote

Done CDC3300 and CDC3500 myself. 32K of memory and a complete steelfactury ran on it icon_wink.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top