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

significance of spl levels


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhijeet3162002

New User


Joined: 05 Jul 2004
Posts: 6
Location: mumbai

PostPosted: Tue Aug 17, 2004 1:08 pm
Reply with quote

Hello Cobol users,
I hav one query...
While declaring level numbers in working storage section what is the significance of 66,77,88 levels
i searched most of d tutorials but found nothing spl...
waiting for ur valuable reply
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Tue Aug 17, 2004 1:29 pm
Reply with quote

hi abhijeet,

Significance of level numbers 66,77,88.

I think this is the basic thing right!!

66---used for renames clause
77--- for defining individual items
88---for condition variables.

Still I am in doubt whether i answered you or not.

Thanks,
Anu
Back to top
View user's profile Send private message
abhijeet3162002

New User


Joined: 05 Jul 2004
Posts: 6
Location: mumbai

PostPosted: Wed Aug 18, 2004 8:10 pm
Reply with quote

Thanks for your valuable reply Anuradha.

Actually I started learning cobol a week ago.

I got the significance of 77 & 88 levels but i m still confused about level 66

I gone thru many source codes available at my place but it was very rarely used.

Can you tell me what is exactly renaming the clause.

Thanks once again
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Wed Aug 18, 2004 10:06 pm
Reply with quote

Abhijeet,

check out the following link:

www.cis.scu.edu.tw/oproom/doc/acucobol/docs/comprun/gt400426.htm

Hope this helps.

Thanks,
Anu
Back to top
View user's profile Send private message
jyothi_priya

New User


Joined: 09 Jan 2004
Posts: 10

PostPosted: Fri Sep 10, 2004 2:21 pm
Reply with quote

Try the following link...

publib.boulder.ibm.com/infocenter/comphelp/index.jsp?topic=/com.ibm.aix.cbl.doc/rldderen.htm


Thanks & Regards,
Priya
Back to top
View user's profile Send private message
PKumar

New User


Joined: 28 Sep 2004
Posts: 8

PostPosted: Wed Sep 29, 2004 12:30 pm
Reply with quote

abhijeet3162002 wrote:
Hello Cobol users,
I hav one query...
While declaring level numbers in working storage section what is the significance of 66,77,88 levels
i searched most of d tutorials but found nothing spl...
waiting for ur valuable reply

Hi Abhi as per ur question regarding 66 it is used for Renameing the existing groups , ie rearraging the existing groups with new name but without alloting extra memory , i hope u can understand, u can think it as one of memory management future of Cobol.
With love
Pkumar
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Mon Nov 15, 2004 11:45 pm
Reply with quote

[quote="PKumar"]
abhijeet3162002 wrote:
Hello Cobol users,
I hav one query...
While declaring level numbers in working storage section what is the significance of 66,77,88 levels
i searched most of d tutorials but found nothing spl...
waiting for ur valuable reply



Great Day!

Apart from what is mentioned above, there exists a level 49 in cobol
this is used for varchar type DB2 columns

see below example.


************************************************************
* COBOL DECLARATION FOR TABLE DEMO.ITEMS
************************************************************
01 DCLITEMS.
10 ITEMS-ORD-NO PIC S9(09) COMP.
10 ITEMS-ITEM-NO PIC S9(04) COMP.
10 ITEMS-PROD-ID PIC X(4).
10 ITEMS-QTY-ORDERED PIC S9(04) COMP.
10 ITEMS-QTY-SHIPPED PIC S9(04) COMP.
10 ITEMS-AMT-EACH PIC S9(05)v9(02) COMP-3.
10 ITEMS-DATE-ENTERED PIC X(26).
10 ITEMS-DATE-SHIPPED PIC X(10).
10 ITEMS-ITEM-NOTES.
49 ITEMS-ITEM-NOTES-LEN PIC S9(04) COMP.
49 ITEMS-ITEM-NOTES-TEXT PIC X(560).
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts what is the significance of REPLACE=N... JCL & VSAM 6
No new posts Significance of APOST and XREF in PARM JCL & VSAM 2
No new posts Easytrieve provides how many levels o... Mainframe Interview Questions 11
No new posts Significance of COBOL PROGRAM-ID COBOL Programming 3
No new posts Mutiple 01 levels in copybook COBOL Programming 3
Search our Forums:

Back to Top