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

Why we use level number 77 instead of 01


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
suresh_gop1
Warnings : 1

New User


Joined: 23 May 2006
Posts: 18

PostPosted: Wed May 16, 2007 4:24 pm
Reply with quote

Hi,

Why we are using level number 77 instead of 01. what is the difference between them
Back to top
View user's profile Send private message
rizwanriwa

New User


Joined: 15 May 2007
Posts: 2
Location: banglore

PostPosted: Wed May 16, 2007 4:38 pm
Reply with quote

if are not going to use the variable then we declare it in 77 level instead of 01.
Back to top
View user's profile Send private message
ashwinreddy

Active User


Joined: 16 Sep 2004
Posts: 106
Location: Hyderabad

PostPosted: Wed May 16, 2007 4:54 pm
Reply with quote

Hi,


Level 77 can be used to describe independent elementary items in the Working-Storage or Linkage Sections.

Level 01 can be used to describe both elementary and group items. Any item described in Level 01, the system is putting on Double-Word boundary and inserts slack bytes if necessary.


Hope this helps.

Cheers
Ashwin
Back to top
View user's profile Send private message
ashwinreddy

Active User


Joined: 16 Sep 2004
Posts: 106
Location: Hyderabad

PostPosted: Wed May 16, 2007 4:59 pm
Reply with quote

Hi,


Check out for more information.

www.csis.ul.ie/COBOL/Course/DataDeclaration.htm

Cheers
Ashwin
Back to top
View user's profile Send private message
Bharti P Manglani

New User


Joined: 13 Mar 2007
Posts: 16
Location: Pune

PostPosted: Wed May 16, 2007 5:10 pm
Reply with quote

Level number 77 is used only to declare independent elements.

Whereas in the case of Level number 1, it can be used as an independent element or a group item.

Generally if the independent element is to be declared we use Level number 77.
Back to top
View user's profile Send private message
pcoreddy

New User


Joined: 14 Mar 2007
Posts: 24
Location: Mysore

PostPosted: Wed May 16, 2007 5:29 pm
Reply with quote

77 level number used for elementary item
01 you can useed for both group and elementary
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts How to load to DB2 with column level ... DB2 6
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
Search our Forums:

Back to Top