If anyone has experience about bugs ,problems or any related link of DB2 v.10 FOR ZOS , please reply? - db2

Hi
I want to use db2 10 for zos.
If anyone has experience about bugs ,problems or any related link of DB2 v.10, please reply?
thanks for your attention.

If you're running z/OS, you will, or should, have a contract with IBM. In that case, you will have access to PMR/APAR information that IBM publish.
You just do a search on the product COMPID(s) to discover any issues and fixes.
If you don't have such an agreement with IBM (though, seriously, why would you spend all that money of the OS and products and not get support?) , head on over to the DB2/z product page and look at the "Product Support" link. The page that brings up has information on all the recent and important PTFs that you should examine.
The COMPIDs from the DB2/z v10 Program Directory are:
FMID COMPID Component Name
------- --------- ----------------------------
HDBAA10 5740XYR00 DB2 BASE/TSO
HIYAA10 5740IY100 IMS ATTACH
HIZAA10 5740XYR01 DB2 SUBSYSTEM INITIALIZATION
HIR2230 569516401 IRLM V02.03.00
HDREA10 5740DRE00 RACF AUTHORIZATION EXIT
JDBAA12 5740XYR02 DB2 JDBC/SQLJ
JDBAA14 5740XYR00 DB2 ENGLISH PANELS
JDBAA17 5740XYR02 DB2 ODBC
JDBAA11 5740XYR06 DB2 KANJI PANELS

Related

Access to __MDrivenServer locked

Although I have been using ECO from a few years, I am very new to MDriven Turnkey.
I have created an account and a site in portal.mdriven.net, but when I visit MDrivenServer I get the following message:
You currently do not have access - this is due to setting AdminRequireIdentification==true and you do not have correct role
According to the help manual in MDrivenTheBook Part 10 MDrivenTurnkey:
"When you have accidently locked yourself out you can find the admin database, open it with SqlServerCompact tools. Find table admin_GlobalSettings and set column TurnOffRegistration to 0 (false) – now you may register a new user and regain control."
The database is located in __MDrivenServer\App_Data\DatabaseCompact.sdf
I have Visual Studio 2010 and I have also downloaded the SQL Server Compact Tools, but I have not idea how to open the
https://SchoolAurelio.azurewebsites.net/__MDrivenServer/App_Data/DatabaseCompact.sdf in order to set the column TurnOffRegistration to 0.
How can I update the sdf file?
Thanks,
Jose Maria
In the Compact tools you do something like "connect" and choose the sdf downloaded file. Once there there you can do sql on the ASP_User table.
BUT - in the portal.mdriven.net you have a SendSettingsAndRestart, this operation should unlock a locked mdriven-database. It will also inject a new pwd if you have changed it in portal. Please try this operation and see if things clear up.

ATG CSC Environment exception

for one of our site while clicking on Workonlink in ordersearch reults i am getting below excption:
Error /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-55/atg/commerce/custsvc/environment/ChangeOrder --- atg.svc.agent.environment.EnvironmentException: Order contains unsupported features and cannot be modified.
Error /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-142/atg/commerce/custsvc/environment/ChangeOrder at atg.commerce.csr.environment.UIEnvironmentMonitor.generateDependentDetailsForOrderChange(UIEnvironmentMonitor.java:171)
Error Mon Jun 01 18:39:53 EST 2015 1433147993695 /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-/atg/commerce/custsvc/environment/ChangeOrder at atg.commerce.csr.environment.UIEnvironmentMonitor.generateDependentChangeDetails(UIEnvironmentMonitor.java:144)
Error /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-142/atg/commerce/custsvc/environment/ChangeOrder at atg.svc.agent.environment.EnvironmentMonitor.generateChangeDetails(EnvironmentMonitor.java:179)..
can anyone please tell how enviornment things work in csc.
Thanks..
My guess is you are using some b2b features which are not supported in CSC. Below is an extract from the Oracle ATG documentation:
Note: Commerce Service Center does not support Commerce B2B features within orders. If the order contains a B2B feature, such as a purchase order or cost centers, you will be able to view the order, but will be unable to make any modifications to the order. An error message will appear, indicating that the order contains unsupported features and cannot be modified.
You can read more about this here

Oracle Data Integrator 11g Reverse Engineer not importing tables

I am New To ODI 11g, i have to transport data from one Database(Oracle) to another Database(Oracle), for this the table in source was already imported in the source model, i am trying to setup Target database's meta data in ODI 11g and i have done all the steps right when i try to reverse engineer this new model which i created nothing happens. I am stuck with this problem at work since there is no error so i cannot think of any reason why meta data is not being imported
I would like to clarify this, the target table which i am trying to import is accessed from ODI with the super user
Any help would be appreciated.
Could you check that the schema used to connect to the Dataserver where the target table is located actually got the privileges to access the target table?
If not, grant select and insert (and maybe update, delete depending on the IKM you use) on that table.
I faced the same issue and resolved it by providing read access to the schema ODI is using to reverse engineer.
As I was using standalone installation, ODI studio log had the below information:
[2015-01-17T19:10:21.979+05:30] [] [NOTIFICATION] [] [] [tid: 2374]
[ecid: 0000Kfs7s20Fg4WFLzvH8A1KiWkx00000d,0] New data source:
[HR/*******#jdbc:oracle:thin:#//localhost:1521/pdb1]
HR schema was the first schema I reverse engineered, and it was being used as default user to read other schemas.
Try checking the agent logs to see what user is being used and provide it the privileges on all other schema's.
Althoug I dont know how to tell ODI to use a particular user to access database while reverse engineering. It would be great if some one gives some insight on it.
Probably on masking of reverse engineering you are missing character: %

How can I get my client application name to show up on zos from java?

This page says I can put "clientProgramName" as one of the connection parameters and it will show up on db2 as the correlation ID.
And I quote:
In a java.util.Properties value in the info parameter of a
DriverManager.getConnection call.
We're using z/OS. The z/OS version of DB2 seems a lot more limited in terms of this kind of stuff.
Setting the client program name in the params hash of the connect call seems to have no effect, and when I put it on the end of the connect string url like this (which it also says I can do):
jdbc:db2://localhost:5036/DBNAME:clientProgramName=myprog
I get this error:
[jcc][10165][10051][4.11.77] Invalid database URL syntax:
jdbc:db2://localhost:5036/DBNAME:clientProgramName=myprog.
ERRORCODE=-4461, SQLSTATE=42815
Is there any way to send a custom user string to a z/OS db2 server so that connection can be identified on the server?
Depending on the method you use to connect to DB2, you use:
Class.forName
Class.forName("com.ibm.db2.jcc.DB2Driver");
Properties props = new Properties();
props.put("user", "scott");
props.put("password", "tiger");
props.put("clientProgramName", "My Program 1");
Connection conn = DriverManager.getConnection(
"jdbc:db2://localhost:50000/sample", props);
DataSource
Connection conn = null;
DB2SimpleDataSource ds = new com.ibm.db2.jcc.DB2SimpleDataSource();
ds.setDriverType(4);
ds.setServerName("localhost");
ds.setPortNumber(50000);
ds.setDatabaseName("sample");
ds.setUser("scott");
ds.setPassword("tiger");
ds.setClientProgramName("My Application 2");
conn = ds.getConnection();
I wrote a blog about that: http://angocadb2.blogspot.fr/2012/12/nombre-de-la-conexion-java-en-db2-java.html (Use your favorite translator because it is in Spanish)
According to this page on Info Center, there should be a function on the DB2Connection interface that allows you to change your application identifier, setDB2ClientApplicationInformation (I can't link directly, because there is no anchor, just search for that name).
You can pull the current application ID using the CURRENT CLIENT_APPLNAME special register:
SELECT CURRENT CLIENT_APPLNAME FROM SYSIBM.SYSDUMMY1
There are some other ways to set that register listed on the Info Center link listed above, including the WLM_SET_CLIENT_INFO function.
I am no DB2 expert, but I am looking at a trace record, generated by DB2 for z/OS, that contains a "correlation ID" (field QWHCCV in the product section correlation header of the trace record) that matches the value I set using setClientProgramName (method of the DB2 data source in my Java application).
My Java application is similar to the "DataSource" example given by AngocA, which is similar to the code quoted in the IBM technote 'The name of a DB2 JDBC application appears as "db2jcc_application". How to change it?'. This Java application, running on my Windows PC, connects to DB2 for z/OS. It also - and this is important, depending on which DB2 traces you have started (discussed below) - actually does something after connecting. For example:
pstmt=conn.prepareStatement("SELECT ... ");
rset=pstmt.executeQuery();
When you say, regarding the first example given by AngocA, "it doesn't do anything": what did you hope to see? Exactly where are you looking, what are you looking for, and what method (or tool) are you using to look for it?
For example, if you are looking for SMF type 100, 101, or 102 records (generated by DB2 traces) containing QWHCCV field values that match your correlation ID, then (with apologies if this is the bleeding obvious, teaching you how to suck eggs), on DB2 for z/OS, you need to start the DB2 traces (using the DB2 command START TRACE) that generate those records. Otherwise, there will be nothing to see ("it doesn't do anything"). Note that not all DB2 trace records generated by an application (such as the Java application described above) will contain your correlation ID; prior to a certain point in processing, the correlation ID of such records will have a different value (but that is getting off-topic, and anyway is about as far as I am comfortable describing).
Warning: Experiment with starting DB2 traces on a "sandbox" (development or test) DB2 system, not a production DB2 system. DB2 traces can result in large volumes of data.
You will also see the correlation ID in the message text of some DB2 V10 messages (such as DSNL027I) after "THREAD-INFO=".
For me I had to add a semicolon after each connection parameter.
EX for your case:
jdbc:db2://localhost:5036/DBNAME:clientProgramName=myprog;
EX with multiple params:
jdbc:db2://localhost:5036/DBNAME:clientProgramName=myprog;enableSysplexWLB=true;blah=true;

Rights required to generate EF model for DB2 tables

We are trying to use EF 4.1 to access DB2 tables.
We have installed DB2 Connect 9.7 fix pack 4.
We get to the point where we can select tables. All tables are shown. To test we select 2 of the tables.
What happens then is the it hangs, with the timer going round and round and round ...
The user that is setup to access the tables has read/write access.
Anyone know if we need more rights to generate the EF model, or anything else that could be causing this problem?
Edit
It has finally given an error message:
ERROR [08001] [IBM] SQL30081N Det er
oppdaget en kommunikasjonsfeil.
Kommunikasjonsprotokoll som brukes:
"TCP/IP". Kommunikasjons-API som
brukes: "SOCKETS". Stedet der feilen
ble oppdaget: "172.20.170.39".
Kommunikasjonsfunksjon som oppdaget
feilen: "recv". Protokollspesifikk(e)
feilkode(r): "10053", "", "".
SQLSTATE=08001
This is a communications error -- your application isn't able to reach the database.
Please check that you have the correct IP address for the database server and the correct port number.
If these are both correct, make sure that any firewalls between your client and the database server are not preventing the connection, or routing issues, etc.