ajayvamsi
New User
Joined: 21 Jul 2005 Posts: 56 Location: Hyderabad
|
|
|
|
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...? |
|