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
 

 

Explain me about subscript & index with practical Exampl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Suresh Antony
Warnings : 1

New User


Joined: 27 May 2005
Posts: 3
Location: Bangalore

PostPosted: Fri May 27, 2005 10:38 am    Post subject: Explain me about subscript & index with practical Exampl
Reply with quote

Hi,

Can anybody please explain me about subscript & index with practical examples, how they differ from each other, which one is advantage

Regards,
Suresh
Back to top
View user's profile Send private message

eashwar

New User


Joined: 21 May 2005
Posts: 26
Location: Bangalore

PostPosted: Fri May 27, 2005 10:58 am    Post subject: Re: Cobol
Reply with quote

obviously, index.........is best
for convenience some time we go for subscript also

index tells the exact displacement from the starting of the array/table
subscript refers to the occurance number so if subscript is refered then it will convert the occarance no. to displacement using the picture clause of each element of the array/table

understand using any ref. manuals also
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 setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Order BY AND Index Nileshkul DB2 2 Sat Dec 31, 2016 6:33 pm
No new posts Several errors during building altern... Andi1982 JCL & VSAM 11 Wed Jul 06, 2016 7:39 pm
No new posts Drop building Alternate Index for a p... bhavin.mehta JCL & VSAM 6 Mon Jul 04, 2016 3:47 pm
No new posts VSAM Alternate Index in CICS jacobdng CICS 2 Fri May 06, 2016 1:41 pm


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