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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am

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