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
 

 

Can't we use 77 Level in File section

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

New User


Joined: 16 Nov 2006
Posts: 43
Location: Bangalore

PostPosted: Thu Mar 22, 2007 12:08 pm    Post subject: Can't we use 77 Level in File section
Reply with quote

Can't we use 77 Level in File section ?


clarify me pls
Back to top
View user's profile Send private message

earsha

New User


Joined: 16 Mar 2007
Posts: 17
Location: Pune

PostPosted: Thu Mar 22, 2007 1:08 pm    Post subject:
Reply with quote

Level 77 can be used to describe independent elementary items in the Working-Storage or Linkage Sections.
Back to top
View user's profile Send private message
venosol
Warnings : 1

New User


Joined: 16 Nov 2006
Posts: 43
Location: Bangalore

PostPosted: Thu Mar 22, 2007 1:14 pm    Post subject:
Reply with quote

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


thnx
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Thu Mar 22, 2007 2:25 pm    Post subject: Re: 77 Level number
Reply with quote

Hi Venosol,

Can I get an example or instance where u face this problem?
Back to top
View user's profile Send private message
venosol
Warnings : 1

New User


Joined: 16 Nov 2006
Posts: 43
Location: Bangalore

PostPosted: Thu Mar 22, 2007 3:12 pm    Post subject: Re: 77 Level number
Reply with quote

mkk157 wrote:
Hi Venosol,

Can I get an example or instance where u face this problem?


FILE-SECTION.

01 WS-DEPT.
07 WS-NAME PIC x(10).
07 WS-ID PIC 9(4).
WORKING-STORAGE SECTION.
01 WS-GROSS-SALARY.
07 WS-BASIC PIC 9(5).
07 WS-TAX PIC 9(4).
07 WS-ALLOWANCES PIC 9(4).
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Thu Mar 22, 2007 4:06 pm    Post subject: Re: Can't we use 77 Level in File section
Reply with quote

Hi Venosol,

In the above example, U Use only 07. Then what about 77 Level number.
Back to top
View user's profile Send private message
venosol
Warnings : 1

New User


Joined: 16 Nov 2006
Posts: 43
Location: Bangalore

PostPosted: Thu Mar 22, 2007 5:26 pm    Post subject: Re: Can't we use 77 Level in File section
Reply with quote

mkk157 wrote:
Hi Venosol,

In the above example, U Use only 07. Then what about 77 Level number.


I am sorry that is 77 only not 07.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Mar 22, 2007 5:34 pm    Post subject:
Reply with quote

Venu,


Quote:
that is 77 only not 07.

Do you think its possible to code level 77 under any other level? Brush your basics.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Mar 22, 2007 10:41 pm    Post subject:
Reply with quote

Hello,

Inside any COBOL level-01 (files, working-storage, linkage) the lower levels may be 02 thru 49.

77 is a special level that can never be used under a level-01.
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us