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

redifining an array


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

New User


Joined: 06 Jul 2005
Posts: 4

PostPosted: Wed Jul 06, 2005 9:44 am
Reply with quote

We can redefine any elementary item to an array but can not do the reverse. plzz explain.
Back to top
View user's profile Send private message
jz1b0c

Active User


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

PostPosted: Wed Jul 06, 2005 9:12 pm
Reply with quote

Hi.. in such case you can do like this

01 ws-table
05 ws-array occurs 10 times pic x(10).

01 ws-table1 redefines ws-table pic X(100).

you cannot redefine ws-array because you can't say which occurence you want to redefine...
Back to top
View user's profile Send private message
diksha_s
Warnings : 1

New User


Joined: 06 Jul 2005
Posts: 4

PostPosted: Thu Jul 07, 2005 10:42 am
Reply with quote

i m aware of the the practical reason but not the technical reason about the same. anybody plzz explain.
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 COBOL Ascending and descending sort n... COBOL Programming 5
No new posts To find an array of words (sys-symbol... JCL & VSAM 9
No new posts How to move values from single dimens... COBOL Programming 1
No new posts array indexing PL/I & Assembler 4
No new posts COBOL batch program using large size ... COBOL Programming 3
Search our Forums:

Back to Top