Too many 01 levels?



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Too many 01 levels?

Postby The Mean Farmer » Fri Dec 06, 2013 1:12 am

I have heard in the past that you should code as few 01 levels in a COBOL module as possible as they take up memory even if there isn't a great deal of data underneath them. Is this truth or myth?

I have searched the forum and googled around but can't find a good answer.

I have a module that needs tuning and it has 01 levels for EVERYTHING. Every switch is its own 01 level.
The Mean Farmer
 
Posts: 16
Joined: Fri Nov 05, 2010 12:48 am
Has thanked: 0 time
Been thanked: 0 time

Re: Too many 01 levels?

Postby Akatsukami » Fri Dec 06, 2013 1:19 am

I think this explains why it used to be true, but no longer is.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post