473,807 Members | 2,886 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

federation and functions

A client has 390/V7 and UDB/V8. It would be useful to use row_number()
when selecting from 390, but that's not supported. It occurs to me (I'm
not in CubeLand, and anyway we upgraded to V8 on z/OS) that federation
(on UDB/V8) might support functions on those 390/V7 tables. Is this
known?

thanks
Apr 4 '07 #1
5 1957
BobTheDataBaseB oy <"xxx at rcn dot com"wrote:
A client has 390/V7 and UDB/V8. It would be useful to use row_number()
when selecting from 390, but that's not supported. It occurs to me (I'm
not in CubeLand, and anyway we upgraded to V8 on z/OS) that federation
(on UDB/V8) might support functions on those 390/V7 tables. Is this
known?
Let me phrase it that way: you can set up a nickname on UDB that points to
DB2 z/OS. Now you could run queries against that nickname and apply the
ROW_NUMBER() function there.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Apr 5 '07 #2
Knut Stolze wrote:
BobTheDataBaseB oy <"xxx at rcn dot com"wrote:
>A client has 390/V7 and UDB/V8. It would be useful to use row_number()
when selecting from 390, but that's not supported. It occurs to me (I'm
not in CubeLand, and anyway we upgraded to V8 on z/OS) that federation
(on UDB/V8) might support functions on those 390/V7 tables. Is this
known?

Let me phrase it that way: you can set up a nickname on UDB that points to
DB2 z/OS. Now you could run queries against that nickname and apply the
ROW_NUMBER() function there.
works like a charm. reading the docs and the ibm infocenter didn't shed
any light on the question of CREATE USER MAPPING... which is that the
password has to be used. looking at Configuration Assistant, one can
choose to authenticate at the client, but would that override
federation/nickname definition? this is, for my corner of CubeLand
theoretical, in that the PHBs haven't figured out the usefulness of
federation. OTOH, for a production environment, federating a z/OS
database to a Windoze one might be considered de facto insecure.

does IBM actually recommend federation? or even DDF?
Apr 6 '07 #3
BobTheDataBaseB oy <"xxx at rcn dot com"wrote:
Knut Stolze wrote:
>BobTheDataBase Boy <"xxx at rcn dot com"wrote:
>>A client has 390/V7 and UDB/V8. It would be useful to use row_number()
when selecting from 390, but that's not supported. It occurs to me (I'm
not in CubeLand, and anyway we upgraded to V8 on z/OS) that federation
(on UDB/V8) might support functions on those 390/V7 tables. Is this
known?

Let me phrase it that way: you can set up a nickname on UDB that points
to
DB2 z/OS. Now you could run queries against that nickname and apply the
ROW_NUMBER() function there.
works like a charm. reading the docs and the ibm infocenter didn't shed
any light on the question of CREATE USER MAPPING... which is that the
password has to be used.
CREATE USER MAPPING is used to tell the federated server with which
credentials to connect to the remote data source. For example, if the
federated server (DB2) does not reside on the same system as the data
source, then DB2 needs to know the respective information.
looking at Configuration Assistant, one can
choose to authenticate at the client, but would that override
federation/nickname definition?
Client authentication is orthogonal to user mappings. It just tells the DB2
server (federated server or data source) which system performs
authentication. There are a few things to consider for client
authentication (trust clients vs. non-trusting).
this is, for my corner of CubeLand
theoretical, in that the PHBs haven't figured out the usefulness of
federation.
PHB?
OTOH, for a production environment, federating a z/OS
database to a Windoze one might be considered de facto insecure.
Depends on your configuration. You can make each system insecure with the
respective configuration, and you can also set up a secure federated
system.
does IBM actually recommend federation? or even DDF?
Why should IBM not do that?

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Apr 10 '07 #4
Knut Stolze wrote:
BobTheDataBaseB oy <"xxx at rcn dot com"wrote:
>Knut Stolze wrote:
>>BobTheDataBas eBoy <"xxx at rcn dot com"wrote:

A client has 390/V7 and UDB/V8. It would be useful to use row_number()
when selecting from 390, but that's not supported. It occurs to me (I'm
not in CubeLand, and anyway we upgraded to V8 on z/OS) that federation
(on UDB/V8) might support functions on those 390/V7 tables. Is this
known?
Let me phrase it that way: you can set up a nickname on UDB that points
to
DB2 z/OS. Now you could run queries against that nickname and apply the
ROW_NUMBER( ) function there.
works like a charm. reading the docs and the ibm infocenter didn't shed
any light on the question of CREATE USER MAPPING... which is that the
password has to be used.

CREATE USER MAPPING is used to tell the federated server with which
credentials to connect to the remote data source. For example, if the
federated server (DB2) does not reside on the same system as the data
source, then DB2 needs to know the respective information.
What I haven't found out, which I could do by just changing the z/OS
password, but that would break other things; is whether the
Nickname/federated database will be accessible after that. In my
corner, it's RACF and new password every 30 days or so. Or, put another
way, does the password used during CREATE USER MAPPING... persist on the
connection? Or only to authenticate at the time of creating the
mapping? Docs didn't say, near as I can tell. Does the authentication
chosen from Client Configuration (GUI or not) affect the execution of
the mapping thenceforth? Again, I looked, but couldn't find an answer.
>
>looking at Configuration Assistant, one can
choose to authenticate at the client, but would that override
federation/nickname definition?

Client authentication is orthogonal to user mappings. It just tells the DB2
server (federated server or data source) which system performs
authentication. There are a few things to consider for client
authentication (trust clients vs. non-trusting).
>this is, for my corner of CubeLand
theoretical, in that the PHBs haven't figured out the usefulness of
federation.

PHB?
Pointy Haired Boss. Dilbert, man. ya gotta read the newspapers.
>
>OTOH, for a production environment, federating a z/OS
database to a Windoze one might be considered de facto insecure.

Depends on your configuration. You can make each system insecure with the
respective configuration, and you can also set up a secure federated
system.
>does IBM actually recommend federation? or even DDF?

Why should IBM not do that?
They should, far more than they seem to do; at least from where I sit.
I think they should, umm prod, the clients to use DB2, especially z/OS
versions, as a database rather than a collection of (VSAM) files. In my
corner of CubeLand, which resides in the generic industry known as
Financial Services, that's what goes on. A little prodding from IBM,
rather than vacant head-nodding when clients say they just serially
query tables and run the results through endless COBOL cursors, would go
a long way toward moving those folks nearer Dr. Codd's goal.
Admittedly, not your job; the customer engineers' job. OTOH, if the XML
loonies steal *All* the mindshare, there won't be nobody doin no
databases.

Just a thought. And a tip of the Hatlo hat, thanks.

Apr 11 '07 #5
BobTheDataBaseB oy <"xxx at rcn dot com"wrote:
Knut Stolze wrote:
>BobTheDataBase Boy <"xxx at rcn dot com"wrote:
>>Knut Stolze wrote:
BobTheDataBa seBoy <"xxx at rcn dot com"wrote:

A client has 390/V7 and UDB/V8. It would be useful to use
row_number( )
when selecting from 390, but that's not supported. It occurs to me
(I'm not in CubeLand, and anyway we upgraded to V8 on z/OS) that
federatio n
(on UDB/V8) might support functions on those 390/V7 tables. Is this
known?
Let me phrase it that way: you can set up a nickname on UDB that points
to
DB2 z/OS. Now you could run queries against that nickname and apply
the ROW_NUMBER() function there.

works like a charm. reading the docs and the ibm infocenter didn't shed
any light on the question of CREATE USER MAPPING... which is that the
password has to be used.

CREATE USER MAPPING is used to tell the federated server with which
credentials to connect to the remote data source. For example, if the
federated server (DB2) does not reside on the same system as the data
source, then DB2 needs to know the respective information.

What I haven't found out, which I could do by just changing the z/OS
password, but that would break other things; is whether the
Nickname/federated database will be accessible after that. In my
corner, it's RACF and new password every 30 days or so. Or, put another
way, does the password used during CREATE USER MAPPING... persist on the
connection?
You will have to change the user mapping.
Or only to authenticate at the time of creating the
mapping?
No. The mapping is stored in the DB2 catalog (not with a plan password, of
course). The thing is that the federated server may shut down.
Afterwards, it can still/again establish a new connection to the remote
data source. For that, it needs the credentials again.
Docs didn't say, near as I can tell. Does the authentication
chosen from Client Configuration (GUI or not) affect the execution of
the mapping thenceforth? Again, I looked, but couldn't find an answer.
Which authentication method are you talking about? The federated server is
just another application from the perspective of the data source. So
everything relating to authentication at the data source is applicable
right as it is for all other applications. From the perspective of the
federated server, we are talking about a regular application (your own,
possibly).
>PHB?

Pointy Haired Boss. Dilbert, man. ya gotta read the newspapers.
I'm well aware of this basic daily lecture for any engineer. I just didn't
connect this. ;-)
>>does IBM actually recommend federation? or even DDF?

Why should IBM not do that?

They should, far more than they seem to do; at least from where I sit.
Different story. I have my personal opinions there, which I won't explain
in detail now. ;-)

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Apr 11 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1618
by: RavenCross | last post by:
we are in need of a game developer rather quickly. Candidates will be responsible in assisting in all coding from marketing, developing new games, maintaining and updating existing games in the Space Federation. Interested candidates can apply and start work anytime with us.we mostly need still mech pictures. Space Federation is an endeavor to bring free internet games to the public. With over 290,708 registered players playing daily, we...
14
4342
by: spencer | last post by:
My client is going through a large project to replace existing data warehouse physical infastructure which is running DB2 8.1.6. In the past we had a much more distributed environment where we had certain portions of the data warehouse on a physically different server. We utilized federation to allow the joining of tables on seperate instances. We found that this worked ok in situations where the tables were not that large say under...
3
1855
by: BobTheDatabaseBoy | last post by:
can't find in the RedBook, or scouring this NG, a simple yes/no answer to the question: given mountains of existing COBOL programs which have read/written to multiple schemas, but in one z/OS(v7) instance, whether Information Integrator exists for that platform, and would allow reading/writing to schemas in multiple instances. the doc reads (to me) like II sends all data through an LUW instance.
3
3239
by: Baski | last post by:
Hi, I have few questions, 1) I have DB2 8.2 ESE, with a db2 instance and a few databases. Is it posiible to create and configure a federated server. what are the things/steps required to do so. For federation server should I have additional tool called Information Integrator or can I do without it? Does the Wrapper to connect to
2
2358
by: bspdan | last post by:
Hi - I'm having some federation difficulties and am looking for some help. On AIX 5.3, I'm running DB2 ESE 8.2 FP12 with Federation enabled. Oracle client 10.2.0.2. I can connect to a remote oracle instance using sqlplus, so I'm pretty confident the Oracle client is OK. I'm able to create a NET8 wrapper, and to create a Server using that wrapper. Control Center is able to discover all instances listed in my tnsnames.ora, so I'm...
3
5998
by: zgh1970 | last post by:
Hi, All, We have a database on db2 udb aix. The database has federated server to db2 mainframe. Now We have already catalog database of db2/400 on the db2 UDB aix server. I tried to create new federation server for db2as/400. It seam has problem. 1. can the db2 mainframe and db/400 have the same wrapper? Our existing db2 mainframe uses the wrapper with library libdb2drda.a This wrapper is used by db2 mainframe
0
2047
by: vbace2 | last post by:
Using DB2 v9.1 fixpak 2 (WSE with HADR feature) on Windows 2003 Servers We are trying to set up HADR for two production databases. The two primary databases reside on two different servers. We would like to put the two standby databases on the same server. One of the databases (we will call it NICKNM) has tables federated from the other database (we will call it OTHER). I was able to set up HADR for these two databases so that the...
1
2836
by: dif1754 | last post by:
My Windows DB2 Server 9.x is connected, via federation, to a remote AS/ 400 system: I created several nicknames to remote tables and I can query them. Problem is, during the night, my remote AS/400 is rebooted and DB2 Server cannot connect back to it. Is there any DB2 parameter I must set to reconnect automatically to the remote federated AS/400.
1
2339
by: Kozy | last post by:
Hello everyone, I have a problem with federation between Oracle and DB2. Once every few weeks my DB2 federation request "dies". What happens is DB2 thinks it is still geting information from oracle, but on Oracle there is nothing executing. This connection then stays active for undefined amount of time ( 5 days was the last accurance). Killing the process doesnt work, all I can do to remove it is to restart the server. Db2stop force...
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10628
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10113
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.