MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Level number -77

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
cobcurious
Beginner


Joined: 04 Oct 2003
Posts: 68
Topics: 25

PostPosted: Thu Jul 08, 2004 3:22 am    Post subject: Level number -77 Reply with quote

Hi,
Can any body please tell that why we have level number 77 when 01 level can serve the same purpose as level number 77 ?
Are there any specific reasons we use level no 77 ?
Thanks and Regards
Cobcurious
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Thu Jul 08, 2004 5:20 am    Post subject: Reply with quote

Cobcurious,

Check this link for a detailed description of special-level numbers

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR10/5.1.6.3?SHELF=&DT=20020920180651&CASE=

Check this link for a detailed description of level numbers

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR10/5.3.4?DT=20020920180651

Hope this helps...

Cheers

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gkreth
Beginner


Joined: 28 May 2004
Posts: 29
Topics: 10

PostPosted: Thu Jul 08, 2004 9:59 am    Post subject: Reply with quote

Our shop discourages (disallows, even, except for some old grandfathered code) the use of 77 levels, We are supposed to use Level 01s instead. Level 77 is apparently an "older" to describe independent elementary items in the Working-Storage or Linkage Sections. I think at one time Level 01 could only be used for group items.

Also, level 77 items cannot be subdivided any further.

I think part of the "no 77" philosophy is that it's better to collect individual items into groups instead of declaring large numbers of indistinguishable 77 fields. I'm not saying I agree 100% with this - sometimes fields truly have no relationship to other fields. But it's no big deal to me either way.

At our shop we usually have a Level 01 WS-MISC-FIELDS group and put our unrelated fields there.

HTH,

--Greg


--Greg
Back to top
View user's profile Send private message
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Fri Jul 09, 2004 9:03 am    Post subject: Reply with quote

As I recall, 01 levels, in days of yore, took a "locator" register (I think that was the term - BLLs are one type), whereas 77 levels either didn't use them at all or many 77 data items could be grouped under one register. Apparently these registers were in short supply at that time.

As technology advanced this restriction was eased or eliminated and 77 levels lost their raison d'etre. They're tolerated today for their backward compatibility.

Has anyone else heard or remember anything like this?

Regards, Jack.
Back to top
View user's profile Send private message
cobcurious
Beginner


Joined: 04 Oct 2003
Posts: 68
Topics: 25

PostPosted: Wed Jul 14, 2004 7:06 am    Post subject: Reply with quote

Hi all,
Thanks a lot for your replies.
Regards
Cobcurious
Back to top
View user's profile Send private message
neilxt
Beginner


Joined: 01 Mar 2004
Posts: 23
Topics: 1

PostPosted: Tue Sep 19, 2006 4:09 pm    Post subject: Re: Level number -77 Reply with quote

cobcurious wrote:
Hi,
Can any body please tell that why we have level number 77 when 01 level can serve the same purpose as level number 77 ?
Are there any specific reasons we use level no 77 ?
Thanks and Regards
Cobcurious


In addition to what's been stated above, 01 levels are always located on a full word boundary. 77 levels merely take the next (however many) bytes of storage.

That few bytes hardly matters any more and you might generate inefficiencies if many binary fields are not on a word boundary.

Personally I like the visual separation of having truly independent fields marked with a 77.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group