tables in cobol



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

tables in cobol

Postby bachijob20 » Thu Nov 04, 2010 6:13 am

table works like a array we can define up to 7 dimentions using occurs clause we can define a array
don't use occurs clause in 01 level below is the syntax for define a array
01 emp-array
  05 emp-values occurs 5 times
       10 emp-name pic x(10).
bachijob20
 
Posts: 2
Joined: Thu Oct 07, 2010 11:57 pm
Has thanked: 0 time
Been thanked: 0 time

Re: tables in cobol

Postby dick scherrer » Thu Nov 04, 2010 7:56 am

Hello and welcome to the forum,

Is there a question here or is this a reply to some other question?

When posting, please use capitalization and punctuation. . .

When posting data that needs to be aligned (screen image, code, jcl, data, etc), use copy/paste and the "Code" tag. Your code has been "Code"d.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: tables in cobol

Postby henryu » Sat Nov 06, 2010 11:47 am

oh,I know!
henryu
 
Posts: 1
Joined: Fri Oct 29, 2010 4:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: tables in cobol

Postby dick scherrer » Sat Nov 06, 2010 9:52 pm

Hello and welcome to the forum,,

Well, suppose it is good that you know. . .

You haven't explained what you know or how your reply relates to the forum :?

Do you actually have a question or some information to share?

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: tables in cobol

Postby kunal3963 » Thu Nov 11, 2010 4:31 pm

Thanx...
kunal3963
 
Posts: 3
Joined: Thu Nov 11, 2010 3:36 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post