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

Difference between Index & subscript


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sunitha_babu

New User


Joined: 13 Sep 2005
Posts: 6

PostPosted: Fri Nov 25, 2005 5:11 pm
Reply with quote

Difference between Index & subscript with simple Eg
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Fri Nov 25, 2005 6:01 pm
Reply with quote

Dont say you didnt find any thing after SEARCH....

http://ibmmainframes.com/viewtopic.php?t=6746
http://ibmmainframes.com/viewtopic.php?t=3562
http://ibmmainframes.com/viewtopic.php?t=676

Regards,

Priyesh.
Back to top
View user's profile Send private message
karthik srinivasan

New User


Joined: 07 Oct 2005
Posts: 6
Location: chennai

PostPosted: Fri Nov 25, 2005 6:24 pm
Reply with quote

hi,

Subscript refers to the array occurrence while index is the displacement (in no of bytes) from the beginning of the array. An index can only be modified using PERFORM, SEARCH & SET. Need to have index for a
table in order to use SEARCH, SEARCH ALL.


Hope this helps

Thanks & Regards
Karthik Srinivasan
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Cobol file using index COBOL Programming 2
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts Finding faulty logic Subscript out of... COBOL Programming 5
No new posts DL/I status code AK for GU call using... IMS DB/DC 1
Search our Forums:

Back to Top