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
 
Query on insertion of records in in a DBD

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

New User


Joined: 24 Oct 2008
Posts: 6
Location: Pune

PostPosted: Tue Nov 18, 2008 8:01 pm    Post subject: Query on insertion of records in in a DBD
Reply with quote

Suppose this is the DB structure
Code:
       -----------
       | Airport |
       -----------
            |
            v
       -----------
       | Airline |
       -----------
            |
            v
     ---------------
     |             |
     v             v
-----------   -----------
| ARRIVAL |   | DEPART  |
-----------   -----------



I need to insert a call for the insertion of arrival and departs of flight
under corresponding airline and airport.

What can be pseudocode for it?

Thank You !
Back to top
View user's profile Send private message

Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Wed Nov 19, 2008 11:28 am    Post subject:
Reply with quote

Use qualified SSAs for Airport and Airline segments and unqualified ssa for Arrival or Depart segments.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Nov 19, 2008 7:31 pm    Post subject:
Reply with quote

Lucky for me that I checked this forum - I responded in the other forum. The first thing you need to do is to tell us whether this is DLI, BMP, or MPP. You have said - in the other forum - that it is BMP. This means that you most likely have an input file. We need to see the layout for that file.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Thu Nov 20, 2008 2:43 am    Post subject:
Reply with quote

This can be very easy - all you need to do is to give us ALL of your info. If you give us your input file layout and it includes the airport and airline keys - great! It would also need to include the key values for the arrival and depart segments. The input file would also need to be sorted in that sequence. That is the most simple and easily resolved scenario.
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 sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm

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