Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Problems with Table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
ajayvamsi
Currently Banned

New User


Joined: 21 Jul 2005
Posts: 56
Location: Hyderabad

PostPosted: Thu Jul 21, 2005 2:33 am    Post subject: Problems with Table
Reply with quote

Hi all,
Can any one tell me wat is the easiest way to sort a table...!!
My table looks like this...
01 PLAN-TABLE.
05 PLAN-ENTRY OCCURS 100 TIMES INDEXED BY PLAN-INDEX.
10 PLAN-CODE-1TBL PIC X(03) VALUE SPACES.
10 PLAN-CODE-2TBL PIC X(03) VALUE SPACES.
10 PLAN-CODE-3TBL PIC X(03) VALUE SPACES.
10 PLAN-CODE-4TBL PIC X(03) VALUE SPACES.
10 PLAN-CODE-5TBL PIC X(03) VALUE SPACES.
10 PLAN-CODE-6TBL PIC X(03) VALUE SPACES.
10 PLAN-CODE-7TBL PIC X(03) VALUE SPACES.
10 PLAN-CODE-8TBL PIC X(03) VALUE SPACES.

If we take some values as below..for the table
540
542
550765
570
580
560680770
590
600
630660834
670
690
700
710
740

I need to load this to a one dimentional table but should be in the sorted order....is it possible...?
Back to top
View user's profile Send private message

vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 180

PostPosted: Thu Jul 21, 2005 4:05 am    Post subject: Re: Problems with Table
Reply with quote

Hi

Make use of the search verb for sequential search or search all for binary.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Searching a table for the field name? socker_dad COBOL Programming 8 Sat Mar 31, 2018 2:57 am
No new posts Need inputs on DB2 tablespace/table r... ashek15 DB2 3 Sat Mar 24, 2018 11:49 pm
No new posts COBOL declaration for table Poha Eater DB2 3 Mon Feb 26, 2018 6:58 pm
No new posts load and delete table through JCL wit... ram_vizag JCL & VSAM 9 Thu Feb 01, 2018 12:47 am
No new posts Unloading DB2 table in CSV format alo... grvtomar COBOL Programming 7 Sun Jan 28, 2018 2:05 am

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