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
 
handling 2 different DB2 tables in one program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Gokulkrishna

New User


Joined: 14 Apr 2010
Posts: 2
Location: Hyderabad - India

PostPosted: Fri Apr 16, 2010 1:15 pm    Post subject: handling 2 different DB2 tables in one program
Reply with quote

hi all,

Suppose if we have 2 db2 tables like this

1st table is in - hyd1 package

2nd table is in - hyd2 package.

and my program is using both the tables. Then how to bind this program?

i mean using which package ?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Fri Apr 16, 2010 1:16 pm    Post subject: Reply to: handling 2 different DB2 tables in one program
Reply with quote

and... how does the question relate to REXX or CLIST ??
moved where it belongs
Back to top
View user's profile Send private message
Gokulkrishna

New User


Joined: 14 Apr 2010
Posts: 2
Location: Hyderabad - India

PostPosted: Fri Apr 16, 2010 3:34 pm    Post subject:
Reply with quote

Thank you enrico for moving this question to here.


Now can someone answer this question please
Back to top
View user's profile Send private message
mallik4u

New User


Joined: 17 Sep 2008
Posts: 75
Location: bangalore

PostPosted: Fri Apr 16, 2010 3:54 pm    Post subject:
Reply with quote

hi,

tables are in package?
what do you mean by that...

As for as i know Tables will be present in Tablespaces.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Fri Apr 16, 2010 4:15 pm    Post subject:
Reply with quote

GOKUL S wrote:
Now can someone answer this question please


your basic question displays such a low level of understanding of db2,
it is unfortunately difficult to decide where to start explaining,
fearing that every post will elicit yet another question from you,
asking for clarification of the previous.

Suggest you spend the weekend going thru a few manuals,
hyperlinks are at the top of the page,
and learn something about the basics of db2.

within the db2 forum, there are many thread on the topics.

suggest you start with this: http://ibmmainframes.com/viewtopic.php?t=44076&highlight=packages
and also refer to the links within that thread.
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Fri Apr 16, 2010 9:37 pm    Post subject:
Reply with quote

I suggest you give following letter to your manager :

Quote:
Dear Sir,
Please don't let me touch any program involving DB2. I lack the necessary basic knowledge to let me near a computer.

Until then these are the alternatives on which you can decide :
- promote me to be a manager or analist
- send me to a course in which the basic concepts of db2 are explained.
(I hear GuyC asks a reasonable price to give this course)

Sincerely

[insert your name here]
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Fri Apr 16, 2010 9:54 pm    Post subject:
Reply with quote

Gokulkrishna,

First thing, table is not in a package.

How do you access table1 and table2 in SPUFI ?
And are both the tables are in different database or in the same database ?

Sushanth
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Identify top 30 big tables or indexes... ashek15 DB2 0 Fri Jun 16, 2017 10:01 am

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