Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Which is more efficient - 77 level or 01 level?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
MidasTouch

New User


Joined: 16 May 2005
Posts: 10
Location: The 'SYSTEM'

PostPosted: Sun Jun 05, 2005 9:26 am    Post subject: Which is more efficient - 77 level or 01 level?
Reply with quote

Which is the more efficient one - a 77 level declaration or 01 level.

Regards,
Back to top
View user's profile Send private message

manesh

New User


Joined: 18 May 2003
Posts: 7
Location: Bangalore

PostPosted: Sun Jun 05, 2005 4:07 pm    Post subject:
Reply with quote

01 Level.
Back to top
View user's profile Send private message
MidasTouch

New User


Joined: 16 May 2005
Posts: 10
Location: The 'SYSTEM'

PostPosted: Sun Jun 05, 2005 4:29 pm    Post subject: Re: Which is more efficient - 77 level or 01 level?
Reply with quote

Thanks for the reply Manesh.
But I had forgotten to ask the other half of the question...WHY??

Regards,
Back to top
View user's profile Send private message
eashwar

New User


Joined: 21 May 2005
Posts: 26
Location: Bangalore

PostPosted: Sun Jun 05, 2005 6:26 pm    Post subject: Re: Which is more efficient - 77 level or 01 level?
Reply with quote

01 level is efficient to declare records/groups and do any thing for records
77 level is efficient to declare variables and constants
so i think both are equally efficient depending on their particular use

since 01 level will occupy 32 k of memory if you declare that level and store a record contiguously into it and if you declare a 77 level it will occupy memory in terms of words and so the memory is saved and its a perfomance issueee........
Back to top
View user's profile Send private message
senthilkumar selvaraju

New User


Joined: 30 May 2005
Posts: 16

PostPosted: Mon Jun 06, 2005 11:28 am    Post subject:
Reply with quote

hi easwar,

Your answer is very nice. for memory saving 77 level is best . But for future enchancement , if you want ot add some more fields, that time you need seperate declaration and initalization process. It will take some more memory. So as of my knowledge 01 level is best. 77 level is best suitable for subscript decalaration.
Back to top
View user's profile Send private message
santhi123

New User


Joined: 06 Jun 2005
Posts: 1

PostPosted: Mon Jun 06, 2005 4:21 pm    Post subject: why is 01 level better than 77 level
Reply with quote

[quote="manesh"]01 Level.[/quote]
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Efficient sorting chandracdac DFSORT/ICETOOL 5 Sat Oct 22, 2016 3:23 am
No new posts Syncsort TPF Level Majid Hussain SYNCSORT 2 Wed Apr 13, 2016 2:22 am
No new posts Which is more efficient? pshongal DB2 6 Wed Mar 16, 2016 2:55 pm
No new posts Need a logic to validate the data in ... sandeep kumar302 COBOL Programming 17 Mon Feb 01, 2016 3:30 pm
No new posts DB2 10.1 Share level locking and Sele... Mary Lewis DB2 1 Wed Apr 15, 2015 9:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us