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
 

 

IMS DB - Multiple key value

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
santhosh_kumar

New User


Joined: 31 May 2007
Posts: 4
Location: Chennai

PostPosted: Mon Apr 21, 2008 7:29 pm    Post subject: IMS DB - Multiple key value
Reply with quote

In my DB a segment has a key value which is either xxxx or yyyy.
Is there any way to fetch the segment thru single call by passing both the key values to find atleast the one is present in the segment.

Sweet,
Santhosh
Back to top
View user's profile Send private message

Sinkaravelan S

New User


Joined: 21 Apr 2008
Posts: 27
Location: coimbatore-TN india

PostPosted: Tue Apr 22, 2008 10:41 am    Post subject: Reply to: IMS DB - Multiple key value
Reply with quote

Santhosh,


We cannot give two key fields into one segment.Search field may be contain one more value but key field should be one.

I think you can use alternate index.
Back to top
View user's profile Send private message
kalukakkad

New User


Joined: 10 Mar 2005
Posts: 81

PostPosted: Tue Apr 22, 2008 1:18 pm    Post subject: Reply to: IMS DB - Multiple key value
Reply with quote

You can define the SSA with logical OR operator --> | (pipe symbol) or + symbol between 2 key values

SSA=SEGMNAME(KEYFLD=XXXX|KEYFLD=YYYY)

or

SSA=SEGMNAME(KEYFLD=XXXX+KEYFLD=YYYY)
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 -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


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