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
 

 

significance of spl levels

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: significance of spl levels
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    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

Abhijeet,

check out the following link:

http://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    Post subject:
Reply with quote

Try the following link...

http://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    Post subject: Re: significance of spl levels
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    Post subject: Re: significance of spl levels
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    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 what is the significance of REPLACE=N... Bill Woodger JCL & VSAM 6 Thu Feb 07, 2013 1:10 pm
No new posts Significance of APOST and XREF in PARM Kalyan Chakravarthi JCL & VSAM 2 Fri Jan 18, 2013 5:06 pm
No new posts Easytrieve provides how many levels o... enrico-sorichetti Mainframe Interview Questions 11 Wed Feb 29, 2012 12:49 pm
No new posts Significance of COBOL PROGRAM-ID kumar32149 COBOL Programming 3 Sat Apr 30, 2011 10:44 pm
No new posts Mutiple 01 levels in copybook cvishu COBOL Programming 3 Mon Oct 11, 2010 2:44 pm


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