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
 

 

0ut of 01,77 level no which is efficient and WHY???/

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

New User


Joined: 29 Jul 2005
Posts: 23

PostPosted: Thu Sep 22, 2005 2:32 pm    Post subject: 0ut of 01,77 level no which is efficient and WHY???/
Reply with quote

In levelnumbers 01.77 ....... which is efficient and why?

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

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Sep 22, 2005 4:19 pm    Post subject: Re: 0ut of 01,77 level no which is efficient and WHY???/
Reply with quote

Check the link below....

http://ibmmainframes.com/viewtopic.php?t=4043

Regards,

Priyesh.
Back to top
View user's profile Send private message
Athanga

New User


Joined: 29 Sep 2005
Posts: 9

PostPosted: Fri Sep 30, 2005 10:03 pm    Post subject: Re: 0ut of 01,77 level no which is efficient and WHY???/
Reply with quote

hi ravi,

I think 77 should be effective....reasons are below....

77 level numbers are used only for elementary items.
01's are used for both elementary and group ....

when the program is compiled the compiler will look for the level numbers of each variable,if it is a 01 level ,the compiler will further have a search for other sub variables,here the time consuptions for execution will be more..if the same variable is defined with 77 level it will not search for the sub variables..


But,normally no companies prefer 77,if so they need more code change in future ...

I hope i am not wrong..
Back to top
View user's profile Send private message
leo_sangha

New User


Joined: 11 Aug 2005
Posts: 85
Location: England

PostPosted: Mon Oct 03, 2005 5:49 pm    Post subject: Re: 0ut of 01,77 level no which is efficient and WHY???/
Reply with quote

ravikumarreddy wrote:
In levelnumbers 01.77 ....... which is efficient and why?

regards,
ravi


Hi Ravi,

It is NOT a question of which one is efficient.
As "Athanga" has also mentioned that 77 level is used only for elementary level item numbers & 01 level can have sub levels also.

On the contrary i dont agree to the quote that
"System will automatically look for subvariables if 01 level is used".

I think if you compare the performance of 01 level and 77 level variables used as elementary items both will have the same impact & will utilize same CPU time.

Any suggestions are welcome.

Thanks
leo_sangha@yahoo.com
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