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
 

 

redifining an array

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: redifining an array
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    Post subject:
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    Post subject: explaination of the query
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    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 Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts Unstring list of values into an array. Roshnii COBOL Programming 8 Mon Jun 27, 2016 6:25 pm
No new posts COBOL Program to Read Array data raj4neo COBOL Programming 8 Sat Aug 15, 2015 12:28 am
No new posts Checking for High-Values in an array amitc23 COBOL Programming 10 Wed Aug 05, 2015 4:09 pm
No new posts How to define and use Double dimensio... pkmurali DB2 3 Mon Jun 22, 2015 8:36 am


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