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

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


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Thu Sep 22, 2005 4:19 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to load to DB2 with column level ... DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts JPM Reports for each DB2 V12 Function... DB2 0
No new posts Program level statistics CICS 6
No new posts Feild level validation to test first ... JCL & VSAM 10
Search our Forums:

Back to Top