Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
questions in search all.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
selvam

New User


Joined: 06 Aug 2003
Posts: 2
Location: West CIT Nagar,

PostPosted: Tue Sep 02, 2003 5:05 pm    Post subject: questions in search all.
Reply with quote

hi all,

is it possible, we can do search all in subscripted array.
if it is possible means how we sort the subscripted table/array.

thanks in advance.
selvam
Back to top
View user's profile Send private message
References
PostPosted: Tue Sep 02, 2003 5:05 pm    Post subject: Re: questions in search all. Reply with quote

mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 257
Location: USA

PostPosted: Tue Sep 02, 2003 5:46 pm    Post subject:
Reply with quote

Hello selvam,

Following is the excerpt from the COBOL Manual...

Quote:
To do serial searches, use SEARCH and indexing. For variable-length tables, you can use PERFORM with subscripting or indexing.

To do binary searches, use SEARCH ALL and indexing ONLY.



Hope this helps

Regards

Mayuresh Tendulkar
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1