Substituting values
Hi all,
I am using Forms 6i
Based on a table field i have to bring the content to the form and the some part content have to get filled with other values .
That is, suppose table xyz has a field xy which is having a content like
"*It is my pleasure to inform you that you have been promoted to the position of with effect from with effect from*" ..... etc etc
so, this content have to be displayed in form , the user can edit it also.
There is some parameter values which have to be filled in between the content when it get saved to table PQR
the contents will be stored in PQR.desc, the parameter title and value stored in title_name and param_value field in table PQR
that is ,for this case, if the parameter have position and date , when saving ,the content should be
saved like
"It is my pleasure to inform that you have been promoted to the position of *HR Manager* with effect from *15-JUN-2010*"
Thanks in advance,
Rinz
Edited by: Rinz on Jun 14, 2010 3:51 PM
Edited by: Rinz on Jun 14, 2010 3:52 PM
Save your editable text with placeholders and when retrieving the text replace the placeholders with the values you want.
e.g.:
SQL> select replace(replace(replace('Today is the %1 of %2 in the year %3', '%1', to_char(sysdate, 'DD')), '%2', to_char(sysdate, 'MONTH')), '%3', to_char(sysdate, 'YYYY')) as txt from dual;
TXT
Today is the 14 of JUNE in the year 2010
SQL>cheers
Similar Messages
-
Quickest way to substitute values in a String...
I have a string that represents the contents of a html file. I want to substitute all the custom variables (shown as {value} ) in the String with a new value. I am using the Java REGEXP to find the start/end position of all the custom variables that need to be substituted. The start/end position and new value are placed in a Frag object. After all the REGEXP matches have been found i loop through the Frag objects and place the new value into the String (called template in code below)
String leftSplit = template.substring(0, frag.getStartPos());
String rightSplit = template.substring(frag.getEndPos(), template.length());
String template = new StringBuffer(leftSplit).append(frag).append(rightSplit).toString();My query is on the above 3 lines of code. I probably havent done it in the most efficient manner possible. Any suggestions? I expect to substitute about 20 values per file and there could be maybe 100 files that need processing.I had a problem similar. For this i created a metod that generate the html code in the String using the variables.
For example:
public class HTMLCreator
private String name;
private String html;
public HTMLCreator()
name = " ";
public void HTMLCreate()
html = "<head>" +
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" /> " +
"<title> Hello World HTML</title>" +
"</head>" +
"<body>" +
"Hello World: <strong>" + name +
"</strong>" +
"</body>" +
"</html>";
// You can create the .html file here too
public String getName()
return name;
public void setName(String name)
this.name = name;
}Thats it!
Davi Romero -
Hi ,
I have a requirement ,I need to substitue value for a variable &emp_name defined as a message (fnd_new_messages).
For eg.if the message is : Hello &EMP_NAME , how are you?
I need to retrieve this message from plsql procedure and then assign a value to EMP_NAME variable dynamically and display.
Can you please help me here? Please let me know if you require any additional info.
Thanks
Anand.Maybe you need something more like this:
create or replace function message_replace (p_name varchar2) return varchar2
as
l_message_text fnd_new_messages.message_text%TYPE;
begin
l_message_text := FND_MESSAGE.get_string(0,'YOUR_MESSAGE_NAME'); -- your application id and message name are need here
return replace(l_message_text, '&EMP_NAME', p_name);
end; -
How to return the values of LOV to items in forms
Hi,
I have created an LOV based on a select statment that return 3 columns
I want to return theses 3 values to 3 items in the form?
I'll appreciate any suggestion.
Imad.An LOV has only two components: text and value. You can see them in the html page's source. A work around is to use a procedure to query the data and create a cursor, count the # of records in the query. Create a javascript function to create parallel arrays to hold the data on the html page and pass the function parameters via an event on the page. Create the procedure in the db.
procedure follows...
CURSOR c_customer
/* use a cursor to get all the prices */
IS
SELECT
c.customer_number, c.customer_name, NVL(a.address1, 'N/A') ADDRESS1,
NVL(a.address2, 'N/A') ADDRESS2, NVL(a.city, 'N/A') CITY, NVL(a.state, 'N/A') STATE,
NVL(a.province, 'N/A') PROVINCE, NVL(a.country, 'N/A') COUNTRY, NVL(a.postal_code, 'N/A') POSTAL_CODE
FROM table1 b, table2 a, table3 c;
v_count NUMBER;
BEGIN
SELECT COUNT(*)
INTO v_count
FROM table1 b, table2 a, table3 c
where ...;
/*where clause and table names have been removed, use your's. They should be identical in both queries */
/* begin your Javascript, substituting values from the
cursor as necessary into parallel arrays*/
HTP.p('<script language="JavaScript1.1">');
HTP.p('<!-- ');
/* initialize the arrays */
HTP.p(' var customer_no_arr = new Array('||v_count||'); ');
HTP.p(' var customer_name_arr = new Array('||v_count||'); ');
HTP.p(' var address1_arr = new Array('||v_count||'); ');
HTP.p(' var address2_arr = new Array('||v_count||'); ');
HTP.p(' var city_arr = new Array('||v_count||'); ');
HTP.p(' var state_arr = new Array('||v_count||'); ');
HTP.p(' var province_arr = new Array('||v_count||'); ');
HTP.p(' var country_arr = new Array('||v_count||'); ');
HTP.p(' var postal_code_arr = new Array('||v_count||'); ');
/* populate the arrays */
FOR r IN c_customer LOOP
HTP.p ('customer_no_arr['||to_char(c_customer%ROWCOUNT - 1) ||'] = "'||r.customer_number||'";');
HTP.p('customer_name_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.customer_name||'";' );
HTP.p('address1_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.address1||'";' );
HTP.p('address2_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.address2||'";' );
HTP.p('city_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.city||'";' );
HTP.p('state_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.state||'";' );
HTP.p('province_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.province||'";' );
HTP.p('country_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.country||'";' );
HTP.p('postal_code_arr['||to_char(c_customer%ROWCOUNT - 1)||'] = "'||r.postal_code||'";' );
END LOOP;
/* use this variable to determine the size of the array */
HTP.p ('var num_customers = '||v_count);
/* create the function--accept a parameter that tells
you which customer has been selected from the select_co
combo box */
HTP.p ('function get_customer (form, field, customer_num)
var pieces = field.split(".");
var address1field = new String(pieces[0] + ".MASTER_BLOCK.ADDRESS1.01");
var address2field = new String(pieces[0] + ".MASTER_BLOCK.ADDRESS2.01");
var cityfield = new String(pieces[0] + ".MASTER_BLOCK.CITY.01");
var statefield = new String(pieces[0] + ".MASTER_BLOCK.STATE.01");
var provincefield = new String(pieces[0] + ".MASTER_BLOCK.PROVINCE.01");
var countryfield = new String(pieces[0] + ".MASTER_BLOCK.COUNTRY.01");
var zipcodefield = new String(pieces[0] + ".MASTER_BLOCK.POSTAL_CODE.01");
/* Get the customer number and pass it to the array to look up the address.*/
var customer_no = customer_num;
/* loop through the array until you find the right product ID */
for (var i=0 ; i < num_customers; i++)
if (customer_no_arr[i] == customer_no)
/* return the correct customer information */
form.elements[eval(address1field)].value = address1_arr;
form.elements[eval(address2field)].value = address2_arr[i];
form.elements[eval(cityfield)].value = city_arr[i];
form.elements[eval(statefield)].value = state_arr[i];
form.elements[eval(provincefield)].value = province_arr[i];
form.elements[eval(countryfield)].value = country_arr[i];
form.elements[eval(zipcodefield)].value = postal_code_arr[i];
/* close out the Javascript */
HTP.p ('//-->');
HTP.p ('</SCRIPT>');
END gen_customerlookup;
A specific example is found in the ORACLE Press book by Steve Vandiver & Kelly Cox "ORACLE9i Application Server Portal Handbook" ISBN # 0-07-222249-2 pages 358 - 361. Several lines, and better explaination than room for here.
get_customer (this.form, this.name, this.value); is placed in the appropriate event. Put "sales.gen_customer_lookup;" in the "before displaying the page" section. sales is the schema where the procedure gen_customer_lookup is created.
Ken -
Cutom Error Messages - Subtituting values
Hi All,
Im new to JSF, and finding problems substituting values, when customizing the error messages.
My input text item is defined as
<h:outputText value="My Number:"/>
<h:inputText id="ucasNumber" value="#{start.myNumber}"
required="true"
validator="#{start.validatemyNumber}">
<f:validateLength maximum="9" minimum="9"/>
<f:attribute name="fieldRef" value="My Number" />
<f:attribute name="custMsg" value="Please enter My number " />
</h:inputText>
I have redefined the standard error for the minimum length within the .properties file as
javax.faces.validator.LengthValidator.MINIMUM_detail=VALUE_MIN_LENGTH
VALUE_MIN_LENGTH_MSG_detail = Minimum length for ''{0}'' is ''{1}''.
And this is from the Phase listner...
UIComponent c = root.findComponent(clientId);
String fieldRef = (String) c.getAttributes().get("fieldRef");
if (fieldRef != null) {
Iterator j = fc.getMessages(clientId);
while (j.hasNext()) {
else if ("VALUE_MIN_LENGTH".equalsIgnoreCase(detail)) {
String custMsgPattern = rb.getString("VALUE_MIN_LENGTH_MSG_detail");
Object[] params = new Object[2];
params[0] = fieldRef;
// params[1] = "7";
String custMsg =MessageFormat.format(custMsgPattern, params);
fm.setSummary(custMsg);
fm.setDetail(custMsg);
When I hard code a value (ie param[1]="7") it is fine...and the vvalue is substituted correctly and I obtain the correct message.
What I like to know, is how I would obtain the minimum value from the item that causes the error - in this case '9'.
Thank in advance
ABThat looks really similar to this tutorial:
http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk7.html
Try walking through it and see if you can catch your problem. Then again, maybe you already have and that's where you got the idea originally. If that's the case, I probably can't help you beyond that as I went a different root when customizing my error messages.
I also just posted this in another thread. Probably more useful to Bret, but you may want to look at it anyways.
http://forum.java.sun.com/thread.jspa?threadID=666143&tstart=0
CowKing -
Variable Substitution settings for Receiver File Adapter
Hi All,
I wanna use variables for File Name Sheme in the File Access Parameters.I had used by enclosing the variable names within %. When i wanna substitute values for those variables, it is given in the documentation(help.sap.com) that v need to set the Enable indicator. only after setting the indiactor, v can use the variables and can then enter the values for those variables in a table. but i can't see either the indicator or the table in my editor. how can i provide the values for the variables used in file name scheme/Target Directory. and for ur information,i'm using sp12.
any help wud b appreciated.
thnx
AnilHi Anil,
Please check out the following link ...
Re: Variable substitution - Pseudo Path Variable - file adapter
Re: Variable substitution problem
Regards,
Raj -
Select query in MB51 failing only for posting date(BUDAT)02/02/2010
Hello Experts,
I am having below select query.
It is running perfectly fine for all the dates except 02/02/2010.On all other dates it is getting executed with in second.
For 02/02/2010 it keeps on running for more than 10 minutes and then fails with timeout error.
Please let me know if anyone know any solution for this.
select (g_t_fields)
into corresponding fields of table itab
from mkpf inner join mseg
on mkpfmandt = msegmandt
and mkpfmblnr = msegmblnr
and mkpfmjahr = msegmjahr
WHERE MKPF~BUDAT in BUDAT
and MSEG~BWART in BWART
and MSEG~CHARG in CHARG
and MKPF~FRBNR in FRBNR
and MSEG~KUNNR in KUNNR
and MSEG~LGORT in LGORT
and MSEG~LIFNR in LIFNR
and MSEG~MATNR in MATNR
and MSEG~SOBKZ in SOBKZ
and MKPF~USNAM in USNAM
and MKPF~VGART in VGART
and MSEG~WERKS in WERKS
and MKPF~XBLNR in XBLNR
%_HINTS
ORACLE '&SUBSTITUTE VALUES&'
Moderator message - Please see Please Read before Posting in the Performance and Tuning Forum before posting and please use code tags when posting code - post locked
Edited by: Rob Burbank on Feb 4, 2010 9:02 AMHi Sameer,
Please check on which date the production order has status as "completed".
It could be on 01.02.2015.
Thanks,
Vimal -
Sap-nw:3300 not reached error in gateway
Dear experts,
I am facing a strange problem after a successful installation of netweaver Java+abap.
when i start the server i found this error
**** ERROR file opened at 20100131 114242 Arab Standard T, SAP-REL 700,0,113 RFC-VER 3 911150 MT-SL
T:2844 Error in program 'igsmux': ======> CPIC-CALL: 'SAP_CMNOREGTP'
LOCATION CPIC (TCP/IP) on local host
ERROR partner 'sap-nw:3300' not reached
TIME Sun Jan 31 11:42:42 2010
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2770
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 1
i ignore the error and i tried to login
after successful login to the portal server when i access the user administration tab. the explorer show
SAP WebAS Engine is starting...
If this state does not change within a few minutes,
please contact your system administrator.
Check the recommendations in SAP Notes: 943498, 764417
Message: Dispatcher running but no server connected!
and the server turns to yellow again when it turns to green again
i checked dev_rd
Sun Jan 31 13:11:15 2010
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
*** ERROR => NiIRead: SiRecv failed for hdl 9 / sock 268
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1205) [nixxi.cpp 4424]
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
*** ERROR => NiIRead: SiRecv failed for hdl 6 / sock 304
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1148) [nixxi.cpp 4424]
***LOG S23=> GwIDisconnectClient, client disconnected (006) [gwxxrd.c 11592]
***LOG S74=> GwIDisconnectClient, client disconnected ( sap-nw) [gwxxrd.c 11603]
***LOG S0R=> GwIDisconnectClient, client disconnected () [gwxxrd.c 11638]
***LOG S0I=> GwIDisconnectClient, client disconnected ( jlaunch) [gwxxrd.c 11651]
* LOCATION SAP-Gateway on host sap-nw / sapgw00
* ERROR connection to partner 'sap-nw:1148' broken
* TIME Sun Jan 31 13:11:15 2010
* RELEASE 700
* COMPONENT NI (network interface)
* VERSION 38
* RC -6
* MODULE nixxi.cpp
* LINE 4424
* DETAIL NiIRead
* SYSTEM CALL recv
* ERRNO 10054
* ERRNO TEXT WSAECONNRESET: Connection reset by peer
* COUNTER 232
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
*** ERROR => NiIRead: SiRecv failed for hdl 10 / sock 256
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1206) [nixxi.cpp 4424]
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
*** ERROR => NiIRead: SiRecv failed for hdl 11 / sock 244
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1208) [nixxi.cpp 4424]
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
*** ERROR => NiIRead: SiRecv failed for hdl 12 / sock 232
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1207) [nixxi.cpp 4424]
then i try to login again with the browser it give me
Portal Runtime Error
An exception occurred while processing your request
Exception id: 01:27_31/01/10_6192950
See the details for the exception ID in the log file.
any help would be appreciated
<br>
i also wanted to add that telnet 3300 works fine ping to host name is ok
my os win2003 sap 2004s sr3
Edited by: ebrahime on Jan 31, 2010 11:37 AMthanks for your reply. i wanted to add 2 thing after the installation the password i entered in installation was not working for all the super users that is why i had to delete SAP* from database and change the j2ee_Admin password.
you mentioned that the java stack is unable to communicate with abap stack but i can login to portal by j2ee_admin user. but when i go to identity management then it give the error i gave you earlier.
any way the dev_w0 file contents is bellow
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Tue Feb 02 10:23:01 2010
B create_con (con_name=R/3)
B Loading DB library 'F:\usr\sap\ENP\DVEBMGS00\exe\dbdb6slib.dll' ...
B Library 'F:\usr\sap\ENP\DVEBMGS00\exe\dbdb6slib.dll' loaded
B Version of 'F:\usr\sap\ENP\DVEBMGS00\exe\dbdb6slib.dll' is "700.08", patchlevel (0.144)
C DbSl trace SM50: switch request to level 1
B New connection 0 created
M sysno 00
M sid ENP
M systemid 562 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 144
M intno 20050900
M make: multithreaded, Unicode, 64 bit, optimized
M pid 1604
M
M kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
M length of sys_adm_ext is 576 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1604) [dpxxdisp.c 1305]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M DpShMCreate: sizeof(wp_adm) 25168 (1480)
M DpShMCreate: sizeof(tm_adm) 5652128 (28120)
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
M DpShMCreate: sizeof(comm_adm) 552080 (1088)
M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
M DpShMCreate: sizeof(slock_adm) 0 (104)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1864)
M DpShMCreate: sizeof(wall_adm) (41664/36752/64/192)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 0000000010E70050, size: 6348592)
M DpShMCreate: allocated sys_adm at 0000000010E70050
M DpShMCreate: allocated wp_adm at 0000000010E72150
M DpShMCreate: allocated tm_adm_list at 0000000010E783A0
M DpShMCreate: allocated tm_adm at 0000000010E78400
M DpShMCreate: allocated wp_ca_adm at 00000000113DC2A0
M DpShMCreate: allocated appc_ca_adm at 00000000113E2060
M DpShMCreate: allocated comm_adm at 00000000113E3FA0
M DpShMCreate: system runs without slock table
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 000000001146AC30
M DpShMCreate: allocated gw_adm at 000000001146ACB0
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 000000001146ACE0
M DpShMCreate: allocated wall_adm at 000000001146ACF0
M ThTaskStatus: rdisp/reset_online_during_debug 0
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation view
X <EsNT> Using memory model view.
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M
M Tue Feb 02 10:23:02 2010
M ThInit: running on host ENP
M
M Tue Feb 02 10:23:03 2010
M calling db_connect ...
C Registering callback for dynamic profile parameters
C DB2 library successfully loaded DB2 library 'F:\usr\sap\ENP\DVEBMGS00\exe/db6_clidriver\bin\db2app64.dll' successfully loaded
C
C DB6 (DB2 UDB) UNICODE database interface 700.08 [opt]
C
C DB6 shared library (dbdb6slib) patchlevels
C (0.8) DB6: V8.2.2 optguidelines in OPEN SQL (note 150037)
C (0.8) Support of SDBUPDEXCL (note 847616)
C (0.9) DB6: use export file for dbdb6slib (note 835135)
C (0.9) DB6: Core in getAndBindSQLDA (note 833183)
C (0.10) DB6: link dbdb6slib.dll on windows with libdb6.obj (note 761159)
C (0.10) DB6: DUPLICATE_KEY on MERGE -> repeat (note 851474)
C (0.15) DB6: wrong CAST for short string ABAP type (note 861905)
C (0.17) DB6: special characters in sidadm passwd (note 865839)
C (0.21) DB6: no SAP_INFO comments (note 873889)
C (0.22) DB6: hints: get correlation names from view texts (note 868888)
C (0.23) DB6: hints: get correlation names from view texts (note 868888)
C (0.26) DB6: DB6_DBSL_CLP_COMMAND STRING_BAD_REF (note 883402)
C (0.27) DB6: activate value compression (note 886231)
C (0.28) DB6: optimization guidelines on views part 2 (note 868888)
C (0.30) DB6: no SQL trace for SQLCancel (note 892111)
C (0.33) DB6: append SAP_TA comment (note 873889)
C (0.34) DB6: activate value compression with quoted names (note 886231)
C (0.36) DB6: Repeat isolated DDL statements after SQL0911 (note 901338)
C (0.41) DB6: add V9 to list of supported DB2 releases (note 912386)
C (0.50) DB6: reread passwords for secondary connections (note 931742)
C (0.52) DB6: double quote table names in optguidelines (note 868888)
C (0.54) DB6: error handling in DBSL CLP (note 940260)
C (0.69) DB6: technical support of DB2 CLI driver (note 962892)
C (0.73) DB6: log table name on TRUNCATE failure (note 970743)
C (0.79) DB6: column type XML in index size calculation (note 982993)
C (0.82) DB6: CAST for SSTRING data types (note 989568)
C (0.86) DB6: long runtimes for R3szchk (note 1000847)
C (0.88) DB6: patch collection Dec 06 (note 1005574)
C (0.96) DB6: patch collection Jan 07 (note 1017852)
C (0.97) DB6: CLP commands with DB2 CLI Driver (note 1024102)
C (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note 1028779)
C (0.107) DB6: patch collection Apr 07 (note 1047194)
C (0.110) DB6: SAP user names ending with non-ASCII char (note 1054555)
C (0.113) DB6: work process type in application snapshot (note 1059905)
C (0.114) DB6: connect using SAPDBHOST and DB2DB6_SVCENAME (note 1062049)
C (0.117) DB6: patch for execution of long DDL statements (note 1069658)
C (0.122) DB6: SNAPSHOT_TBS_CFG table function is deprecated (note 1077963)
C (0.123) DB6: CLP commands on Windows with V9.1 (note 1080149)
C (0.124) DB6: Set DB2CODEPAGE=819 for non-Unicode (note 1084400)
C (0.126) DB6: reuse optguidelines on FAE statements (note 1087375)
C (0.126) DB6: Enforce DB2CODEPAGE=819 for non-Unicode environments (note 1084400)
C (0.128) DB6: db6_free on invalid memory area (note 1092030)
C (0.133) DB6: statement cache enhancements (note 1101031)
C (0.136) DB6: change for enhancement pack installer (note 1111536)
C (0.138) DB6: improoved table size estimate for DB8 V8 (note 1119934)
C (0.144) I5/OS ldappasswd support for 5250 terminal. (note 1129573)
C (0.144) MSSQL: ODBC fastload on separate connection (note 1131805)
C
C Supported features:
C
C ..retrieving configuration parameters
C ..done
C Running with UTF-8 Unicode
C
C Tue Feb 02 10:23:04 2010
C Running with CLI driver
C DB2 client driver version '09.01.0007'
C Connected to DB2 server type 'DB2/NT64'
C Connected to DB2 version '09.01.0007'
C Connect to 'ENP' as 'SAPENP' schema 'SAPENP' o.k.; con_hdl=0
C Database code page is ok.
C Database collating sequence is ok.
C DB2_WORKLOAD=SAP is set in DB2 registry as required.
C CLI Insert Buffering is disabled on single partition databases.
C DbSl trace SM50: switch request to level 1
C DbSlControl: returning SAPDBHOST='ENP'
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20100202 102303 ENP
C DbSlControl: returning SAPDBHOST='ENP'
M db_connect o.k.
M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
I
I Tue Feb 02 10:23:05 2010
I MtxInit: 0 0 0
M SHM_PRES_BUF (addr: 0000000015400050, size: 4400000)
M SHM_ROLL_AREA (addr: 000007FFDDA80050, size: 268435456)
M SHM_PAGING_AREA (addr: 0000000015840050, size: 134217728)
M SHM_ROLL_ADM (addr: 000000001D850050, size: 2678942)
M SHM_PAGING_ADM (addr: 000000001DAE0050, size: 525344)
M ThCreateNoBuffer allocated 544152 bytes for 1000 entries at 000000001DB70050
M ThCreateNoBuffer index size: 3000 elems
M ThCreateVBAdm allocated 12176 bytes (50 server) at 000000000AE50050
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation view
X ES initialized.
B db_con_shm_ini: WP_ID = 0, WP_CNT = 17, CON_ID = -1
B dbtbxbuf: Buffer TABL (addr: 0000000021540160, size: 30000000, end: 00000000231DC4E0)
B dbtbxbuf: Buffer TABLP (addr: 00000000231E0160, size: 10240000, end: 0000000023BA4160)
B dbexpbuf: Buffer EIBUF (addr: 0000000023BC0170, size: 4194304, end: 0000000023FC0170)
B dbexpbuf: Buffer ESM (addr: 0000000023FD0170, size: 4194304, end: 00000000243D0170)
B dbexpbuf: Buffer CUA (addr: 00000000243E0170, size: 3072000, end: 00000000246CE170)
B dbexpbuf: Buffer OTR (addr: 00000000246D0170, size: 4194304, end: 0000000024AD0170)
M CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
S *** init spool environment
S initialize debug system
T Stack direction is downwards.
T debug control: prepare exclude for printer trace
T new memory block 00000000128BEA10
S spool kernel/ddic check: Ok
S using table TSP02FX for frontend printing
S 1 spool work process(es) found
S frontend print via spool service enabled
S printer list size is 150
S printer type list size is 50
S queue size (profile) = 300
S hostspool list size = 3000
S option list size is 30
S found processing queue enabled
S found spool memory service RSPO-RCLOCKS at 000000002DDF00D0
S doing lock recovery
S setting server cache root
S found spool memory service RSPO-SERVERCACHE at 000000002DDF0610
S using messages for server info
S size of spec char cache entry: 297032 bytes (timeout 100 sec)
S size of open spool request entry: 2272 bytes
S immediate print option for implicitely closed spool requests is disabled
A
A -PXA--
A PXA INITIALIZATION
A PXA: Locked PXA-Semaphore.
A System page size: 4kb, total admin_size: 11460kb, dir_size: 11392kb.
A Attached to PXA (address 000007FFEDAB0050, size 300000K)
A abap/pxa = shared protect gen_remote
A PXA INITIALIZATION FINISHED
A -PXA--
A
A ABAP ShmAdm attached (addr=000007FF35ED5000 leng=20955136 end=000007FF372D1000)
A >> Shm MMADM area (addr=000007FF363AEF10 leng=244096 end=000007FF363EA890)
A >> Shm MMDAT area (addr=000007FF363EB000 leng=15622144 end=000007FF372D1000)
A RFC Destination> destination ENP_ENP_00 host ENP system ENP systnr 0 (ENP_ENP_00)
A RFC Options> H=ENP,S=00,d=2,
A RFC FRFC> fallback activ but this is not a central instance.
A
A RFC rfc/signon_error_log = -1
A RFC rfc/dump_connection_info = 0
A RFC rfc/dump_client_info = 0
A RFC rfc/cp_convert/ignore_error = 1
A RFC rfc/cp_convert/conversion_char = 23
A RFC rfc/wan_compress/threshold = 251
A RFC rfc/recorder_pcs not set, use defaule value: 2
A RFC rfc/delta_trc_level not set, use default value: 0
A RFC rfc/no_uuid_check not set, use default value: 0
A RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
A RFC Method> initialize RemObjDriver for ABAP Objects
M ThrCreateShObjects allocated 35354 bytes at 000000002DF60050
N SsfSapSecin: putenv(SECUDIR=F:\usr\sap\ENP\DVEBMGS00\sec): ok
N
N =================================================
N === SSF INITIALIZATION:
N ===...SSF Security Toolkit name SAPSECULIB .
N ===...SSF trace level is 0 .
N ===...SSF library is F:\usr\sap\ENP\DVEBMGS00\exe\sapsecu.dll .
N ===...SSF hash algorithm is SHA1 .
N ===...SSF symmetric encryption algorithm is DES-CBC .
N ===...completed with return code 5.
N =================================================
N MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
N MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
M JrfcVmcRegisterNativesDriver o.k.
W =================================================
W === ipl_Init() called
B dbtran INFO (init_connection '<DEFAULT>' [DB6:700.08]):
B max_blocking_factor = 30, max_in_blocking_factor = 60,
B min_blocking_factor = 1, min_in_blocking_factor = 1,
B prefer_union_all = 1, prefer_join = 1,
B prefer_fix_blocking = 0, prefer_in_itab_opt = 0,
B convert AVG = 1, alias table FUPD = 0,
B escape_as_literal = 0, opt GE LE to BETWEEN = 0,
B select * =0x0f, character encoding = STD / <none>:-,
B use_hints = abap->1, dbif->0x3, upto->2147483647, rule_in->0,
B rule_fae->0, concat_fae->0, concat_fae_or->0
W ITS Plugin: Path dw_gui
W ITS Plugin: Description ITS Plugin - ITS rendering DLL
W ITS Plugin: sizeof(SAP_UC) 2
W ITS Plugin: Release: 700, [7000.0.144.20050900]
W ITS Plugin: Int.version, [33]
W ITS Plugin: Feature set: [16]
W ===... Calling itsp_Init in external dll ===>
W === ipl_Init() returns 0, ITSPE_OK: OK
W =================================================
N VSI: WP init in ABAP VM completed with rc=0
E Enqueue Info: rdisp/wp_no_enq=1, rdisp/enqname=<empty>, assume ENP_ENP_00
E Replication is disabled
E EnqCcInitialize: local lock table initialization o.k.
E EnqId_SuppressIpc: local EnqId initialization o.k.
E EnqCcInitialize: local enqueue client init o.k.
M
M Tue Feb 02 10:23:06 2010
M SecAudit(RsauShmInit): WP attached to existing shared memory.
M SecAudit(RsauShmInit): addr of SCSA........... = 000000000A960050
M SecAudit(RsauShmInit): addr of RSAUSHM........ = 000000000A9607C0
M SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 000000000A960800
M SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 000000000A96080C
M
M Tue Feb 02 10:23:28 2010
M rdisp/rb_cleaned_rfc = 0
A
A Tue Feb 02 10:23:34 2010
A RFC FRFC> fallback on the central gateway ENP sapgw00 activ -
System start error after restore
Hi,
I have restored DB2 database from tape backup and applied logs to time before crash.
All processes ends successfully. But when I try to start sap system via startsap database "stands up", Java instance too, but ABAP instance ends with message:
Starting SAP Instance DVEBMSG_34
Killed
Startup of Instance failed
See /export/home/epdadm/startsap_DVEBMSG_34.log for details
In log file mentioned above isn't any details about reason why ABAP instance fail to run.
Is there any trace/debug method to see what causes startsap fail.
Of course I've search all files in /usr/sap/EPD/DVEBMGS34/work, but there aren't any usefull info.
PS. Tech. spec. OS: Solaris 10, DB: DB2 v9.1 FP3, NetWeaver 2004s, system consists of ABAP and JAVA instance
Thanks for any suggestions
MichaelHere is R3trans -x and trans.log
sapqassma:epdadm 15% R3trans -x
This is R3trans version 6.14 (release 700 - 25.01.08 - 14:11:00).
unicode enabled version
R3trans finished (0000).
trans.log
4 ETW000 R3trans version 6.14 (release 700 - 25.01.08 - 14:11:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 23.07.2008 - 10:47:47
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d -v
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Wed Jul 23 10:47:47 2008 495 0.000495
4 ETW000 [dev trc ,00000] db_con_init called 127 0.000622
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 146 0.000768
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/EPD/SYS/exe/run/dbdb6slib.so' ...
4 ETW000 484 0.001252
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/EPD/SYS/exe/run/dbdb6slib.so), hdl 0
4 ETW000 14650 0.015902
4 ETW000 [dev trc ,00000] Library '/usr/sap/EPD/SYS/exe/run/dbdb6slib.so' loaded
4 ETW000 249 0.016151
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/EPD/SYS/exe/run/dbdb6slib.so
4 ETW000 221 0.016372
4 ETW000 [dev trc ,00000] Version of '/usr/sap/EPD/SYS/exe/run/dbdb6slib.so' is "700.08", patchlevel (0.144)
4 ETW000 1012 0.017384
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/EPD/SYS/exe/run/dbdb6slib.so
4 ETW000 219 0.017603
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/EPD/SYS/exe/run/dbdb6slib.so
4 ETW000 210 0.017813
4 ETW000 [dev trc ,00000] New connection 0 created 230 0.018043
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 244 0.018287
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 136 0.018423
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 198 0.018621
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 232 0.018853
4 ETW000 [dev trc ,00000] DB2 library successfully loaded DB2 library '/db2/db2epd/sqllib/lib64/libdb2.so' successfully loaded
4 ETW000 68125 0.086978
4 ETW000 [dev trc ,00000] DB6 (DB2 UDB) UNICODE database interface 700.08 [opt]
4 ETW000 234 0.087212
4 ETW000 [dev trc ,00000] DB6 shared library (dbdb6slib) patchlevels 130 0.087342
4 ETW000 [dev trc ,00000] (0.8) DB6: V8.2.2 optguidelines in OPEN SQL (note 150037)
4 ETW000 205 0.087547
4 ETW000 [dev trc ,00000] (0.8) Support of SDBUPDEXCL (note 847616) 136 0.087683
4 ETW000 [dev trc ,00000] (0.9) DB6: use export file for dbdb6slib (note 835135)
4 ETW000 199 0.087882
4 ETW000 [dev trc ,00000] (0.9) DB6: Core in getAndBindSQLDA (note 833183)
4 ETW000 197 0.088079
4 ETW000 [dev trc ,00000] (0.10) DB6: link dbdb6slib.dll on windows with libdb6.obj (note 761159)
4 ETW000 224 0.088303
4 ETW000 [dev trc ,00000] (0.10) DB6: DUPLICATE_KEY on MERGE -> repeat (note 851474)
4 ETW000 202 0.088505
4 ETW000 [dev trc ,00000] (0.15) DB6: wrong CAST for short string ABAP type (note 861905)
4 ETW000 202 0.088707
4 ETW000 [dev trc ,00000] (0.17) DB6: special characters in sidadm passwd (note 865839)
4 ETW000 202 0.088909
4 ETW000 [dev trc ,00000] (0.21) DB6: no SAP_INFO comments (note 873889)
4 ETW000 197 0.089106
4 ETW000 [dev trc ,00000] (0.22) DB6: hints: get correlation names from view texts (note 868888)
4 ETW000 222 0.089328
4 ETW000 [dev trc ,00000] (0.23) DB6: hints: get correlation names from view texts (note 868888)
4 ETW000 206 0.089534
4 ETW000 [dev trc ,00000] (0.26) DB6: DB6_DBSL_CLP_COMMAND STRING_BAD_REF (note 883402)
4 ETW000 205 0.089739
4 ETW000 [dev trc ,00000] (0.27) DB6: activate value compression (note 886231)
4 ETW000 199 0.089938
4 ETW000 [dev trc ,00000] (0.28) DB6: optimization guidelines on views part 2 (note 868888)
4 ETW000 203 0.090141
4 ETW000 [dev trc ,00000] (0.30) DB6: no SQL trace for SQLCancel (note 892111)
4 ETW000 214 0.090355
4 ETW000 [dev trc ,00000] (0.33) DB6: append SAP_TA comment (note 873889)
4 ETW000 200 0.090555
4 ETW000 [dev trc ,00000] (0.34) DB6: activate value compression with quoted names (note 886231)
4 ETW000 205 0.090760
4 ETW000 [dev trc ,00000] (0.36) DB6: Repeat isolated DDL statements after SQL0911 (note 901338)
4 ETW000 205 0.090965
4 ETW000 [dev trc ,00000] (0.41) DB6: add V9 to list of supported DB2 releases (note 912386)
4 ETW000 203 0.091168
4 ETW000 [dev trc ,00000] (0.50) DB6: reread passwords for secondary connections (note 931742)
4 ETW000 219 0.091387
4 ETW000 [dev trc ,00000] (0.52) DB6: double quote table names in optguidelines (note 868888)
4 ETW000 206 0.091593
4 ETW000 [dev trc ,00000] (0.54) DB6: error handling in DBSL CLP (note 940260)
4 ETW000 198 0.091791
4 ETW000 [dev trc ,00000] (0.69) DB6: technical support of DB2 CLI driver (note 962892)
4 ETW000 202 0.091993
4 ETW000 [dev trc ,00000] (0.73) DB6: log table name on TRUNCATE failure (note 970743)
4 ETW000 201 0.092194
4 ETW000 [dev trc ,00000] (0.79) DB6: column type XML in index size calculation (note 982993)
4 ETW000 356 0.092550
4 ETW000 [dev trc ,00000] (0.82) DB6: CAST for SSTRING data types (note 989568)
4 ETW000 204 0.092754
4 ETW000 [dev trc ,00000] (0.86) DB6: long runtimes for R3szchk (note 1000847)
4 ETW000 203 0.092957
4 ETW000 [dev trc ,00000] (0.88) DB6: patch collection Dec 06 (note 1005574)
4 ETW000 199 0.093156
4 ETW000 [dev trc ,00000] (0.96) DB6: patch collection Jan 07 (note 1017852)
4 ETW000 198 0.093354
4 ETW000 [dev trc ,00000] (0.97) DB6: CLP commands with DB2 CLI Driver (note 1024102)
4 ETW000 201 0.093555
4 ETW000 [dev trc ,00000] (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note 1028779)
4 ETW000 221 0.093776
4 ETW000 [dev trc ,00000] (0.107) DB6: patch collection Apr 07 (note 1047194)
4 ETW000 199 0.093975
4 ETW000 [dev trc ,00000] (0.110) DB6: SAP user names ending with non-ASCII char (note 1054555)
4 ETW000 205 0.094180
4 ETW000 [dev trc ,00000] (0.113) DB6: work process type in application snapshot (note 1059905)
4 ETW000 204 0.094384
4 ETW000 [dev trc ,00000] (0.114) DB6: connect using SAPDBHOST and DB2DB6_SVCENAME (note 1062049)
4 ETW000 204 0.094588
4 ETW000 [dev trc ,00000] (0.117) DB6: patch for execution of long DDL statements (note 1069658)
4 ETW000 219 0.094807
4 ETW000 [dev trc ,00000] (0.122) DB6: SNAPSHOT_TBS_CFG table function is deprecated (note 1077963)
4 ETW000 208 0.095015
4 ETW000 [dev trc ,00000] (0.123) DB6: CLP commands on Windows with V9.1 (note 1080149)
4 ETW000 201 0.095216
4 ETW000 [dev trc ,00000] (0.124) DB6: Set DB2CODEPAGE=819 for non-Unicode (note 1084400)
4 ETW000 203 0.095419
4 ETW000 [dev trc ,00000] (0.126) DB6: reuse optguidelines on FAE statements (note 1087375)
4 ETW000 204 0.095623
4 ETW000 [dev trc ,00000] (0.126) DB6: Enforce DB2CODEPAGE=819 for non-Unicode environments (note 1084400)
4 ETW000 222 0.095845
4 ETW000 [dev trc ,00000] (0.128) DB6: db6_free on invalid memory area (note 1092030)
4 ETW000 204 0.096049
4 ETW000 [dev trc ,00000] (0.133) DB6: statement cache enhancements (note 1101031)
4 ETW000 201 0.096250
4 ETW000 [dev trc ,00000] (0.136) DB6: change for enhancement pack installer (note 1111536)
4 ETW000 203 0.096453
4 ETW000 [dev trc ,00000] (0.138) DB6: improoved table size estimate for DB8 V8 (note 1119934)
4 ETW000 205 0.096658
4 ETW000 [dev trc ,00000] (0.144) I5/OS ldappasswd support for 5250 terminal. (note 1129573)
4 ETW000 218 0.096876
4 ETW000 [dev trc ,00000] (0.144) MSSQL: ODBC fastload on separate connection (note 1131805)
4 ETW000 206 0.097082
4 ETW000 [dev trc ,00000] Supported features: 127 0.097209
4 ETW000 [dev trc ,00000] ..retrieving configuration parameters 127 0.097336
4 ETW000 [dev trc ,00000] ..done 487 0.097823
4 ETW000 [dev trc ,00000] Running with UTF-8 Unicode 133 0.097956
4 ETW000 [dev trc ,00000] Wed Jul 23 10:47:48 2008 1373400 1.471356
4 ETW000 [dev trc ,00000] DB2 client driver version '09.01.0003' 149 1.471505
4 ETW000 [dev trc ,00000] Connected to DB2 server type 'DB2/SUN64' 168 1.471673
4 ETW000 [dev trc ,00000] Connected to DB2 version '09.01.0003' 200 1.471873
4 ETW000 [dev trc ,00000] Connect to 'EPD' as 'SAPEPD' schema 'SAPEPD' o.k.; con_hdl=0
4 ETW000 11832 1.483705
4 ETW000 [dev trc ,00000] Database code page is ok. 155 1.483860
4 ETW000 [dev trc ,00000] Database collating sequence is ok. 85862 1.569722
4 ETW000 [dev trc ,00000] DB2_WORKLOAD=SAP is set in DB2 registry as required.
4 ETW000 26604 1.596326
4 ETW000 [dev trc ,00000] CLI Insert Buffering is disabled on single partition databases.
4 ETW000 2044 1.598370
4 ETW000 [dev trc ,00000] INFO: Unable to determine SAPDBHOST; defaulting to 'UNKNOWN'
4 ETW000 2274 1.600644
4 ETW000 [dev trc ,00000] Connection 0 opened (DBSL handle 0) 171 1.600815
4 ETW000 [dev trc ,00000] INFO: Unable to determine SAPDBHOST; defaulting to 'UNKNOWN'
4 ETW000 28183 1.628998
4 ETW000 [dev trc ,00000] NTAB: Structure of NTAB on DB is VERS_B 42992 1.671990
4 ETW000 [dev trc ,00000] NTAB: standalone processing 261 1.672251
4 ETW000 [dev trc ,00000] NTAB: read profile 132 1.672383
4 ETW000 [dev trc ,00000] NTAB: rsdb/ntab/entrycount 1000. 131 1.672514
4 ETW000 [dev trc ,00000] NTAB: rsdb/ntab/ftabsize 500. 129 1.672643
4 ETW000 [dev trc ,00000] NTAB: rsdb/ntab/irbdsize 100. 127 1.672770
4 ETW000 [dev trc ,00000] NTAB: rsdb/ntab/sntabsize 100. 129 1.672899
4 ETW000 [dev trc ,00000] NTAB: compute_hash_card: 2003. 190 1.673089
4 ETW000 [dev trc ,00000] NTAB: maxcnt 1000. 175 1.673264
4 ETW000 [dev trc ,00000] NTAB: hfactor 2003. 129 1.673393
4 ETW000 [dev trc ,00000] NTAB: mem_protocol_size 104 128 1.673521
4 ETW000 [dev trc ,00000] NTAB: hdr_backpack_offset 0 127 1.673648
4 ETW000 [dev trc ,00000] NTAB: hdr_backpack_size 0 127 1.673775
4 ETW000 [dev trc ,00000] NTAB: FTAB: header_size 80. 128 1.673903
4 ETW000 [dev trc ,00000] NTAB: FTAB: item_size 64. 127 1.674030
4 ETW000 [dev trc ,00000] NTAB: FTAB: item_cnt 1000. 128 1.674158
4 ETW000 [dev trc ,00000] NTAB: FTAB: unit_size 4 128 1.674286
4 ETW000 [dev trc ,00000] NTAB: FTAB: unit_cnt 128000. 127 1.674413
4 ETW000 [dev trc ,00000] NTAB: FTAB: data_size 512000. 280 1.674693
4 ETW000 [dev trc ,00000] NTAB: IREC: header_size 80. 131 1.674824
4 ETW000 [dev trc ,00000] NTAB: IREC: item_size 64. 128 1.674952
4 ETW000 [dev trc ,00000] NTAB: IREC: item_cnt 250. 127 1.675079
4 ETW000 [dev trc ,00000] NTAB: IREC: unit_size 8 126 1.675205
4 ETW000 [dev trc ,00000] NTAB: IREC: unit_cnt 12800. 128 1.675333
4 ETW000 [dev trc ,00000] NTAB: IREC: data_size 102400. 128 1.675461
4 ETW000 [dev trc ,00000] NTAB: STAB: header_size 80. 127 1.675588
4 ETW000 [dev trc ,00000] NTAB: STAB: item_size 64. 127 1.675715
4 ETW000 [dev trc ,00000] NTAB: STAB: item_cnt 250. 126 1.675841
4 ETW000 [dev trc ,00000] NTAB: STAB: unit_size 4 144 1.675985
4 ETW000 [dev trc ,00000] NTAB: STAB: unit_cnt 25600. 129 1.676114
4 ETW000 [dev trc ,00000] NTAB: STAB: data_size 102400. 128 1.676242
4 ETW000 [dev trc ,00000] NTAB: TTAB: header_size 184. 128 1.676370
4 ETW000 [dev trc ,00000] NTAB: TTAB: item_size 40. 127 1.676497
4 ETW000 [dev trc ,00000] NTAB: TTAB: item_cnt 1000. 127 1.676624
4 ETW000 [dev trc ,00000] NTAB: TTAB: unit_size 256 139 1.676763
4 ETW000 [dev trc ,00000] NTAB: TTAB: unit_cnt 1000. 129 1.676892
4 ETW000 [dev trc ,00000] NTAB: TTAB: data_size 256000. 129 1.677021
4 ETW000 [dev trc ,00000] NTAB: FTAB: hh_p 1017dc710, hh_len 80 843 1.677864
4 ETW000 [dev trc ,00000] NTAB: FTAB: aa_p 10186e390, aa_len 16024 139 1.678003
4 ETW000 [dev trc ,00000] NTAB: FTAB: ia_p 101872240, ia_len 64000 172 1.678175
4 ETW000 [dev trc ,00000] NTAB: FTAB: dat_p 101881c50, dat_len 512000 134 1.678309
4 ETW000 [dev trc ,00000] NTAB: IREC: hh_p 1017db620, hh_len 80 130 1.678439
4 ETW000 [dev trc ,00000] NTAB: IREC: aa_p 1018fec60, aa_len 16024 133 1.678572
4 ETW000 [dev trc ,00000] NTAB: IREC: ia_p 101902b10, ia_len 16000 131 1.678703
4 ETW000 [dev trc ,00000] NTAB: IREC: dat_p 1019069a0, dat_len 102400 132 1.678835
4 ETW000 [dev trc ,00000] NTAB: STAB: hh_p 1017db680, hh_len 80 129 1.678964
4 ETW000 [dev trc ,00000] NTAB: STAB: aa_p 10191f9b0, aa_len 16024 132 1.679096
4 ETW000 [dev trc ,00000] NTAB: STAB: ia_p 101923860, ia_len 16000 131 1.679227
4 ETW000 [dev trc ,00000] NTAB: STAB: dat_p 1019276f0, dat_len 102400 132 1.679359
4 ETW000 [dev trc ,00000] NTAB: TTAB: hh_p 1017e7a70, hh_len 184 146 1.679505
4 ETW000 [dev trc ,00000] NTAB: TTAB: aa_p 101940700, aa_len 16024 132 1.679637
4 ETW000 [dev trc ,00000] NTAB: TTAB: ia_p 1019445b0, ia_len 40000 132 1.679769
4 ETW000 [dev trc ,00000] NTAB: TTAB: dat_p 10194e200, dat_len 256000 132 1.679901
4 ETW000 [dev trc ,00000] NTAB: ntab_mem_protocol 1017e7a70, ntab_mp_p 1017e7a70, ntab_proc_id 0
4 ETW000 210 1.680111
4 ETW000 [dev trc ,00000] NTAB: FTAB: hh_p 1017dc710, ha_list 10186e390, hi_list 101872240, buffer 101881c50
4 ETW000 433 1.680544
4 ETW000 [dev trc ,00000] NTAB: IREC: hh_p 1017db620, ha_list 1018fec60, hi_list 101902b10, buffer 1019069a0
4 ETW000 208 1.680752
4 ETW000 [dev trc ,00000] NTAB: STAB: hh_p 1017db680, ha_list 10191f9b0, hi_list 101923860, buffer 1019276f0
4 ETW000 225 1.680977
4 ETW000 [dev trc ,00000] NTAB: TTAB: hh_p 1017e7ad8, ha_list 101940700, hi_list 1019445b0, buffer 10194e200
4 ETW000 208 1.681185
4 ETW000 [dev trc ,00000] NTAB: mem_handler: alloc for 500 elems, task 0, art 0
4 ETW000 237 1.681422
4 ETW000 [dev trc ,00000] NTAB: mem_handler: alloc for 500 elems, task 0, art 1
4 ETW000 255 1.681677
4 ETW000 [dev trc ,00000] NTAB: mem_handler: alloc for 500 elems, task 0, art 2
4 ETW000 252 1.681929
4 ETW000 [dev trc ,00000] NTAB: mem_handler: alloc for 500 elems, task 0, art 3
4 ETW000 270 1.682199
4 ETW000 [twdydbacc.c ,00571] i:0 3248 1.685447
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: PGMID 129 1.685576
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 1 120 1.685696
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 0 119 1.685815
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 4 118 1.685933
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:4 120 1.686053
4 ETW000 [twdydbacc.c ,00571] i:1 127 1.686180
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: OBJECT 120 1.686300
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 1 118 1.686418
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 4 137 1.686555
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 4 120 1.686675
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:4 120 1.686795
4 ETW000 [twdydbacc.c ,00571] i:2 125 1.686920
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: OBJ_NAME 119 1.687039
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 1 118 1.687157
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 8 119 1.687276
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 40 118 1.687394
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:40 119 1.687513
4 ETW000 [twdydbacc.c ,00571] i:3 124 1.687637
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: KORRNUM 135 1.687772
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 120 1.687892
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 48 119 1.688011
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 10 118 1.688129
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:10 119 1.688248
4 ETW000 [twdydbacc.c ,00571] i:4 125 1.688373
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: SRCSYSTEM 119 1.688492
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.688610
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 58 119 1.688729
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 10 118 1.688847
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:10 226 1.689073
4 ETW000 [twdydbacc.c ,00571] i:5 127 1.689200
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: AUTHOR 121 1.689321
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.689439
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 68 119 1.689558
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 12 118 1.689676
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:12 119 1.689795
4 ETW000 [twdydbacc.c ,00571] i:6 124 1.689919
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: SRCDEP 120 1.690039
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.690157
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 80 119 1.690276
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 1 9349 1.699625
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:1 127 1.699752
4 ETW000 [twdydbacc.c ,00571] i:7 127 1.699879
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: DEVCLASS 121 1.700000
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.700118
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 81 119 1.700237
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 30 118 1.700355
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:30 119 1.700474
4 ETW000 [twdydbacc.c ,00571] i:8 125 1.700599
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: GENFLAG 119 1.700718
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 136 1.700854
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 111 121 1.700975
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 1 118 1.701093
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:1 119 1.701212
4 ETW000 [twdydbacc.c ,00571] i:9 125 1.701337
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: EDTFLAG 119 1.701456
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 119 1.701575
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 112 119 1.701694
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 1 117 1.701811
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:1 119 1.701930
4 ETW000 [twdydbacc.c ,00571] i:10 141 1.702071
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: CPROJECT 121 1.702192
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.702310
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 113 120 1.702430
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 8 118 1.702548
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:8 118 1.702666
4 ETW000 [twdydbacc.c ,00571] i:11 126 1.702792
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: MASTERLANG 119 1.702911
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 119 1.703030
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 121 119 1.703149
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 1 118 1.703267
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:1 133 1.703400
4 ETW000 [twdydbacc.c ,00571] i:12 128 1.703528
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: VERSID 119 1.703647
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.703765
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 122 119 1.703884
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 20 119 1.704003
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:20 118 1.704121
4 ETW000 [twdydbacc.c ,00571] i:13 125 1.704246
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: PAKNOCHECK 120 1.704366
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.704484
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 142 134 1.704618
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 1 120 1.704738
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:1 120 1.704858
4 ETW000 [twdydbacc.c ,00571] i:14 126 1.704984
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: OBJSTABLTY 120 1.705104
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.705222
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 143 119 1.705341
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 1 118 1.705459
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:1 119 1.705578
4 ETW000 [twdydbacc.c ,00571] i:15 125 1.705703
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: COMPONENT 120 1.705823
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 134 1.705957
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 144 120 1.706077
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 30 119 1.706196
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:30 119 1.706315
4 ETW000 [twdydbacc.c ,00571] i:16 126 1.706441
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: CRELEASE 120 1.706561
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.706679
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 174 120 1.706799
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 10 118 1.706917
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:10 119 1.707036
4 ETW000 [twdydbacc.c ,00571] i:17 141 1.707177
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: DELFLAG 121 1.707298
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.707416
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 184 119 1.707535
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 1 118 1.707653
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:1 118 1.707771
4 ETW000 [twdydbacc.c ,00571] i:18 126 1.707897
4 ETW000 [twdydbacc.c ,00572] db_fd_p<i>.fname: TRANSLTTXT 120 1.708017
4 ETW000 [twdydbacc.c ,00573] db_fd_p<i>.is_key: 0 118 1.708135
4 ETW000 [twdydbacc.c ,00574] db_fd_p<i>.offset: 185 119 1.708254
4 ETW000 [twdydbacc.c ,00575] db_fd_p<i>.db_length: 1 214 1.708468
4 ETW000 [twdydbacc.c ,00576] db_fd_p<i>.fixed_length:1 122 1.708590
4 ETW000 [twdydbacc.c ,00730] buffer:'' 2005 1.710595
4 ETW000 [twdydbacc.c ,00735] i:0 129 1.710724
4 ETW000 [twdydbacc.c ,00736] tw_fd_p<i>.offset:0 119 1.710843
4 ETW000 [twdydbacc.c ,00735] i:1 118 1.710961
4 ETW000 [twdydbacc.c ,00736] tw_fd_p<i>.offset:4 118 1.711079
4 ETW000 [twdydbacc.c ,00735] i:2 118 1.711197
4 ETW000 [twdydbacc.c ,00736] tw_fd_p<i>.offset:8 117 1.711314
4 ETW000 [dev trc ,00000] { db_rtab( fcode = 'RT_READ_ONLY', tname = 'TADIR' ) {twdbcall.c:653}
4 ETW000 218 1.711532
4 ETW000 [dev trc ,00000] } db_rtab( fcode = 'RT_READ_ONLY', retcode = 0 )
4 ETW000 2049 1.713581
4 ETW000 Connected to DBMS = DB6 --- DB2DBDFT = 'EPD' --- SYSTEM = 'EPD'.
4 ETW000 [dev trc ,00000] { db_rtab( fcode = 'RT_INSERT', tname = 'PATCHHIST' ) {saprel.c:1252}
4 ETW000 1633 1.715214
4 ETW000 [dev trc ,00000] } db_rtab( fcode = 'RT_INSERT', retcode = 0 ) 3432 1.718646
4 ETW000 [dev trc ,00000] dsql_open (con_da=(0,R/3),stmt="SELECT EXECUTABLE,SAPRELEASE,H ...",#binds=0,name=UNKNOWN,#input=0)
4 ETW000 252 1.718898
4 ETW000 [dev trc ,00000] dsql_fetch (con_da=(0,R/3),cu_id=10,#output=8) 1957 1.720855
4 ETW000 [dev trc ,00000] dsql_close (con_da=(0,R/3),cu_id=10) 261 1.721116
4 ETW000 [dev trc ,00000] { db_rtab( fcode = 'RT_DELETE', tname = 'PATCHHIST' ) {saprel.c:1360}
4 ETW000 257 1.721373
4 ETW000 [dev trc ,00000] } db_rtab( fcode = 'RT_DELETE', retcode = 0 ) 1594 1.722967
4 ETW000 PATCHHIST was already up to date.
4 ETW690 COMMIT "0" "0"
4 ETW000 [dev trc ,00000] db_con_commit (con_da={R/3,0,0},th_commit=1,tx=1,hold_cursor=0)
4 ETW000 294 1.723261
4 ETW000 trace to file pointer closed
4 ETW000 trace at level 1 opened for a given file pointer
4 ETW000
4 ETW000 ================== STEP 1 =====================
4 ETW000 date&time : 23.07.2008 - 10:47:48
4 ETW000 function : CONNECT
4 ETW000 buffersync : YES
4 ETW000 clients : default
4 ETW000 l.s.m. : VECTOR
4 ETW000 commit : 100000
4 ETW000 table cache : dynamic
4 ETW000
4 ETW000 [dev trc ,00000] Disconnecting from ALL connections: 6713 0.006713
4 ETW000 [dev trc ,00000] disconnected from 'EPD', con_hdl=0 14255 0.020968
4 ETW000 [dev trc ,00000] Disconnected from connection 0 270 0.021238
4 ETW000 [dev trc ,00000] statistics db_con_commit (com_total=1, com_tx=1)
4 ETW000 201 0.021439
4 ETW000 [dev trc ,00000] statistics db_con_rollback (roll_total=0, roll_tx=0)
4 ETW000 196 0.021635
4 ETW000 Disconnected from database.
4 ETW000 End of Transport (0000).
4 ETW000 date&time: 23.07.2008 - 10:47:48
Michael -
Challenge passing parameters to discoverer report
Hello everyone, I am following the instructions on this website - http://learndiscoverer.blogspot.com/2008/11/metalink-note-304192.html
Basically, we want to use parameters for discoverer reports, especially date parameters because of some performance issues we have been having with discoverer.
Here is the process I am using. Please correct me if I am doing anythinng wrong.
1. Login to apps schema and create context
CREATE OR REPLACE CONTEXT DISCO_CONTEXT
USING EUL4_US.DISCO_PKG
2. Login to eul4_us schema and create package
CREATE OR REPLACE PACKAGE DISCO_PKG
AS
FUNCTION set_context(p_name VARCHAR2,
p_value VARCHAR2) RETURN VARCHAR2;
FUNCTION show_context(p_name VARCHAR2) RETURN VARCHAR2;
END disco_pkg;
CREATE OR REPLACE PACKAGE BODY DISCO_PKG
AS
FUNCTION set_context(p_name VARCHAR2,
p_value VARCHAR2) RETURN VARCHAR2
IS
BEGIN
dbms_session.set_context('DISCO_CONTEXT', p_name, p_value);
RETURN p_value;
END set_context;
FUNCTION show_context(p_name VARCHAR2) RETURN VARCHAR2
IS
BEGIN
RETURN SYS_CONTEXT('DISCO_CONTEXT', p_name);
END show_context;
END disco_pkg;
Then grant access to apps
GRANT ALL ON DISCO_PKG TO APPS;
Then import the functions show_context and set_context into discoverer
3. Go back to apps schema and create synonym
CREATE PUBLIC SYNONYM DISCO_PKG FOR EUL4_US.DISCO_PKG;
4. Create discoverer custom folder using the following query:
SELECT DISTINCT
pet.run_result_id
,papf.employee_number
FROM
per_all_people_f papf,
--hr_lookups hl,*
per_all_assignments_f paaf,
hr_all_organization_units haou,
per_jobs pj,
per_grades pg,
pay_people_groups ppg,
--per_addresses pa,*
--hr_locations_all hla,*
per_positions pps,
per_people_f ppf,
pay_assignment_actions paa,
pay_payroll_actions ppa,
PAY_RUN_RESULTS_V pet,
--pay_element_types_v1 pet,
pay_all_payrolls_f papaf
WHERE
papf.person_id=paaf.person_id
AND papf.employee_number=ppf.employee_number
AND paaf.organization_id=haou.organization_id
AND paaf.job_id=pj.job_id(+)
AND paaf.grade_id=pg.grade_id(+)
AND paaf.people_group_id=ppg.people_group_id(+)
AND paaf.position_id=pps.position_id(+)
AND paaf.business_group_id=0
AND paa.assignment_id = paaf.assignment_id
AND paa.payroll_action_id = ppa.payroll_action_id
AND paa.assignment_action_id=pet.assignment_action_id
AND paaf.payroll_id=papaf.payroll_id
AND ppa.effective_date BETWEEN paaf.effective_start_date AND paaf.effective_end_date
AND ppa.effective_date BETWEEN papf.effective_start_date AND papf.effective_end_date
AND ppa.action_type ='R'
AND ppa.action_status = 'C'
AND paaf.assignment_type = 'E'
AND paaf.primary_flag = 'Y'
AND haou.business_group_id=0
AND ppa.effective_date = TO_DATE(SYS_CONTEXT('DISCO_CONTEXT','PAYROLL_DATE'))
5. Create a parameter called Payroll Date. Default value is set to NULL and the "Create Condition" checkbox is unchecked.
6. Create a calculation
SET_CONTEXT('PAYROLL_DATE', TO_CHAR(:Payroll Date))
And that's it.
The thing is, this doesn't work for me.
But for the same query, if I enter the date value I am substituting, values show up. So it seems for some reason, the context value probably isn't being set or thereabouts.
I have tried setting the context manually in a TOAD session using:
declare
v_ret varchar2(50);
begin
--dbms_session.set_context('DISCO_CONTEXT', 'PAYROLL_DATE', '31-MAR-2010');
v_ret := disco_pkg.set_context('PAYROLL_DATE', '01-MAR-2010');
dbms_output.put_line(v_ret);
end;
And afterwards run the query:
select sys_context('DISCO_CONTEXT', 'PAYROLL_DATE') from dual
And results do show up here. So I'm wondering what could be wrong.
Please help.Hi ,
Are you saying I should create a new workbook that is not based on my custom folder for setting and showing the context value? You don't need to create a new workbook, you can just create a new worksheet in your report workbook, but you will need two sheets to use contexts. The sheet that sets the contexts should not be based on your custom folder, but on a folder that returns a single row. You cannot set and check contexts in a single SQL statement, so you have to have 2 worksheets.
You can default the contexts using a trigger or initialisation SQL so that the user only has to set the contexts if they are not using the defaults.
Rod West -
Central instance can not startup when i install the SAP /DB2 9 env
Hi,
could anybody help me? I just installed the SAP /db2 V9.1 on HACMP cluster envrioment . By now , the SCS, ASCS, DB instance installation have been OK, Unfortunately , an
error occurs when I installed the CI.
the error message is that "ABAP Database db must be started on remote server " i check the trans.log , the error message is "DbSlConnect to 'AE1' as 'sapae1' failed" the detail informatioin ,please check the the following trans.log. but i can startup and activate the database, i can connect to db with sapae1 and sapae1 user with password.
first i install the DB2 software and db2 instance with the virtual hostname dbae1. i found the hostname in the db2cfg.log is not virtual hostname but physical name. i don't know what happens. In order to keep the hostname the same, i installed the CI on sapaix01, the error message is the same as before. i have upgrade the sap kernel and reinstall the CI again, the error is the same as before too Could you give me some suggestion.
First let me describe our cluster enviroment
For CI, and DI are not a Single point of failure , so the DI and CI
are out of cluster. The cluster enviroment just includes the
SCSASCS and DB instance. SCSASCS is installed on sapaix02, DB instance is installed on sapaix01
1. Host name
sapaix01 : DB instance and DI (visual hostname dbae1)
sapaix02: SCS,ASCS, CI (visual hostname scsae1)
2. file systems (sapaix01 DB instance )
Sapaix01
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 6291456 4792544 24% 2808 1% /
/dev/hd2 13107200 6175040 53% 73295 10% /usr
/dev/hd9var 13107200 12816904 3% 1336 1% /var
/dev/hd3 61603840 35610304 43% 3844 1% /tmp
/dev/fwdump 786432 785656 1% 4 1%
/var/adm/ras/platform
/dev/hd1 1048576 1016152 4% 213 1% /home
/proc - - - - - /proc
/dev/hd10opt 4194304 2512624 41% 6241 3% /opt
/dev/lvusrsapae1d10 41943040 41935984 1% 4 1%
/usr/sap/AE1/D10 (Local file system)
/dev/lvdb2ae1 20971520 20927640 1% 38 1% /db2/AE1
/dev/lvdb2logs 20971520 18346424 13% 25 1%
/db2/AE1/log_dir
/dev/lvdb2archive 41943040 41935984 1% 4 1%
/db2/AE1/log_archive
/dev/lvae1sapdata1 104857600 18817168 83% 47 1%
/db2/AE1/sapdata1
/dev/lvae1sapdata2 104857600 18817400 83% 48 1%
/db2/AE1/sapdata2
/dev/lvae1sapdata3 104857600 18817184 83% 48 1%
/db2/AE1/sapdata3
/dev/lvae1sapdata4 104857600 18817168 83% 48 1%
/db2/AE1/sapdata4
/dev/lvdb2db2ae1 20971520 19874760 6% 3931 1% /db2/db2ae1
/dev/lvae1saptemp 20971520 20967584 1% 12 1%
/db2/AE1/saptemp1
/dev/lvdb2db2as 10485760 10483504 1% 4 1% /db2/db2as
/dev/lvae1db2dump 10485760 10470600 1% 8 1%
/db2/AE1/db2dump
scsae1:/export/usr/sap/trans 20971520 20967592 1% 16 1%
/usr/sap/trans
scsae1:/export/sapmnt/AE1 12582912 9886168 22% 1529 1%
/sapmnt/AE1
10.241.13.54:/software2 1755152384 1154051696 35% 62702 1%
/software2
For the database version is 9.1 , so I installed the db2 software in
/db2/db2ae1/v9 , and db2 client software in /opt/IBM/db2/V9.1 (for DI)
on sapaix01, db2 client software in /opt/IBM/db2/V9.1 (I installed the
db software with virtual hostname dbae1 not sapaix01 )
sapaix02
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 6291456 4915592 22% 2790 1% /
/dev/hd2 13107200 6177120 53% 73643 10% /usr
/dev/hd9var 13107200 12857456 2% 1311 1% /var
/dev/hd3 21495808 16955192 22% 3283 1% /tmp
/dev/fwdump 786432 785656 1% 4 1%
/var/adm/ras/platform
/dev/hd1 1048576 1046848 1% 105 1% /home
/proc - - - - - /proc
/dev/hd10opt 4194304 2197776 48% 9002 4% /opt
/dev/lvusrsapae1 20971520 20966872 1% 47 1% /usr/sap/AE1
/dev/lvae1ascs01 10485760 10243360 3% 86 1%
/usr/sap/AE1/ASCS01
/dev/lvae1scs00 20971520 20706584 2% 97 1%
/usr/sap/AE1/SCS00
/dev/lvsapmntae1 12582912 9886168 22% 1529 1%
/export/sapmnt/AE1
/dev/lvusrsaptrans 20971520 20967592 1% 16 1%
/export/usr/sap/trans
scsae1:/export/sapmnt/AE1 12582912 9886168 22% 1529 1%
/sapmnt/AE1
scsae1:/export/usr/sap/trans 20971520 20967592 1% 16 1%
/usr/sap/trans
10.241.13.54:/software2 1755152384 1154051696 35% 62702 1%
/software2
3. hosts file the file is the same on sapaix01 and sapaix02
10.241.13.121 dbae1
10.241.13.125 scsae1
10.10.11.1 sapaix01_boot1
10.10.11.2 sapaix02_boot1
10.10.10.1 sapaix01_boot2
10.10.10.2 sapaix02_boot2
10.241.13.71 sapaix01 sapaix01_per
10.241.13.72 sapaix02 sapaix02_per
4. the installation guide and error message please check the attachment
<<installation_and errorlog.zip>>
5. I run db2ilist command nothing disppear
I have another questions
* whether does DB2 9.1 support installation on the diffirence
directory (default is /opt/IBM/db2/V9.1 my installation is
/db2/db2ae1/V9)?
* Whether does DB2 9 installation has some relationship with
hostname ?
* Why db2ilist command result is nothing after I finished the
DB instance installation ?
trans.log
"trans.log" 143 lines, 14041 characters
4 ETW000 R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 10.03.2008 - 20:25:40
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Mon Mar 10 20:25:40 2008 70 0.000070
4 ETW000 [dev trc ,00000] db_con_init called 25 0.000095
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 42 0.000137
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/AE1/SYS/exe/run/dbdb6slib.o' ...
4 ETW000 60 0.000197
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/AE1/SYS/exe/run/dbdb6slib.o), hdl 0
4 ETW000 1018 0.001215
4 ETW000 [dev trc ,00000] Library '/usr/sap/AE1/SYS/exe/run/dbdb6slib.o' loaded
4 ETW000 39 0.001254
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/AE1/SYS/exe/run/dbdb6slib.o
4 ETW000 43 0.001297
4 ETW000 [dev trc ,00000] Version of '/usr/sap/AE1/SYS/exe/run/dbdb6slib.o' is "700.08", patchlevel (0.133)
4 ETW000 282 0.001579
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/AE1/SYS/exe/run/dbdb6slib.o
4 ETW000 42 0.001621
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/AE1/SYS/exe/run/dbdb6slib.o
4 ETW000 43 0.001664
4 ETW000 [dev trc ,00000] New connection 0 created 29 0.001693
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 00
0, con_max = 255, con_opt = 255, occ = NO
4 ETW000 50 0.001743
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 41 0.001784
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 40 0.001824
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000
, con_max = 255, con_opt = 255, occ = NO
4 ETW000 47 0.001871
4 ETW000 [dev trc ,00000] DB2 library successfully loaded DB2 library '/db2/db2ae1/sqllib/lib64/libdb2.a(shr_64.o)' suc
cessfully loaded
4 ETW000 9175 0.011046
4 ETW000 [dev trc ,00000] DB6 (DB2 UDB) UNICODE database interface 700.08 [opt]
4 ETW000 42 0.011088
4 ETW000 [dev trc ,00000] DB6 shared library (dbdb6slib) patchlevels 24 0.011112
4 ETW000 [dev trc ,00000] (0.8) DB6: V8.2.2 optguidelines in OPEN SQL (note 150037)
4 ETW000 42 0.011154
4 ETW000 [dev trc ,00000] (0.8) Support of SDBUPDEXCL (note 847616) 25 0.011179
4 ETW000 [dev trc ,00000] (0.9) DB6: use export file for dbdb6slib (note 835135)
4 ETW000 40 0.011219
4 ETW000 [dev trc ,00000] (0.9) DB6: Core in getAndBindSQLDA (note 833183)
4 ETW000 39 0.011258
4 ETW000 [dev trc ,00000] (0.10) DB6: link dbdb6slib.dll on windows with libdb6.obj (note 761159)
4 ETW000 51 0.011309
4 ETW000 [dev trc ,00000] (0.10) DB6: DUPLICATE_KEY on MERGE -> repeat (note 851474)
4 ETW000 40 0.011349
4 ETW000 [dev trc ,00000] (0.15) DB6: wrong CAST for short string ABAP type (note 861905)
4 ETW000 40 0.011389
4 ETW000 [dev trc ,00000] (0.17) DB6: special characters in sidadm passwd (note 865839)
4 ETW000 40 0.011429
4 ETW000 [dev trc ,00000] (0.21) DB6: no SAP_INFO comments (note 873889)
4 ETW000 39 0.011468
4 ETW000 [dev trc ,00000] (0.22) DB6: hints: get correlation names from view texts (note 868888)
4 ETW000 41 0.011509
4 ETW000 [dev trc ,00000] (0.23) DB6: hints: get correlation names from view texts (note 868888)
4 ETW000 41 0.011550
4 ETW000 [dev trc ,00000] (0.26) DB6: DB6_DBSL_CLP_COMMAND STRING_BAD_REF (note 883402)
4 ETW000 40 0.011590
4 ETW000 [dev trc ,00000] (0.27) DB6: activate value compression (note 886231)
4 ETW000 40 0.011630
4 ETW000 [dev trc ,00000] (0.28) DB6: optimization guidelines on views part 2 (note 868888)
4 ETW000 40 0.011670
4 ETW000 [dev trc ,00000] (0.30) DB6: no SQL trace for SQLCancel (note 892111)
4 ETW000 40 0.011710
4 ETW000 [dev trc ,00000] (0.33) DB6: append SAP_TA comment (note 873889)
4 ETW000 39 0.011749
4 ETW000 [dev trc ,00000] (0.34) DB6: activate value compression with quoted names (note 886231)
4 ETW000 41 0.011790
4 ETW000 [dev trc ,00000] (0.36) DB6: Repeat isolated DDL statements after SQL0911 (note 901338)
4 ETW000 41 0.011831
4 ETW000 [dev trc ,00000] (0.41) DB6: add V9 to list of supported DB2 releases (note 912386)
4 ETW000 41 0.011872
4 ETW000 [dev trc ,00000] (0.50) DB6: reread passwords for secondary connections (note 931742)
4 ETW000 41 0.011913
4 ETW000 [dev trc ,00000] (0.52) DB6: double quote table names in optguidelines (note 868888)
4 ETW000 41 0.011954
4 ETW000 [dev trc ,00000] (0.54) DB6: error handling in DBSL CLP (note 940260)
4 ETW000 39 0.011993
4 ETW000 [dev trc ,00000] (0.69) DB6: technical support of DB2 CLI driver (note 962892)
4 ETW000 40 0.012033
4 ETW000 [dev trc ,00000] (0.73) DB6: log table name on TRUNCATE failure (note 970743)
4 ETW000 40 0.012073
4 ETW000 [dev trc ,00000] (0.79) DB6: column type XML in index size calculation (note 982993)
4 ETW000 41 0.012114
4 ETW000 [dev trc ,00000] (0.82) DB6: CAST for SSTRING data types (note 989568)
4 ETW000 47 0.012161
4 ETW000 [dev trc ,00000] (0.86) DB6: long runtimes for R3szchk (note 1000847)
4 ETW000 39 0.012200
4 ETW000 [dev trc ,00000] (0.88) DB6: patch collection Dec 06 (note 1005574)
4 ETW000 40 0.012240
4 ETW000 [dev trc ,00000] (0.96) DB6: patch collection Jan 07 (note 1017852)
4 ETW000 39 0.012279
4 ETW000 [dev trc ,00000] (0.97) DB6: CLP commands with DB2 CLI Driver (note 1024102)
4 ETW000 41 0.012320
4 ETW000 [dev trc ,00000] (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note 1028779)
4 ETW000 41 0.012361
4 ETW000 [dev trc ,00000] (0.107) DB6: patch collection Apr 07 (note 1047194)
4 ETW000 39 0.012400
4 ETW000 [dev trc ,00000] (0.110) DB6: SAP user names ending with non-ASCII char (note 1054555)
4 ETW000 41 0.012441
4 ETW000 [dev trc ,00000] (0.113) DB6: work process type in application snapshot (note 1059905)
4 ETW000 41 0.012482
4 ETW000 [dev trc ,00000] (0.114) DB6: connect using SAPDBHOST and DB2DB6_SVCENAME (note 1062049)
4 ETW000 41 0.012523
4 ETW000 [dev trc ,00000] (0.117) DB6: patch for execution of long DDL statements (note 1069658)
4 ETW000 41 0.012564
4 ETW000 [dev trc ,00000] (0.122) DB6: SNAPSHOT_TBS_CFG table function is deprecated (note 1077963)
4 ETW000 41 0.012605
4 ETW000 [dev trc ,00000] (0.123) DB6: CLP commands on Windows with V9.1 (note 1080149)
4 ETW000 40 0.012645
4 ETW000 [dev trc ,00000] (0.124) DB6: Set DB2CODEPAGE=819 for non-Unicode (note 1084400)
4 ETW000 40 0.012685
4 ETW000 [dev trc ,00000] (0.126) DB6: reuse optguidelines on FAE statements (note 1087375)
4 ETW000 41 0.012726
4 ETW000 [dev trc ,00000] (0.126) DB6: Enforce DB2CODEPAGE=819 for non-Unicode environments (note 1084400)
4 ETW000 42 0.012768
4 ETW000 [dev trc ,00000] (0.128) DB6: db6_free on invalid memory area (note 1092030)
4 ETW000 40 0.012808
4 ETW000 [dev trc ,00000] (0.133) DB6: statement cache enhancements (note 1101031)
4 ETW000 40 0.012848
4 ETW000 [dev trc ,00000] Supported features: 24 0.012872
4 ETW000 [dev trc ,00000] ..retrieving configuration parameters 24 0.012896
4 ETW000 [dev trc ,00000] ..done 126 0.013022
4 ETW000 [dev trc ,00000] Running with UTF-8 Unicode 25 0.013047
4 ETW000 [dev trc ,00000] *** ERROR in DB6Connect[dbdb6.c, 1640] CON = 0 (BEGIN)
4 ETW000 67222 0.080269
4 ETW000 [dev trc ,00000] &+ DbSlConnectDB6( SQLConnect ): [IBM][CLI Driver] SQL30082N Security processing failed
with reason "24" ("USERNAME
4 ETW000 48 0.080317
4 ETW000 [dev trc ,00000] &+ AND/OR PASSWORD INVALID"). SQLSTATE=08001
4 ETW000 45 0.080362
4 ETW000 [dev trc ,00000] &+
4 ETW000 45 0.080407
4 ETW000 [dev trc ,00000] &+
4 ETW000 46 0.080453
4 ETW000 [dev trc ,00000] &+
4 ETW000 45 0.080498
4 ETW000 [dev trc ,00000] *** ERROR in DB6Connect[dbdb6.c, 1640] (END) 26 0.080524
4 ETW000 [dbdb6.c ,00000] *** ERROR => DbSlConnect to 'AE1' as 'sapae1' failed
4 ETW000 71 0.080595
2EETW169 no connect possible: "DBMS = DB6 --- DB2DBDFT = 'AE1'"Hi,
have you tried to connect on the command line (instead of using R3trans) ?
db2 connect to AE1 user sapae1 using .....
If this works and you have verified that the DB2DB6EKEY is set properly, use dscdb6up to update the password in the password file dscbd6.conf.
Then try again to use R3trans to connect.
Best regards,
Jens -
How to get background image to fill the browser and remain fixed in both IE and Firefox?
Basically what it says in the title. I've come very close in achieving this but something just doesn't tie up in the html and css code...
First of all, I'm using IE8 and the latest version of Firefox to test this.
I used 2 sources of information for getting this done: 1) http://css-tricks.com/perfect-full-page-background-image/ and 2) http://stackoverflow.com/questions/8958697/css3-background-size-cover-doesnt-make-image-co ver-vertically
In Case 1 the example on the page called CSS-Only Technique #1 gives code that works almost perfectly for me, except that obviously I need a background image, however the CSS provided there is clearly just for an image dropped in the body of a page with no regard for other content that may already be there. The html code that I put on the page is simply <img class="bg" src="../images/background_image.jpg">
Obviously I used the CSS code provided in the example, minus the last bit which is "@media screen" etc etc, which seems irrelevant to me. Obviously substituting values to suit the image on my page.
So what happened is that it almost worked as intended in both the browsers (which means the image filled both browsers width-wise as intended and also remained fixed when I zoomed in or out in each case) except that the image went over the top of the current content that I had there already precisely because it's not a background in this "technique". (A curious side-note is that the image didn't push down the content, as I'd have expected in normal circumstances, but went right over the top of it so it hid it (like z-index).
One thing that does bother me about this "technique" is that if you click on View Demo just below the code provided you will see on the working example page (forest background) the image clearly works as a background and the content sits happily on top! So I don't know whether the person providing the example was trying to mislead people or what! Or he got lazy and showed a different page that didn't use the exact code he provided. No matter.
In any case this leaves me with the job only half finished, as I still need a background image that works like the 'normal image' code provided.
On to Case 2 and on this page the first example provided gives the CSS for the background image - namely the code within html {...} part and also shows the same 'normal image' code as given in Case 1. In this case however, although the person provided a suggestion, the css and html doesn't really tie up properly plus some of the css and html seems a bit redundant. So this time when I used the 'html portion' of the CSS code (i.e. just the bit that was most relevant) I got two different behaviours in each browser and neither of which was quite what I'm looking for. In IE8 initially the page looks fine (background fills the page and content is on top) however when I zoom in or out the background also zooms in or out accordingly so is NOT fixed. In Firefox the background image DOES stay fixed, however because the image originally is not the whole height of the browser I'm guessing the code stretches it downwards (while keeping proportions - so the image essentially enlarges) to fill all of it. The quick way to get around it is to probably add some white space to the bottom of the image just to give it enough height that it doesn't stretch/resize automatically. But it would be nice to find out anyway how to get around this in the code. Overall I would say that the result in Firefox comes closest to the desired solution but of course it doesn't help matters with IE8.
Apologies for the lengthy description but that should at least provide plenty info for anybody that might have a possible solution for me. Essentially what would be great is if somebody could advise me how to take the code from Case 1 and apply it to a 'background' piece of coding like the type that's contained within html {...} in Case 2. Like I said, it's so nearly there but I just can't make it work atm after trying to combine the various bits of code this way and that... Alternatively, if somebody has another html-css version that works nicely for achieving this then please by all means let me know! Thanks v much in advance!This works in modern CSS3 supporting browsers. But not pre-IE9.
http://alt-web.com/TEST/Resizable-BG.shtml
Nancy O. -
Hi Experts,
I am in phase start instance in doing hetero system copy for our solman server.
sapinst.log
INFO 2008-08-09 01:46:33.712
State of instance SLM/DVEBMGS00 changed from ABAP: UNKNOWN to ABAP: UNKNOWN.
INFO 2008-08-09 01:46:59.727
Connect to message server (portal01/3900) succeeded.
INFO 2008-08-09 01:46:59.727
Disconnect from message server (portal01/3900) succeeded.
INFO 2008-08-09 01:46:59.727
Connect to message server (portal01/3900) succeeded.
INFO 2008-08-09 01:46:59.727
Disconnect from message server (portal01/3900) succeeded.
INFO 2008-08-09 01:47:28.852
Connect to message server (portal01/3900) succeeded.
INFO 2008-08-09 01:47:28.852
Disconnect from message server (portal01/3900) succeeded.
INFO 2008-08-09 01:47:28.852
Connect to message server (portal01/3900) succeeded.
INFO 2008-08-09 01:47:28.852
Disconnect from message server (portal01/3900) succeeded.
INFO 2008-08-09 01:47:28.962
State of instance SLM/DVEBMGS00 changed from ABAP: STARTING to ABAP: STARTING.
ERROR 2008-08-09 01:47:28.962
CJS-30105 Instance SLM/DVEBMGS00 reached state SHUTDOWN after having state STARTING. Giving up.
ERROR 2008-08-09 01:47:29.56
FCO-00011 The step start with step key |NW_Doublestack_OneHoThis is r3trans version 6.14 (release 700 - 14.02.08 - 14:55:00).
unicode enabled version
2EETW169 no connect possible: "DBMS = DB6 --- DB2DB
DFT = 'SLM'"
r3trans finished (0012).st|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Start|ind|ind|ind|ind|1|0|start was executed with status ERROR ( Last error reported by the step :Instance SLM/DVEBMGS00 reached state SHUTDOWN after having state STARTING. Giving up.).
trans.log
4 ETW000 R3trans was called as follows: r3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Sat Aug 09 01:18:12 2008 0 0.000000
4 ETW000 [dev trc ,00000] db_con_init called 0 0.000000
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 0 0.000000
4 ETW000 [dev trc ,00000] Loading DB library 'D:\usr\sap\SLM\SYS\exe\uc\NTAMD64\dbdb6slib.dll' ...
4 ETW000 0 0.000000
4 ETW000 [dev trc ,00000] load shared library (D:\usr\sap\SLM\SYS\exe\uc\NTAMD64\dbdb6slib.dll), hdl 0
4 ETW000 7233 0.007233
4 ETW000 [dev trc ,00000] using "D:\usr\sap\SLM\SYS\exe\uc\NTAMD64\dbdb6slib.dll"
4 ETW000 13 0.007246
4 ETW000 [dev trc ,00000] Library 'D:\usr\sap\SLM\SYS\exe\uc\NTAMD64\dbdb6slib.dll' loaded
4 ETW000 14 0.007260
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library D:\usr\sap\SLM\SYS\exe\uc\NTAMD64\dbdb6slib.dll
4 ETW000 21 0.007281
4 ETW000 [dev trc ,00000] Version of 'D:\usr\sap\SLM\SYS\exe\uc\NTAMD64\dbdb6slib.dll' is "700.08", patchlevel (0.167)
4 ETW000 908 0.008189
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library D:\usr\sap\SLM\SYS\exe\uc\NTAMD64\dbdb6slib.dll
4 ETW000 15 0.008204
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library D:\usr\sap\SLM\SYS\exe\uc\NTAMD64\dbdb6slib.dll
4 ETW000 25 0.008229
4 ETW000 [dev trc ,00000] New connection 0 created 37 0.008266
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 51 0.008317
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 23 0.008340
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 13 0.008353
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 17 0.008370
4 ETW000 [dev trc ,00000] Sat Aug 09 01:18:13 2008 567617 0.575987
4 ETW000 [dev trc ,00000] DB2 library successfully loaded DB2 library '
portal01\sapmnt\SLM\SYS\global\db6\WINDOWS_AMD64\db6_clidriver\bin\db2app64.dll' successfully loaded
4 ETW000 105 0.576092
4 ETW000 [dev trc ,00000] DB6 (DB2 UDB) UNICODE database interface 700.08 [opt]
4 ETW000 25 0.576117
4 ETW000 [dev trc ,00000] DB6 shared library (dbdb6slib) patchlevels 8 0.576125
4 ETW000 [dev trc ,00000] (0.8) DB6: V8.2.2 optguidelines in OPEN SQL (note 150037)
4 ETW000 12 0.576137
4 ETW000 [dev trc ,00000] (0.8) Support of SDBUPDEXCL (note 847616) 73 0.576210
4 ETW000 [dev trc ,00000] (0.9) DB6: use export file for dbdb6slib (note 835135)
4 ETW000 17 0.576227
4 ETW000 [dev trc ,00000] (0.9) DB6: Core in getAndBindSQLDA (note 833183)
4 ETW000 12 0.576239
4 ETW000 [dev trc ,00000] (0.10) DB6: link dbdb6slib.dll on windows with libdb6.obj (note 761159)
4 ETW000 12 0.576251
4 ETW000 [dev trc ,00000] (0.10) DB6: DUPLICATE_KEY on MERGE -> repeat (note 851474)
4 ETW000 11 0.576262
4 ETW000 [dev trc ,00000] (0.15) DB6: wrong CAST for short string ABAP type (note 861905)
4 ETW000 12 0.576274
4 ETW000 [dev trc ,00000] (0.17) DB6: special characters in sidadm passwd (note 865839)
4 ETW000 12 0.576286
4 ETW000 [dev trc ,00000] (0.21) DB6: no SAP_INFO comments (note 873889)
4 ETW000 11 0.576297
4 ETW000 [dev trc ,00000] (0.22) DB6: hints: get correlation names from view texts (note 868888)
4 ETW000 12 0.576309
4 ETW000 [dev trc ,00000] (0.23) DB6: hints: get correlation names from view texts (note 868888)
4 ETW000 12 0.576321
4 ETW000 [dev trc ,00000] (0.26) DB6: DB6_DBSL_CLP_COMMAND STRING_BAD_REF (note 883402)
4 ETW000 11 0.576332
4 ETW000 [dev trc ,00000] (0.27) DB6: activate value compression (note 886231)
4 ETW000 11 0.576343
4 ETW000 [dev trc ,00000] (0.28) DB6: optimization guidelines on views part 2 (note 868888)
4 ETW000 12 0.576355
4 ETW000 [dev trc ,00000] (0.30) DB6: no SQL trace for SQLCancel (note 892111)
4 ETW000 11 0.576366
4 ETW000 [dev trc ,00000] (0.33) DB6: append SAP_TA comment (note 873889)
4 ETW000 11 0.576377
4 ETW000 [dev trc ,00000] (0.34) DB6: activate value compression with quoted names (note 886231)
4 ETW000 12 0.576389
4 ETW000 [dev trc ,00000] (0.36) DB6: Repeat isolated DDL statements after SQL0911 (note 901338)
4 ETW000 13 0.576402
4 ETW000 [dev trc ,00000] (0.41) DB6: add V9 to list of supported DB2 releases (note 912386)
4 ETW000 11 0.576413
4 ETW000 [dev trc ,00000] (0.50) DB6: reread passwords for secondary connections (note 931742)
4 ETW000 12 0.576425
4 ETW000 [dev trc ,00000] (0.52) DB6: double quote table names in optguidelines (note 868888)
4 ETW000 12 0.576437
4 ETW000 [dev trc ,00000] (0.54) DB6: error handling in DBSL CLP (note 940260)
4 ETW000 11 0.576448
4 ETW000 [dev trc ,00000] (0.69) DB6: technical support of DB2 CLI driver (note 962892)
4 ETW000 20 0.576468
4 ETW000 [dev trc ,00000] (0.73) DB6: log table name on TRUNCATE failure (note 970743)
4 ETW000 13 0.576481
4 ETW000 [dev trc ,00000] (0.79) DB6: column type XML in index size calculation (note 982993)
4 ETW000 12 0.576493
4 ETW000 [dev trc ,00000] (0.82) DB6: CAST for SSTRING data types (note 989568)
4 ETW000 12 0.576505
4 ETW000 [dev trc ,00000] (0.86) DB6: long runtimes for R3szchk (note 1000847)
4 ETW000 11 0.576516
4 ETW000 [dev trc ,00000] (0.88) DB6: patch collection Dec 06 (note 1005574)
4 ETW000 12 0.576528
4 ETW000 [dev trc ,00000] (0.96) DB6: patch collection Jan 07 (note 1017852)
4 ETW000 11 0.576539
4 ETW000 [dev trc ,00000] (0.97) DB6: CLP commands with DB2 CLI Driver (note 1024102)
4 ETW000 11 0.576550
4 ETW000 [dev trc ,00000] (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note 1028779)
4 ETW000 12 0.576562
4 ETW000 [dev trc ,00000] (0.107) DB6: patch collection Apr 07 (note 1047194)
4 ETW000 11 0.576573
4 ETW000 [dev trc ,00000] (0.110) DB6: SAP user names ending with non-ASCII char (note 1054555)
4 ETW000 13 0.576586
4 ETW000 [dev trc ,00000] (0.113) DB6: work process type in application snapshot (note 1059905)
4 ETW000 12 0.576598
4 ETW000 [dev trc ,00000] (0.114) DB6: connect using SAPDBHOST and DB2DB6_SVCENAME (note 1062049)
4 ETW000 12 0.576610
4 ETW000 [dev trc ,00000] (0.117) DB6: patch for execution of long DDL statements (note 1069658)
4 ETW000 12 0.576622
4 ETW000 [dev trc ,00000] (0.122) DB6: SNAPSHOT_TBS_CFG table function is deprecated (note 1077963)
4 ETW000 12 0.576634
4 ETW000 [dev trc ,00000] (0.123) DB6: CLP commands on Windows with V9.1 (note 1080149)
4 ETW000 12 0.576646
4 ETW000 [dev trc ,00000] (0.124) DB6: Set DB2CODEPAGE=819 for non-Unicode (note 1084400)
4 ETW000 12 0.576658
4 ETW000 [dev trc ,00000] (0.126) DB6: reuse optguidelines on FAE statements (note 1087375)
4 ETW000 12 0.576670
4 ETW000 [dev trc ,00000] (0.126) DB6: Enforce DB2CODEPAGE=819 for non-Unicode environments (note 1084400)
4 ETW000 12 0.576682
4 ETW000 [dev trc ,00000] (0.128) DB6: db6_free on invalid memory area (note 1092030)
4 ETW000 12 0.576694
4 ETW000 [dev trc ,00000] (0.133) DB6: statement cache enhancements (note 1101031)
4 ETW000 11 0.576705
4 ETW000 [dev trc ,00000] (0.136) DB6: change for enhancement pack installer (note 1111536)
4 ETW000 20 0.576725
4 ETW000 [dev trc ,00000] (0.138) DB6: improoved table size estimate for DB8 V8 (note 1119934)
4 ETW000 13 0.576738
4 ETW000 [dev trc ,00000] (0.144) I5/OS ldappasswd support for 5250 terminal. (note 1129573)
4 ETW000 12 0.576750
4 ETW000 [dev trc ,00000] (0.144) MSSQL: ODBC fastload on separate connection (note 1131805)
4 ETW000 11 0.576761
4 ETW000 [dev trc ,00000] (0.148) DB6: allocate new CLI env handle if PID changes (note 1141570)
4 ETW000 12 0.576773
4 ETW000 [dev trc ,00000] (0.150) DB6: USE AND KEEP EXCLUSIVE LOCKS clause lost (note 1145580)
4 ETW000 13 0.576786
4 ETW000 [dev trc ,00000] (0.151) DB6: projection views on virtual tables (note 1146142)
4 ETW000 11 0.576797
4 ETW000 [dev trc ,00000] (0.152) Corrections of odbc-based dbsl (note 1135165)
4 ETW000 12 0.576809
4 ETW000 [dev trc ,00000] (0.156) "DB6: TRUNCATE on table with DELETE triggers" (note 1156597)
4 ETW000 12 0.576821
4 ETW000 [dev trc ,00000] (0.164) DB6: patch collection 06/08 (note 1172220)
4 ETW000 11 0.576832
4 ETW000 [dev trc ,00000] (0.167) DB2 - z/OS: performance improvement for long running LUWs (note 1179742)
4 ETW000 13 0.576845
4 ETW000 [dev trc ,00000] Supported features: 6 0.576851
4 ETW000 [dev trc ,00000] ..retrieving configuration parameters 22 0.576873
4 ETW000 [dev trc ,00000] ..done 384 0.577257
4 ETW000 [dev trc ,00000] Running with UTF-8 Unicode 9 0.577266
4 ETW000 [dev trc ,00000] Running with CLI driver 445377 1.022643
4 ETW000 [dev trc ,00000] Sat Aug 09 01:18:14 2008 397090 1.419733
4 ETW000 [dev trc ,00000] *** ERROR in DB6Connect[dbdb6.c, 1695] CON = 0 (BEGIN)
4 ETW000 26 1.419759
4 ETW000 [dev trc ,00000] &+ DbSlConnectDB6( SQLConnect ): [IBM][CLI Driver] SQL30082N Security processing failed with reason "24" ("USERNAME
4 ETW000 18 1.419777
4 ETW000 [dev trc ,00000] &+ AND/OR PASSWORD INVALID"). SQLSTATE=08001
4 ETW000 16 1.419793
4 ETW000 [dev trc ,00000] &+
4 ETW000 15 1.419808
4 ETW000 [dev trc ,00000] &+
4 ETW000 37 1.419845
4 ETW000 [dev trc ,00000] &+
4 ETW000 116 1.419961
4 ETW000 [dev trc ,00000] *** ERROR in DB6Connect[dbdb6.c, 1695] (END) 11 1.419972
4 ETW000 [dbdb6.c ,00000] *** ERROR => DbSlConnect to 'SLM' as 'sapslm' failed
4 ETW000 14706 1.434678
2EETW169 no connect possible: "DBMS = DB6 --- DB2DBDFT = 'SLM'"
I tested db2 connection and succeeded, and tried to change regenerate dscdb6up file by changing the password, but failed.
I tried to regenerate dsdb6up.conf file by changing the password.
Need your assistance, since the system is needed asap.
Thanks and Regards,
RudiHi Frank,
Thanks for your reply, i run the given command and it showed the following message:
db2 => connect to DB user sapslm using <pwd>
SQL1013N The database alias name or database name "DB" could not be found.
SQLSTATE=42705
I changed the command with:
db2 => connect user sapslm using <pwd>
Database Connection Information
Database server = DB2/NT64 9.5.0
SQL authorization ID = SAPSLM
Local database alias = SLM
db2 => connect user slmadm using <pwd>
Database Connection Information
Database server = DB2/NT64 9.5.0
SQL authorization ID = SLMADM
Local database alias = SLM
Then, i re-generate dscdb6up.conf file with:
dscdb6up -create <pwd> <pwd>
and restart installing but still not work.
Did i miss something?
Please advise.
Thanks and Regards,
Rudi -
Unabl to start sap (DISP+WORK Stopped) While installing/importing database
Dear Experts, As iam installing/ importing windows ecc 6.0 sr3 & DB2 9.5 ( Database exported using Hetrogeneous system copy from sqlserver 2005 to DB2), All phases finished and finally start sap failed due to db connect failure and i have tried by mmc and command mode but no hope. . Kindly help. trans log file and dev_w0 files below.
_Trans log file_
4 ETW000 r3trans version 6.14 (release 700 - 05.03.09 - 08:28:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 06.10.2009 - 05:15:05
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -x
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Tue Oct 06 05:15:07 2009 0 0.000000
4 ETW000 [dev trc ,00000] db_con_init called 0 0.000000
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 0 0.000000
4 ETW000 [dev trc ,00000] Loading DB library 'dbdb6slib.dll' ... 0 0.000000
4 ETW000 [dev trc ,00000] load shared library (dbdb6slib.dll), hdl 0 9294 0.009294
4 ETW000 [dev trc ,00000] using "E:\usr\sap\SA4\SYS\exe\uc\NTAMD64\dbdb6slib.dll" 41 0.009335
4 ETW000 [dev trc ,00000] Library 'dbdb6slib.dll' loaded 25 0.009360
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dbdb6slib.dll 23 0.009383
4 ETW000 [dev trc ,00000] Version of 'dbdb6slib.dll' is "700.08", patchlevel (0.201) 641 0.010024
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dbdb6slib.dll 26 0.010050
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dbdb6slib.dll 26 0.010076
4 ETW000 [dev trc ,00000] New connection 0 created 36 0.010112
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 50 0.010162
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 31 0.010193
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse: 24 0.010217
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 40 0.010257
4 ETW000 [dev trc ,00000] Tue Oct 06 05:15:08 2009 472441 0.482698
4 ETW000 [dev trc ,00000] DB2 library successfully loaded DB2 library '
mascon-sap2\sapmnt\SA4\SYS\global\db6\WINDOWS_AMD64\db6_clidriver\bin\db2app64.dll' successfully loaded
4 ETW000 51 0.482749
4 ETW000 35 0.483487
4 ETW000 [dev trc ,00000] (0.54) DB6: error handling in DBSL CLP (note 940260) 24 0.483511
4 ETW000 [dev trc ,00000] (0.69) DB6: technical support of DB2 CLI driver (note 962892) 25 0.483536
4 ETW000 [dev trc ,00000] (0.73) DB6: log table name on TRUNCATE failure (note 970743) 24 0.483560
4 ETW000 [dev trc ,00000] (0.79) DB6: column type XML in index size calculation (note 982993)
4 ETW000 34 0.483594
4 ETW000 [dev trc ,00000] (0.82) DB6: CAST for SSTRING data types (note 989568) 24 0.483618
4 ETW000 [dev trc ,00000] (0.86) DB6: long runtimes for R3szchk (note 1000847) 24 0.483642
4 ETW000 [dev trc ,00000] (0.88) DB6: patch collection Dec 06 (note 1005574) 24 0.483666
4 ETW000 [dev trc ,00000] (0.96) DB6: patch collection Jan 07 (note 1017852) 24 0.483690
4 ETW000 [dev trc ,00000] (0.97) DB6: CLP commands with DB2 CLI Driver (note 1024102) 24 0.483714
4 ETW000 [dev trc ,00000] (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note 1028779) 25 0.483739
4 ETW000 [dev trc ,00000] (0.107) DB6: patch collection Apr 07 (note 1047194) 24 0.483763
4 ETW000 [dev trc ,00000] (0.110) DB6: SAP user names ending with non-ASCII char (note 1054555)
4 ETW000 37 0.483800
4 ETW000 [dev trc ,00000] (0.113) DB6: work process type in application snapshot (note 1059905)
4 ETW000 88 0.483888
4 ETW000 [dev trc ,00000] (0.114) DB6: connect using SAPDBHOST and DB2DB6_SVCENAME (note 1062049)
4 ETW000 35 0.483923
4 ETW000 [dev trc ,00000] (0.117) DB6: patch for execution of long DDL statements (note 1069658)
4 ETW000 35 0.483958
4 ETW000 [dev trc ,00000] (0.122) DB6: SNAPSHOT_TBS_CFG table function is deprecated (note 1077963)
4 ETW000 35 0.483993
4)
4 ETW000 35 0.484718
4 ETW000 [dev trc ,00000] (0.198) DB6: patch collection 02/09 (note 1294443) 24 0.484742
4 ETW000 [dev trc ,00000] (0.201) DB6: cobra enhancements (note 1315762) 24 0.484766
4 ETW000 [dev trc ,00000] Supported features: 20 0.484786
4 ETW000 [dev trc ,00000] ..retrieving configuration parameters 28 0.484814
4 ETW000 [dev trc ,00000] ..done 475 0.485289
4 ETW000 [dev trc ,00000] Running with UTF-8 Unicode 22 0.485311
4 ETW000 [dev trc ,00000] Running with CLI driver. 376278 0.861589
4 ETW000 [dev trc ,00000] DB2 client driver version '09.05.0004' 373762 1.235351
4 ETW000 [dev trc ,00000] Connected to DB server type 'DB2/NT64' 2467 1.237818
4 ETW000 [dev trc ,00000] Connected to DB server version '09.05.0004' 520 1.238338
4 ETW000 [dev trc ,00000] Connected to 'SA4' as 'SAPSA4' schema 'SAPSA4' o.k. 44597 1.282935
4 ETW000 [dev trc ,00000] Connected: con_hdl=0 ; appl_hdl=19; appl_id="10.0.0.146.44548.091006101508"
4 ETW000 50 1.282985
4 ETW000 [dev trc ,00000] Database code page is ok. 480 1.283465
4 ETW000 [dev trc ,00000] Tue Oct 06 05:15:09 2009 241001 1.524466
4 ETW000 [dev trc ,00000] Database collating sequence is ok. 38 1.524504
4 ETW000 [dev trc ,00000] DB2_WORKLOAD=SAP is set in DB2 registry as required. 45663 1.570167
4 ETW000 [dev trc ,00000] CLI Insert Buffering is disabled on single partition databases. 35785 1.605952
4 ETW000 [dev trc ,00000] INFO: Unable to determine SAPDBHOST; defaulting to 'UNKNOWN' 255 1.606207
4 ETW000 [dev trc ,00000] Connection 0 opened (DBSL handle 0) 27 1.606234
4 ETW000 [dev trc ,00000] INFO: Unable to determine SAPDBHOST; defaulting to 'UNKNOWN' 20363 1.626597
4 ETW000 Connected to database.
4 ETW000 [dev trc ,00000] Disconnecting from ALL connections: 72901 1.699498
4 ETW000 [dev trc ,00000] Disconnected from 'SA4' 2049 1.701547
4 ETW000 [dev trc ,00000] Disconnected: con_hdl=0 ; appl_hdl=19; appl_id="10.0.0.146.44548.091006101508"
4 ETW000 46 1.701593
4 ETW000 [dev trc ,00000] Disconnected from connection 0 79 1.701672
4 ETW000 [dev trc ,00000] statistics db_con_commit (com_total=0, com_tx=0) 121 1.701793
4 ETW000 [dev trc ,00000] statistics db_con_rollback (roll_total=0, roll_tx=0) 24 1.701817
4 ETW000 Disconnected from database.
4 ETW000 End of Transport (0000).
4 ETW000 date&time: 06.10.2009 - 05:15:09
dev_w0 file
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Tue Oct 06 05:07:11 2009
B create_con (con_name=R/3)
B Loading DB library 'E:\usr\sap\SA4\DVEBMGS00\exe\dbdb6slib.dll' ...
B Library 'E:\usr\sap\SA4\DVEBMGS00\exe\dbdb6slib.dll' loaded
B Version of 'E:\usr\sap\SA4\DVEBMGS00\exe\dbdb6slib.dll' is "700.08", patchlevel (0.201)
C DbSl trace SM50: switch request to level 1
B New connection 0 created
M sysno 00
M sid SA4
M systemid 562 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 201
M intno 20050900
M make: multithreaded, Unicode, 64 bit, optimized
M pid 3572
M
M kernel runs with dp version 242000(ext=110000) (@(#) DPLIB-INT-VERSION-242000-UC)
M length of sys_adm_ext is 576 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3572) [dpxxdisp.c 1349]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M DpShMCreate: sizeof(wp_adm) 29792 (1752)
M DpShMCreate: sizeof(tm_adm) 5912704 (29416)
M DpShMCreate: sizeof(wp_ca_adm) 24064 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
M ThTaskStatus: rdisp/reset_online_during_debug 0
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation view
X <EsNT> Using memory model view.
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
X mm.dump: set maximum dump mem to 96 MB
M
M Tue Oct 06 05:07:12 2009
M ThInit: running on host mascon-sap2
M calling db_connect ...
C Registering callback for dynamic profile parameters
C *** ERROR in DbSlConnectDB6[dbsldb6.c, 1233] CON = 0 (BEGIN)
C &+ DbSlConnectDB6: unable to open file: '
mascon-sap2\sapmnt\SA4\SYS\global\dscdb6.conf'
C
C &+
C &+
C *** ERROR in DbSlConnectDB6[dbsldb6.c, 1233] (END)
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1451]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10561]
M
M Info for wp 0
M
M pid = 3572
M severity = 0
M status = 0
M stat = WP_RUN
M waiting_for = NO_WAITING
M reqtype = DP_RQ_DIAWP
M act_reqtype = NO_REQTYPE
M rq_info = 0
M tid = -1
M mode = 255
M report = > <
M action = 0
M tab_name = > <
M attachedVm = no VM
M
M *****************************************************************************
M *
M * LOCATION SAP-Server mascon-sap2_SA4_00 on host mascon-sap2 (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Tue Oct 06 05:07:12 2009
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10781
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 723]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 261]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3572) [dpnttool.c 333]
Thanks in advanc
ChidamDear experts, As i have updated as per yours inputs and still unable to start sap. Kindly help.
1. SAPDBHOST is now accepting and there is no issues on "SAPDBHOST unknown."
2. dscdb6.conf file is available and it has all permission (including login userlevel)
3. dscdb6.conf was recreated new and tried, still dev_w0 shows
"M ThInit: running on host mascon-sap2
M calling db_connect ...
C Registering callback for dynamic profile parameters
C *** ERROR in DbSlConnectDB6[dbsldb6.c, 1233] CON = 0 (BEGIN)
C &+ DbSlConnectDB6: unable to open file: '
mascon-sap2\sapmnt\SA4\SYS\global\dscdb6.conf' "
4. Environment variable all were added.
Tans log file
4 ETW000 r3trans version 6.14 (release 700 - 05.03.09 - 08:28:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 07.10.2009 - 06:34:10
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -x
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Wed Oct 07 06:34:12 2009 0 0.000000
4 ETW000 [dev trc ,00000] db_con_init called 0 0.000000
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 0 0.000000
4 ETW000 [dev trc ,00000] Loading DB library 'dbdb6slib.dll' ... 0 0.000000
4 ETW000 [dev trc ,00000] load shared library (dbdb6slib.dll), hdl 0 9419 0.009419
4 ETW000 [dev trc ,00000] using "E:\usr\sap\SA4\SYS\exe\uc\NTAMD64\dbdb6slib.dll" 33 0.009452
4 ETW000 [dev trc ,00000] Library 'dbdb6slib.dll' loaded 24 0.009476
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dbdb6slib.dll 23 0.009499
4 ETW000 [dev trc ,00000] Version of 'dbdb6slib.dll' is "700.08", patchlevel (0.201) 635 0.010134
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dbdb6slib.dll 26 0.010160
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dbdb6slib.dll 26 0.010186
4 ETW000 [dev trc ,00000] New connection 0 created 36 0.010222
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 60 0.010282
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 31 0.010313
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse: 24 0.010337
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 41 0.010378
4 ETW000 [dev trc ,00000] Wed Oct 07 06:34:13 2009 473631 0.484009
4 ETW000 [dev trc ,00000] DB2 library successfully loaded DB2 library '
mascon-sap2\sapmnt\SA4\SYS\global\db6\WINDOWS_AMD64\db6_clidriver\bin\db2app64.dll' successfully loaded
4 ETW000 57 0.484066
4 ETW000 [dev trc ,00000] Supported features: 21 0.486055
4 ETW000 [dev trc ,00000] ..retrieving configuration parameters 21 0.486076
4 ETW000 [dev trc ,00000] ..done 491 0.486567
4 ETW000 [dev trc ,00000] Running with UTF-8 Unicode 21 0.486588
4 ETW000 [dev trc ,00000] Running with CLI driver. 329019 0.815607
4 ETW000 [dev trc ,00000] DB2 client driver version '09.05.0004' 266666 1.082273
4 ETW000 [dev trc ,00000] Connected to DB server type 'DB2/NT64' 3005 1.085278
4 ETW000 [dev trc ,00000] Connected to DB server version '09.05.0004' 513 1.085791
4 ETW000 [dev trc ,00000] Connected to 'SA4' as 'SAPSA4' schema 'SAPSA4' o.k. 20120 1.105911
4 ETW000 [dev trc ,00000] Connected: con_hdl=0 ; appl_hdl=381; appl_id="10.0.0.146.19717.091007113413"
4 ETW000 44 1.105955
4 ETW000 [dev trc ,00000] Database code page is ok. 37 1.105992
4 ETW000 [dev trc ,00000] Wed Oct 07 06:34:14 2009 52298 1.158290
4 ETW000 [dev trc ,00000] Database collating sequence is ok. 34 1.158324
4 ETW000 [dev trc ,00000] DB2_WORKLOAD=SAP is set in DB2 registry as required. 18173 1.176497
4 ETW000 [dev trc ,00000] CLI Insert Buffering is disabled on single partition databases. 10689 1.187186
*4 ETW000 [dev trc ,00000] DbSlControl: returning SAPDBHOST='mascon-sap2' 235 1.187421
4 ETW000 [dev trc ,00000] Connection 0 opened (DBSL handle 0) 24 1.187445
4 ETW000 [dev trc ,00000] DbSlControl: returning SAPDBHOST='mascon-sap2' 5737 1.193182
4 ETW000 Connected to database.*
4 ETW000 [dev trc ,00000] Disconnecting from ALL connections: 9176 1.202358
4 ETW000 [dev trc ,00000] Disconnected from 'SA4' 2033 1.204391
4 ETW000 [dev trc ,00000] Disconnected: con_hdl=0 ; appl_hdl=381; appl_id="10.0.0.146.19717.091007113413"
4 ETW000 44 1.204435
4 ETW000 [dev trc ,00000] Disconnected from connection 0 75 1.204510
4 ETW000 [dev trc ,00000] statistics db_con_commit (com_total=0, com_tx=0) 116 1.204626
4 ETW000 [dev trc ,00000] statistics db_con_rollback (roll_total=0, roll_tx=0) 23 1.204649
4 ETW000 Disconnected from database.
4 ETW000 End of Transport (0000).
4 ETW000 date&time: 07.10.2009 - 06:34:14
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Wed Oct 07 06:03:29 2009
B create_con (con_name=R/3)
B Loading DB library 'E:\usr\sap\SA4\DVEBMGS00\exe\dbdb6slib.dll' ...
B Library 'E:\usr\sap\SA4\DVEBMGS00\exe\dbdb6slib.dll' loaded
B Version of 'E:\usr\sap\SA4\DVEBMGS00\exe\dbdb6slib.dll' is "700.08", patchlevel (0.201)
C DbSl trace SM50: switch request to level 1
B New connection 0 created
M sysno 00
M sid SA4
M systemid 562 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 201
M intno 20050900
M make: multithreaded, Unicode, 64 bit, optimized
M pid 304
M
M kernel runs with dp version 242000(ext=110000) (@(#) DPLIB-INT-VERSION-242000-UC)
M length of sys_adm_ext is 576 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 304) [dpxxdisp.c 1349]
I MtxInit: 30000 0 0
MX <ES> client 0 initializing ....
X Using implementation view
X <EsNT> Using memory model view.
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
X mm.dump: set maximum dump mem to 96 MB
M ThInit: running on host mascon-sap2
M calling db_connect ...
*C Registering callback for dynamic profile parameters
C *** ERROR in DbSlConnectDB6[dbsldb6.c, 1233] CON = 0 (BEGIN)
C &+ DbSlConnectDB6: unable to open file: '
mascon-sap2\sapmnt\SA4\SYS\global\dscdb6.conf'
C
C &+
C &+
C *** ERROR in DbSlConnectDB6[dbsldb6.c, 1233] (END)
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1451]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10561]*
M attachedVm = no VM
M
M *****************************************************************************
M *
M * LOCATION SAP-Server mascon-sap2_SA4_00 on host mascon-sap2 (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Wed Oct 07 06:03:29 2009
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10781
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 723]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 261]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 304) [dpnttool.c 333]
Thankyou
Chidam. -
How to find out the users currently logged into ODI
Hi all,
How to find out the users currently logged into ODI Work Repository?
Thanks.Hi,
It stores all the final queries in work rep table i.e "SNP_SESS_TXT_LOG" and the column is "TXT".
Here u can find all the ODI bkp process queries.Pls specify the SESS_NO for purtivular task u want to check which u can get this in ODI operator.
I dont think so that it will keep the substituted value(because its implicit and temporary process) but it will keep all the default values in the table SNP_VAR_SESS and the column is "DEF_V".
Thanks,
katukota
Maybe you are looking for
-
Looking for some help on emailing results using the drop down Label instead of the value
DWMX / SQL / ASP I have a very simple form... 4 fields 1 - Textbox to enter name 2 - Drop downs to select location and type of issue 1 - Comment box to describe in more detail the issue.... I have notification setup to email the results to the approp
-
Getting started with Flex - J2EE
Hello Folks, In advance, I already want to thank all of you willing to take the time to read this, or even reply :) Furthermore, I'm not 100% sure this is the correct location to ask these questions, but so far I've had a perfect experience concernin
-
Where to execute the services? i.e., SICF or SE80
Hi friends, Can anybody tell me the difference between services created in SICF and the services in SE80.From where i have to execute the services? I have created a screen-based service in se80 and published the service. In SICF i have created the su
-
Way to stop being signed out?
I'm sick and tired of having, "You have been automatically signed out due to inactivity. Please sign in again", notices. Is there a way to stop having to continually sign in?
-
[solved] yaourt+customizepkg no longer work
I set up customizepkg to patch a few packages before building them from source (see the original thread where I asked how to do it) It worked great initially, but yesterday I started seeing this error when trying to sync: $ yaourt -S gnome-applets ==