Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts unload data from table with lob columns farhad_evan DB2 1 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us