Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Can we display index value , if yes then how

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

New User


Joined: 05 Jan 2009
Posts: 38
Location: Pune

PostPosted: Fri Oct 11, 2013 6:04 pm    Post subject: Can we display index value , if yes then how
Reply with quote

Can we display index value , if yes then how
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7312

PostPosted: Fri Oct 11, 2013 6:38 pm    Post subject: Reply to: Can we display index value , if yes then how
Reply with quote

You can't DISPLAY an index directly. You can SET a numeric field to an index, and then DISPLAY the numeric field.
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 38
Location: Pune

PostPosted: Fri Oct 11, 2013 6:45 pm    Post subject:
Reply with quote

Thanks Bill for the information

can you give me one example
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7312

PostPosted: Fri Oct 11, 2013 7:02 pm    Post subject: Reply to: Can we display index value , if yes then how
Reply with quote

Code:
SET numeric-field TO index-name
DISPLAY numeric-field
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 38
Location: Pune

PostPosted: Fri Oct 11, 2013 7:15 pm    Post subject:
Reply with quote

Thank a lot Bill , problem solved :-)
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 Adding FIND to ISPF Panel display of ... Harold Barnes TSO/ISPF 3 Mon Oct 07, 2019 5:46 pm
No new posts Display current IMS region on an On-l... Time2Live IMS DB/DC 1 Fri May 03, 2019 1:59 am
No new posts Display Signed ZD field socker_dad DFSORT/ICETOOL 11 Thu Feb 28, 2019 1:17 am
No new posts Code numeric format to display both '... Time2Live COBOL Programming 7 Wed Nov 21, 2018 10:20 pm
No new posts Query on secondary index Suja.Sai IMS DB/DC 1 Wed Oct 31, 2018 9:47 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us