Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Advantage of PL/I over cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: Advantage of PL/I over cobol
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: 3158
Location: Tucson AZ

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

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

Active Member


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

PostPosted: Fri Apr 27, 2007 5:42 pm    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri May 11, 2007 12:53 am    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Fri May 11, 2007 3:13 am    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Fri May 11, 2007 3:20 am    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri May 11, 2007 11:06 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us