Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us