Table issue
Hello all,
My problem could be easy..however, I am having difficulty finding documentation. I'll start with a simple question, leaving out some of the complexities, in the hopes of getting right to the gist of the problem.
I would like to make a single cell in a standard web dynpro table UI control read only. This is at cell level, not column. I would like, for instance, in a column the ability to pick 1 cell from 1 row in that column and make it read only while the other cells in that column are editable.
Hopefully this is clear enough to get us started
Edited by: ROBERT BAGGETT on Apr 20, 2008 10:57 PM
hI,
if there is a node general_data and subnode user_entities and table is bound to user_entities node and user_entity is an attribute of node then user_entities.Bind the property of a column
to an attribute 'DISABLE' which is of type WDY_BOOLEAN.
data: lo_set TYPE wdr_context_element_set,
lr_result_table TYPE REF TO cl_wd_table,
lo_nd_general_data TYPE REF TO if_wd_context_node,
lo_nd_user_entities TYPE REF TO if_wd_context_node.
FIELD-SYMBOLS :
<ls_element> TYPE REF TO if_wd_context_element.
lo_nd_user_entities = lo_nd_general_data->get_child_node( name = wd_this->wdctx_user_entities ).
lo_set = lo_nd_user_entities->get_elements( ).
IF lo_set IS NOT INITIAL.
LOOP AT lo_set ASSIGNING <ls_element>.
<ls_element>->get_attribute(
EXPORTING name = 'user_entity'
IMPORTING value = lv_user_entity ).
IF lv_user_entity EQ 'User Group'.
If the User Entity is a User Group then the UI element to be shown as read only
<ls_element>->set_attribute(
EXPORTING value = 'X'
name = 'DISABLE' ).
ENDIF.
Similar Messages
-
Oracle 11g - External Table Issue SQL - PL/SQL?
Oracle 11g - External Table Issue?
=====================
I hope this is the right forum for this issue, if not let me, where to go.
We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
======================
Date1,date2,Political party,Name, ROLE
20-Jan-66,22-Nov-69,Democratic,"John ", MMM
22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
9-Aug-72,20-Jan-75,Republican,Henry,MMM
ALL NULL -- record
20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
======================
Our Expernal table structures is as follows
CREATE TABLE P_LOAD
DATE1 VARCHAR2(10),
DATE2 VARCHAR2(10),
POL_PRTY VARCHAR2(30),
P_NAME VARCHAR2(30),
P_ROLE VARCHAR2(5)
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
DEFAULT DIRECTORY P_EXT_TAB_D
ACCESS PARAMETERS (
RECORDS DELIMITED by NEWLINE
SKIP 1
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
REJECT ROWS WITH ALL NULL FIELDS
MISSING FIELD VALUES ARE NULL
DATE1 CHAR (10) Terminated by "," ,
DATE2 CHAR (10) Terminated by "," ,
POL_PRTY CHAR (30) Terminated by "," ,
P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
P_ROLE CHAR (5) Terminated by ","
LOCATION ('Input.dat')
REJECT LIMIT UNLIMITED;
It created successfully using SQL Developer
Here is the issue.
It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
It is loading all NULL value record (Rec # 6)
*** If we remove the '"' from input data, it loads all records including all NULL records
Log file has
KUP-04021: field formatting error for field P_NAME
KUP-04036: second enclosing delimiter not found
KUP-04101: record 2 rejected in file ....
Our questions
Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
Any idea?
Thanks in helping.
Edited by: qwe16235 on Jun 11, 2011 11:31 AMI'm not sure, but maybe you should get rid of the redundancy that you have in your CREATE TABLE statement.
This line covers all fields:
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
{code}
So I would change the field list to:
{code}
DATE1 CHAR (10),
DATE2 CHAR (10),
POL_PRTY CHAR (30),
P_NAME CHAR (30),
P_ROLE CHAR (5)
{code}
It worked on my installation. -
Oracle 11g - External Table Issue?
Oracle 11g - External Table Issue?
=====================
I hope this is the right forum for this issue, if not let me, where to go.
We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
======================
Date1,date2,Political party,Name, ROLE
20-Jan-66,22-Nov-69,Democratic,"John ", MMM
22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
9-Aug-72,20-Jan-75,Republican,Henry,MMM
------ ALL NULL -- record
20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
======================
Our Expernal table structures is as follows
CREATE TABLE P_LOAD
DATE1 VARCHAR2(10),
DATE2 VARCHAR2(10),
POL_PRTY VARCHAR2(30),
P_NAME VARCHAR2(30),
P_ROLE VARCHAR2(5)
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
DEFAULT DIRECTORY P_EXT_TAB_D
ACCESS PARAMETERS (
RECORDS DELIMITED by NEWLINE
SKIP 1
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
REJECT ROWS WITH ALL NULL FIELDS
MISSING FIELD VALUES ARE NULL
DATE1 CHAR (10) Terminated by "," ,
DATE2 CHAR (10) Terminated by "," ,
POL_PRTY CHAR (30) Terminated by "," ,
P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
P_ROLE CHAR (5) Terminated by ","
LOCATION ('Input.dat')
REJECT LIMIT UNLIMITED;
It created successfully using SQL Developer
Here is the issue.
It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
It is loading all NULL value record (Rec # 6)
*** If we remove the '"' from input data, it loads all records including all NULL records
Log file has
KUP-04021: field formatting error for field P_NAME
KUP-04036: second enclosing delimiter not found
KUP-04101: record 2 rejected in file ....
Our questions
Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
Any idea?
Thanks in helping.
Edited by: qwe16235 on Jun 10, 2011 2:16 PMThe following worked for me:
drop table p_load;
CREATE TABLE P_LOAD
DATE1 VARCHAR2(10),
DATE2 VARCHAR2(10),
POL_PRTY VARCHAR2(30),
P_NAME VARCHAR2(30),
P_ROLE VARCHAR2(5)
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
DEFAULT DIRECTORY scott_def_dir1
ACCESS PARAMETERS (
RECORDS DELIMITED by NEWLINE
badfile scott_def_dir2:'p_load_%a_%p.bad'
logfile scott_def_dir2:'p_load_%a_%p.log'
SKIP 1
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
MISSING FIELD VALUES ARE NULL
REJECT ROWS WITH ALL NULL FIELDS
DATE1 CHAR (10) Terminated by "," ,
DATE2 CHAR (10) Terminated by "," ,
POL_PRTY CHAR (30) Terminated by "," ,
P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
P_ROLE CHAR (5) Terminated by ","
LOCATION ('Input.dat')
REJECT LIMIT UNLIMITED;
Note that I had to interchange the two lines:
MISSING FIELD VALUES ARE NULL
REJECT ROWS WITH ALL NULL FIELDS
Just to get the access parameters to parse correctly.
I added two empty lines, one in the middle and one at the end - both were rejected.
In the log file, you will see the rejectiions:
$ cat p_load_000_9219.log
LOG file opened at 07/08/11 19:47:23
Field Definitions for table P_LOAD
Record format DELIMITED BY NEWLINE
Data in file has same endianness as the platform
Reject rows with all null fields
Fields in Data Source:
DATE1 CHAR (10)
Terminated by ","
Enclosed by """ and """
Trim whitespace same as SQL Loader
DATE2 CHAR (10)
Terminated by ","
Enclosed by """ and """
Trim whitespace same as SQL Loader
POL_PRTY CHAR (30)
Terminated by ","
Enclosed by """ and """
Trim whitespace same as SQL Loader
P_NAME CHAR (30)
Terminated by ","
Enclosed by """ and """
Trim whitespace same as SQL Loader
P_ROLE CHAR (5)
Terminated by ","
Enclosed by """ and """
Trim whitespace same as SQL Loader
KUP-04073: record ignored because all referenced fields are null for a record
KUP-04073: record ignored because all referenced fields are null for a record
Input Data:
Date1,date2,Political party,Name, ROLE
20-Jan-66,22-Nov-69,Democratic,"John ", MMM
22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
9-Aug-72,20-Jan-75,Republican,Henry,MMM
4-Aug-70,20-Jan-75,Independent
Result:
SQL> select * from p_load;
DATE1 DATE2 POL_PRTY P_NAME P_ROL
20-Jan-66 22-Nov-69 Democratic John MMM
22-Nov-70 20-Jan-71 Democratic John Jr. MMM
20-Jan-68 9-Aug-70 Republican Rick Ford Sr. MMM
9-Aug-72 20-Jan-75 Republican Henry MMM
Regards,
- Allen -
Dg4odbc 11.2 to mysql desc table issue, query return only one record
<h2>Hi,
I have the following set up:
11g R2 RAC oracle database, dg4odbc 11.2, UnixODBC 2.3 driver manager, MySQL ODBC 5.1.7 Driver on 64 bit Suse SLES 11 server.
Remote database MySQL version 5.0.67 running on 32 bit linux server.
I am having the following Issues:
1. When desc table, sometimes only the first field is shown:
SQL> desc sub_index@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
SQL> desc "sub_index"@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
Some other times I am able to see the correct table definition:
SQL> desc "sub_index"@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
sess_id NUMBER(10)
sess_yr NUMBER(10)
subject_name VARCHAR2(255)
SQL> desc sub_index@mybilltracker;
Name Null? Type
subject_id NOT NULL NUMBER(20)
2. Select count(*) returns the total number of rows correctly. Select * or Select "field name" from table returns only one row:
SQL> select count(*) from "mbt_user"@mybilltracker;
COUNT(*)
2
SQL> select "user_id", "email" from "mbt_user"@mybilltracker; _(always return only one record!)_
user_id email
1 [email protected]
Has anybody seen this? Can somebody help me pinpoint the problem? Thank you!
</h2>
=======================================
<h2>Params in odbc.ini:[ODBC Data Sources]
myodbc5 = MyODBC 5.17 Driver DSN
[myodbc5]
Driver = /usr/local/lib/libmyodbc5.so
Description = Connector/ODBC 5.17 Driver DSN
SERVER = *serverip
PORT = *port
USER = *user
Password = *password
Database = MyBillTracker
#CHARSET = latin1
QuotedId = Yes
AnsiNPW = Yes
TRACEFILE = /tmp/myodbc-MyBillTracker.trc
TRACE = OFF
</h2>
=======================================
<h2>params in initmyodbc5.ora
# HS init parameters
HS_FDS_CONNECT_INFO = myodbc5
HS_FDS_TRACE_LEVEL = DEBUG
HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
HS_FDS_SUPPORT_STATISTICS=FALSE
# ODBC specific environment variables
set ODBCINI=/usr/local/etc/odbc.ini
</h2>
===========================================
Oracle HS Trace file:
Oracle Corporation --- WEDNESDAY SEP 01 2010 16:11:19.060
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- WEDNESDAY SEP 01 2010 16:11:19.059
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw
$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "myodbc5"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:myodbc5
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/09/01-16:11:19
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x159540
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1596f0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x159f20
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x15b230
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x163420
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x163880
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1661c0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1678f0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x168100
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x169c60
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x169c70
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16b3c0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16e640
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16ea00
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1705e0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1711d0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x171500
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1733a0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x173810
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x175870
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x175630
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x15bb50
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x15d4a0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x160e10
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x162cd0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x164400
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x167360
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x168a50
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x169fd0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16ba60
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16bfb0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16d2c0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16deb0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16f4a0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x16f760
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x170230
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x171cc0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1721e0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1727d0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x172e10
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x173ae0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x176ca0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1752b0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x1785b0
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Entered hgolofns at 2010/09/01-16:11:19
symbol_peflctx=0x179260
hoaerr:0
Exiting hgolofns at 2010/09/01-16:11:19
Exiting hgolofn, rc=0 at 2010/09/01-16:11:19
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/09/01-16:11:19
Entered hgolgon at 2010/09/01-16:11:19
reco:0, name:oracle, tflag:0
Entered hgosuec at 2010/09/01-16:11:19
Exiting hgosuec, rc=0 at 2010/09/01-16:11:19
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using oracle as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/09/01-16:11:19
HS_FDS_CONNECT_INFO = "myodbc5"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/09/01-16:11:19
dsn:myodbc5, name:oracle
optn:
Entered hgocip at 2010/09/01-16:11:19
dsn:myodbc5
Exiting hgocip, rc=0 at 2010/09/01-16:11:19
Exiting hgogenconstr, rc=0 at 2010/09/01-16:11:19
Entered hgolosf at 2010/09/01-16:11:19
Exiting hgolosf, rc=0 at 2010/09/01-16:11:19
DriverName:libmyodbc5.so, DriverVer:05.01.0007
DBMS Name:MySQL, DBMS Version:5.0.67
Exiting hgocont, rc=0 at 2010/09/01-16:11:19
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/09/01-16:11:19
Entered hgoulcp at 2010/09/01-16:11:19
Entered hgowlst at 2010/09/01-16:11:19
Exiting hgowlst, rc=0 at 2010/09/01-16:11:19
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:3, Isolation Option:0xf
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
4 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
Exiting hgoulcp, rc=0 at 2010/09/01-16:11:19
Entered hgouldt at 2010/09/01-16:11:19
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/09/01-16:11:19
Entered hgobegn at 2010/09/01-16:11:19
tflag:0 , initial:1
hoi:0x15d8f088, ttid (len 34) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 31302E35 342E3533 [77871df.10.54.53]
20: 3938 [98]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B31 [GEMS.LSO.LOCAL[1]
10: 302E3534 2E353339 385D5B31 2E345D [0.54.5398][1.4]]
Exiting hgobegn, rc=0 at 2010/09/01-16:11:19
Entered hgodtab at 2010/09/01-16:11:19
count:1
table: mbt_user
Allocate hoada[0] @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:19
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
Entered hgopcda at 2010/09/01-16:11:19
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
The hoada for table mbt_user follows...
hgodtab, line 876: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodtab, rc=0 at 2010/09/01-16:11:19
Entered hgodafr, cursor id 0 at 2010/09/01-16:11:19
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:19
Entered hgopars, cursor id 1 at 2010/09/01-16:11:19
type:0
SQL text from hgopars, id=1, len=34 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20606D62 745F7573 65726020 [FROM `mbt_user` ]
20: 4131 [A1]
Exiting hgopars, rc=0 at 2010/09/01-16:11:19
Entered hgoopen, cursor id 1 at 2010/09/01-16:11:19
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/01-16:11:19
Entered hgodscr, cursor id 1 at 2010/09/01-16:11:19
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:19
Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:19
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Exiting hgodscr, rc=0 at 2010/09/01-16:11:19
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:19
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/01-16:11:19
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:19
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/01-16:11:19
Entered hgoclse, cursor id 1 at 2010/09/01-16:11:26
Exiting hgoclse, rc=0 at 2010/09/01-16:11:26
Entered hgodafr, cursor id 1 at 2010/09/01-16:11:26
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:26
Entered hgopars, cursor id 1 at 2010/09/01-16:11:26
type:0
SQL text from hgopars, id=1, len=49 ...
00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
10: 6964602C 41312E60 656D6169 6C602046 [id`,A1.`email` F]
20: 524F4D20 606D6274 5F757365 72602041 [ROM `mbt_user` A]
30: 31 [1]
Exiting hgopars, rc=0 at 2010/09/01-16:11:26
Entered hgoopen, cursor id 1 at 2010/09/01-16:11:26
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/01-16:11:26
Entered hgodscr, cursor id 1 at 2010/09/01-16:11:26
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:26
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:26
Entered hgopcda at 2010/09/01-16:11:26
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:26
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
Exiting hgodscr, rc=0 at 2010/09/01-16:11:26
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:26
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLBindCol: column 2, cdatatype: 1, bflsz: 256
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/01-16:11:26
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:26
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:2, ACTUAL:2, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 21 255 0/ 0 0 0 200 email
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/01-16:11:26
Entered hgoclse, cursor id 1 at 2010/09/01-16:11:39
Exiting hgoclse, rc=0 at 2010/09/01-16:11:39
Entered hgodafr, cursor id 1 at 2010/09/01-16:11:39
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:39
Entered hgopars, cursor id 1 at 2010/09/01-16:11:39
type:0
SQL text from hgopars, id=1, len=101 ...
00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
10: 6964602C 41312E60 656D6169 6C602C41 [id`,A1.`email`,A]
20: 312E606C 6173745F 6C6F6767 65645F69 [1.`last_logged_i]
30: 6E602C41 312E606D 61696C69 6E675F6C [n`,A1.`mailing_l]
40: 69737460 2C41312E 60706173 73776F72 [ist`,A1.`passwor]
50: 64602046 524F4D20 606D6274 5F757365 [d` FROM `mbt_use]
60: 72602041 31 [r` A1]
Exiting hgopars, rc=0 at 2010/09/01-16:11:39
Entered hgoopen, cursor id 1 at 2010/09/01-16:11:39
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/01-16:11:39
Entered hgodscr, cursor id 1 at 2010/09/01-16:11:39
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/01-16:11:39
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
Entered hgopcda at 2010/09/01-16:11:39
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/01-16:11:39
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodscr, rc=0 at 2010/09/01-16:11:39
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:39
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLBindCol: column 2, cdatatype: 1, bflsz: 256
SQLBindCol: column 3, cdatatype: 93, bflsz: 16
SQLBindCol: column 4, cdatatype: -28, bflsz: 1
SQLBindCol: column 5, cdatatype: 1, bflsz: 767
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1, (bfl: 1, mbl: 1)
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40, (bfl: 766, mbl: 0)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/01-16:11:39
Entered hgoftch, cursor id 1 at 2010/09/01-16:11:39
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 21 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/01-16:11:39
Entered hgoclse, cursor id 1 at 2010/09/01-16:11:45
Exiting hgoclse, rc=0 at 2010/09/01-16:11:45
Entered hgodafr, cursor id 1 at 2010/09/01-16:11:45
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/01-16:11:45
Entered hgocomm at 2010/09/01-16:11:45
keepinfo:0, tflag:1
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 31302E35 342E3533 [77871df.10.54.53]
20: 3938 [98]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B31 [GEMS.LSO.LOCAL[1]
10: 302E3534 2E353339 385D5B31 2E345D [0.54.5398][1.4]]
cmt(0):
Entered hgocpctx at 2010/09/01-16:11:45
Exiting hgocpctx, rc=0 at 2010/09/01-16:11:45
Exiting hgocomm, rc=0 at 2010/09/01-16:11:45
Entered hgolgof at 2010/09/01-16:11:45
tflag:1
Exiting hgolgof, rc=0 at 2010/09/01-16:11:45
Entered hgoexit at 2010/09/01-16:11:45
Exiting hgoexit, rc=0<h2>This is the scenario where describe table only shows the first field during the first SQLPlus session. I closed the first SQLPlus session, simply opened a new SQLPlus session. Describe table shows all column definitions of MySQL table this time. You can see that there are three records in tracking_list table, however, select * from "tracking_list"@mybilltracker only retruns one record.</h2>
First SQLPlus Session:
SQL> describe "tracking_list"@mybilltracker;
Name Null? Type
list_id NUMBER(20)
SQL> select count(*) from "tracking_list"@mybilltracker;
COUNT(*)
3
SQL> select * from "tracking_list"@mybilltracker;
list_id
1
SQL> describe "tracking_list"@mybilltracker;
Name Null? Type
list_id NUMBER(20)
SQL> exit
========================================
Second SQLPlus Session:
Connected.
SQL> describe "tracking_list"@mybilltracker;
Name Null? Type
list_id NUMBER(20)
last_updt_date DATE
list_create_date DATE
list_name NOT NULL VARCHAR2(255)
list_yr NOT NULL NUMBER(10)
user_id NUMBER(20)
SQL> select count(*) from "tracking_list"@mybilltracker;
COUNT(*)
3
SQL> select * from "tracking_list"@mybilltracker;
list_id last_updt list_crea
list_name
list_yr user_id
1 02-SEP-10 02-SEP-10
List 1
2010 1
SQL> exit
=============================================
HS trace file for the first SQLPlus session:
Oracle Corporation --- THURSDAY SEP 02 2010 09:55:46.523
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY SEP 02 2010 09:55:46.522
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "myodbc5"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:myodbc5
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/09/02-09:55:46
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/lib/libodbc.so"
Entered hgolofns at 2010/09/02-09:55:46
symbol_peflctx=0xdc523540
hoaerr:0
Exiting hgolofns at 2010/09/02-09:55:46
......(repeating .....)
Entered hgolofns at 2010/09/02-09:55:46
symbol_peflctx=0xdc543260
hoaerr:0
Exiting hgolofns at 2010/09/02-09:55:46
Exiting hgolofn, rc=0 at 2010/09/02-09:55:46
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/09/02-09:55:46
Entered hgolgon at 2010/09/02-09:55:46
reco:0, name:oracle, tflag:0
Entered hgosuec at 2010/09/02-09:55:46
Exiting hgosuec, rc=0 at 2010/09/02-09:55:46
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using oracle as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/09/02-09:55:46
HS_FDS_CONNECT_INFO = "myodbc5"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/09/02-09:55:46
dsn:myodbc5, name:oracle
optn:
Entered hgocip at 2010/09/02-09:55:46
dsn:myodbc5
Exiting hgocip, rc=0 at 2010/09/02-09:55:46
Exiting hgogenconstr, rc=0 at 2010/09/02-09:55:46
Entered hgolosf at 2010/09/02-09:55:46
Exiting hgolosf, rc=0 at 2010/09/02-09:55:46
DriverName:libmyodbc5.so, DriverVer:05.01.0007
DBMS Name:MySQL, DBMS Version:5.0.67
Exiting hgocont, rc=0 at 2010/09/02-09:55:46
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/09/02-09:55:46
Entered hgoulcp at 2010/09/02-09:55:46
Entered hgowlst at 2010/09/02-09:55:46
Exiting hgowlst, rc=0 at 2010/09/02-09:55:46
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:3, Isolation Option:0xf
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
4 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
Exiting hgoulcp, rc=0 at 2010/09/02-09:55:46
Entered hgouldt at 2010/09/02-09:55:46
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/09/02-09:55:46
Entered hgobegn at 2010/09/02-09:55:46
tflag:0 , initial:1
hoi:0x8b4b52f8, ttid (len 34) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 33322E36 382E3335 [77871df.32.68.35]
20: 3630 [60]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B33 [GEMS.LSO.LOCAL[3]
10: 322E3638 2E333536 305D5B31 2E345D [2.68.3560][1.4]]
Exiting hgobegn, rc=0 at 2010/09/02-09:55:46
Entered hgodtab at 2010/09/02-09:55:46
count:1
table: mbt_user
Allocate hoada[0] @ 0x7a6440
Entered hgopcda at 2010/09/02-09:55:46
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
Entered hgopcda at 2010/09/02-09:55:46
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-09:55:46
The hoada for table mbt_user follows...
hgodtab, line 876: Printing hoada @ 0x7a6440
MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodtab, rc=0 at 2010/09/02-09:55:46
Entered hgodafr, cursor id 0 at 2010/09/02-09:55:46
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/02-09:55:46
Entered hgopars, cursor id 1 at 2010/09/02-09:55:52
type:0
SQL text from hgopars, id=1, len=101 ...
00: 53454C45 43542041 312E6075 7365725F [SELECT A1.`user_]
10: 6964602C 41312E60 656D6169 6C602C41 [id`,A1.`email`,A]
20: 312E606C 6173745F 6C6F6767 65645F69 [1.`last_logged_i]
30: 6E602C41 312E606D 61696C69 6E675F6C [n`,A1.`mailing_l]
40: 69737460 2C41312E 60706173 73776F72 [ist`,A1.`passwor]
50: 64602046 524F4D20 606D6274 5F757365 [d` FROM `mbt_use]
60: 72602041 31 [r` A1]
Exiting hgopars, rc=0 at 2010/09/02-09:55:52
Entered hgoopen, cursor id 1 at 2010/09/02-09:55:52
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-09:55:52
Entered hgodscr, cursor id 1 at 2010/09/02-09:55:52
Allocate hoada @ 0x7a63a0
Entered hgopcda at 2010/09/02-09:55:52
Column:1(user_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:2(email): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:0, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:3(last_logged_in): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:4(mailing_list): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:255, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
Entered hgopcda at 2010/09/02-09:55:52
Column:5(password): dtype:-1 (LONGVARCHAR), prc/scl:65535/0, nullbl:0, octet:65535, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:55:52
hgodscr, line 880: Printing hoada @ 0x7a63a0
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 0 0 0/ 0 0 0 220 password
Exiting hgodscr, rc=0 at 2010/09/02-09:55:52
Entered hgoftch, cursor id 1 at 2010/09/02-09:55:52
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 255 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLBindCol: column 2, cdatatype: 1, bflsz: 256
SQLBindCol: column 3, cdatatype: 93, bflsz: 16
SQLBindCol: column 4, cdatatype: -28, bflsz: 1
SQLBindCol: column 5, cdatatype: 1, bflsz: 767
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21
SQLFetch: row: 1, column 2, bflsz: 256, bflar: 21, (bfl: 255, mbl: 255)
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16
SQLFetch: row: 1, column 3, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1
SQLFetch: row: 1, column 4, bflsz: 1, bflar: 1, (bfl: 1, mbl: 1)
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40
SQLFetch: row: 1, column 5, bflsz: 767, bflar: 40, (bfl: 766, mbl: 0)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-09:55:52
Entered hgoftch, cursor id 1 at 2010/09/02-09:55:52
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:5, ACTUAL:5, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 user_id
12 VARCHAR N 21 255 0/ 0 0 0 200 email
91 DATE Y 16 16 0/ 0 0 0 0 last_logged_in
-7 BIT Y 1 1 0/ 0 0 0 20 mailing_list
-1 LONGVARCHAR N 766 0 0/ 0 0 0 220 password
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-09:55:52
Entered hgoclse, cursor id 1 at 2010/09/02-09:56:16
Exiting hgoclse, rc=0 at 2010/09/02-09:56:16
Entered hgodafr, cursor id 1 at 2010/09/02-09:56:16
Free hoada @ 0x7a63a0
Exiting hgodafr, rc=0 at 2010/09/02-09:56:16
Entered hgopars, cursor id 1 at 2010/09/02-09:56:16
type:0
SQL text from hgopars, id=1, len=34 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20606D62 745F7573 65726020 [FROM `mbt_user` ]
20: 4131 [A1]
Exiting hgopars, rc=0 at 2010/09/02-09:56:16
Entered hgoopen, cursor id 1 at 2010/09/02-09:56:16
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-09:56:16
Entered hgodscr, cursor id 1 at 2010/09/02-09:56:16
Allocate hoada @ 0x7a63a0
Entered hgopcda at 2010/09/02-09:56:16
Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-09:56:16
hgodscr, line 880: Printing hoada @ 0x7a63a0
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Exiting hgodscr, rc=0 at 2010/09/02-09:56:16
Entered hgoftch, cursor id 1 at 2010/09/02-09:56:16
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-09:56:16
Entered hgoftch, cursor id 1 at 2010/09/02-09:56:16
hgoftch, line 130: Printing hoada @ 0x7a63a0
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-09:56:16
Entered hgodtab at 2010/09/02-10:03:18
count:1
table: tracking_list
Allocate hoada[0] @ 0x7ebbd0
Entered hgopcda at 2010/09/02-10:03:18
Column:1(list_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/02-10:03:18
The hoada for table tracking_list follows...
hgodtab, line 876: Printing hoada @ 0x7ebbd0
MAX:1, ACTUAL:1, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
Exiting hgodtab, rc=0 at 2010/09/02-10:03:18
Entered hgodafr, cursor id 0 at 2010/09/02-10:03:18
Free hoada @ 0x7ebbd0
Exiting hgodafr, rc=0 at 2010/09/02-10:03:18
Entered hgoclse, cursor id 1 at 2010/09/02-10:06:11
Exiting hgoclse, rc=0 at 2010/09/02-10:06:11
Entered hgodafr, cursor id 1 at 2010/09/02-10:06:11
Free hoada @ 0x7a63a0
Exiting hgodafr, rc=0 at 2010/09/02-10:06:11
Entered hgopars, cursor id 1 at 2010/09/02-10:06:11
type:0
SQL text from hgopars, id=1, len=39 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20607472 61636B69 6E675F6C [FROM `tracking_l]
20: 69737460 204131 [ist` A1]
Exiting hgopars, rc=0 at 2010/09/02-10:06:11
Entered hgoopen, cursor id 1 at 2010/09/02-10:06:11
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-10:06:11
Entered hgodscr, cursor id 1 at 2010/09/02-10:06:11
Allocate hoada @ 0x7a63e8
Entered hgopcda at 2010/09/02-10:06:11
Column:1(COUNT(*)): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-10:06:11
hgodscr, line 880: Printing hoada @ 0x7a63e8
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Exiting hgodscr, rc=0 at 2010/09/02-10:06:11
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:11
hgoftch, line 130: Printing hoada @ 0x7a63e8
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-10:06:11
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:11
hgoftch, line 130: Printing hoada @ 0x7a63e8
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT N 8 8 0/ 0 0 0 20 COUNT(*)
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-10:06:11
Entered hgoclse, cursor id 1 at 2010/09/02-10:06:20
Exiting hgoclse, rc=0 at 2010/09/02-10:06:20
Entered hgodafr, cursor id 1 at 2010/09/02-10:06:20
Free hoada @ 0x7a63e8
Exiting hgodafr, rc=0 at 2010/09/02-10:06:20
Entered hgopars, cursor id 1 at 2010/09/02-10:06:20
type:0
SQL text from hgopars, id=1, len=43 ...
00: 53454C45 43542041 312E606C 6973745F [SELECT A1.`list_]
10: 69646020 46524F4D 20607472 61636B69 [id` FROM `tracki]
20: 6E675F6C 69737460 204131 [ng_list` A1]
Exiting hgopars, rc=0 at 2010/09/02-10:06:20
Entered hgoopen, cursor id 1 at 2010/09/02-10:06:20
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/02-10:06:20
Entered hgodscr, cursor id 1 at 2010/09/02-10:06:20
Allocate hoada @ 0x7a6440
Entered hgopcda at 2010/09/02-10:06:20
Column:1(list_id): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/02-10:06:20
hgodscr, line 880: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
Exiting hgodscr, rc=0 at 2010/09/02-10:06:20
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:20
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
Performing delayed open.
SQLBindCol: column 1, cdatatype: -25, bflsz: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
1 rows fetched
Exiting hgoftch, rc=0 at 2010/09/02-10:06:20
Entered hgoftch, cursor id 1 at 2010/09/02-10:06:20
hgoftch, line 130: Printing hoada @ 0x7a6440
MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-5 BIGINT Y 8 8 0/ 0 0 0 20 list_id
0 rows fetched
Exiting hgoftch, rc=1403 at 2010/09/02-10:06:20
Entered hgoclse, cursor id 1 at 2010/09/02-10:06:55
Exiting hgoclse, rc=0 at 2010/09/02-10:06:55
Entered hgodafr, cursor id 1 at 2010/09/02-10:06:55
Free hoada @ 0x7a6440
Exiting hgodafr, rc=0 at 2010/09/02-10:06:55
Entered hgocomm at 2010/09/02-10:06:55
keepinfo:0, tflag:1
00: 47454D53 2E4C534F 2E4C4F43 414C2E31 [GEMS.LSO.LOCAL.1]
10: 37373837 3164662E 33322E36 382E3335 [77871df.32.68.35]
20: 3630 [60]
tbid (len 31) is ...
00: 47454D53 2E4C534F 2E4C4F43 414C5B33 [GEMS.LSO.LOCAL[3]
10: 322E3638 2E333536 305D5B31 2E345D [2.68.3560][1.4]]
cmt(0):
Entered hgocpctx at 2010/09/02-10:06:55
Exiting hgocpctx, rc=0 at 2010/09/02-10:06:55
Exiting hgocomm, rc=0 at 2010/09/02-10:06:55
Entered hgolgof at 2010/09/02-10:06:55
tflag:1
Exiting hgolgof, rc=0 at 2010/09/02-10:06:55
Entered hgoexit at 2010/09/02-10:06:55
Exiting hgoexit, rc=0 -
By default, read only table should take selected row as current row as long as we have
selectedRowKeys & selectionListener within table definition. But, it doesn't, why?
How to resolve this issue? Thanks.you can verify your selectionListener event by creating your own custom selection listener
public void mySelectionListener(SelectionEvent selectionEvent) {
FacesContext fc = FacesContext.getCurrentInstance();
String me = "#{bindings.myViewObject1.collectionModel.makeCurrent}"
MethodExpression myMethodExpr = fc.getApplication().getExpressionFactory().createMethodExpression(fc.getELContext(),me, null, new Class[] {SelectionEvent.class});
myMethodExpr.invoke(fc.getElContext(), new Object[] {selectionEvent});
RowKeySet rwKeySet = selectionEvent.getAddedSet();
and in your jspx <af:table selectionListener="#{package1.view.backing_myBackingBean.mySelectionListener}"/>
by that way you can atlest verify whats wrong... ,hope this helps, -
I am using Jdev 11.1.1.4.0 .
I have a table which consists of 2 check box and a button plus other data. Now the problem is when we select the table/check box for the 1st time the table events behave unusally.
When I click the check box for the 1st time it gets unchecked.
But from 2nd selection everything works as expected. I am not pasting all columns of the table , if you ppl need them i'll paste it too.
Please feel free to ask any details you need, I am giving as much as possible from my side.
Note:- I have implemented paginaton so I had to use rangeSet ,cant use CollectionModel to do that.
<af:table value="#{bindings.GESearchVacancyTableVO1.rangeSet}"
var="row"
rows="#{bindings.GESearchVacancyTableVO1.rangeSize}"
emptyText="#{bindings.GESearchVacancyTableVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.GESearchVacancyTableVO1.rangeSize}"
first="#{bindings.GESearchVacancyTableVO1.rangeStart}"
rowBandingInterval="0"
selectionListener="#{PaginationBean.rowSelected}"
rowSelection="multiple"
columnSelection="multiple"
id="t1"
contentDelivery="immediate"
autoHeightRows="#{bindings.GESearchVacancyTableVO1.rangeSize}"
styleClass="reqTables"
inlineStyle="width:700px; height:598px;"
binding="#{pageFlowScope.UpdateRequestSearch.vacancyTable}">
<af:column sortProperty="update"
sortable="false"
headerText="UPDATE"
id="c0" align="center">
<af:commandButton text="UPDATE"
id="cb1"
action="#{pageFlowScope.UpdateRequestSearch.onClickTravel}"
actionListener="#{pageFlowScope.UpdateRequestSearch.onSelect}"
styleClass="buttonA">
<af:setActionListener from="#{row.VacancyNumber}"
to="#{sessionScope.searchVacancyNo}"/>
</af:commandButton>
</af:column >
<af:column sortProperty="HOLD"
sortable="false"
headerText="HOLD"
id="c100" align="center">
<f:facet name="header">
<af:panelGroupLayout id="pgHold" layout="vertical">
<af:commandButton text="HOLD"
id="cb61"
styleClass="buttonA">
<af:showPopupBehavior popupId="p1" triggerType="click"/>
</af:commandButton>
</af:panelGroupLayout>
</f:facet>
<af:selectBooleanCheckbox text=""
label=""
id="sbc1"
immediate="true"
autoSubmit="true"
rendered="#{row.Status eq 'Approved' and row.Chkbox eq '0'}"
value="#{row.HOLD}"
valueChangeListener="#{pageFlowScope.UpdateRequestSearch.onHold}" >
<af:clientAttribute name="attr" value="#{row.VacancyNumber}" />
</af:selectBooleanCheckbox>
</af:column>
</af:table>
//On check box click .
public void onHold(ValueChangeEvent valueChangeEvent) {
// Add event code here...
DCIteratorBinding itr=ADFUtil.findIterator("GESearchVacancyTableVO1Iterator");
RowSetIterator rsi=itr.getRowSetIterator();
UIComponent holdBox=valueChangeEvent.getComponent();
String vacnum=holdBox.getAttributes().get("attr").toString();
Key key=new Key(new Object[] {vacnum});
Row currRow=itr.getCurrentRow();
if (currRow!=null){
System.err.println("Row found:::DDDD"+currRow.getAttribute("VacancyNumber"));
try{
if(valueChangeEvent.getNewValue().equals(Boolean.TRUE)){
System.err.println("Selected TRUE for vacNum"+currRow.getAttribute(0));
currRow.setAttribute("HOLD", true);
currRow.setAttribute("CANCEL", false);
if( getKeyListCancel().contains(key))
getKeyListCancel().remove(key);
getKeyList().add(key);
}else if(valueChangeEvent.getNewValue().equals(Boolean.FALSE)){
System.err.println("Selected FALSE");
currRow.setAttribute("HOLD", false);
getKeyList().remove(key);
ADFUtil.doPartialRefresh(vacancyTable);
System.err.println("Now the size list "+getKeyList().size());
}catch(oracle.jbo.AttrSetValException e){
currRow.setAttribute("HOLD", false);
itr.refresh(DCIteratorBinding.RANGESIZE_UNLIMITED);
AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
adfContext.addPartialTarget(vacancyTable);
// ADFUtil.throwErrorMsg(null, e.getMessage());
// SelectionListner which basically sets the selected row as current row
public void rowSelected(SelectionEvent se){
JUCtrlRangeBinding staffView = getStaffView();
staffView.getIteratorBinding().setCurrentRowIndexInRange((Integer)se.getAddedSet().toArray()[0]);
private JUCtrlRangeBinding getStaffView(){
String view="GESearchVacancyTableVO1";
BindingContext bindingCtx = BindingContext.getCurrent();
BindingContainer bindings = bindingCtx.getCurrentBindingsEntry();
JUCtrlRangeBinding objView=(JUCtrlRangeBinding)bindings.getControlBinding(view);
return objView;Same issue in 11.1.1.7 . I am using out of the box pagination for this purpose though. Any pointers plz? Somehow the very first action of check box is being reset by the framework. Even though the state of the check box on UI shows up as selected, the column value is reset to its original value(false).
-
Accrual Formula Archive Table Issue?
Hello Experts,
I customized PTO_PAYROLL_BALANCE_CALCULATION as per our business requirment. High Level of the plan- It is based on the overtime an employee works per pay period and depending on overtime worked an employee gets time and half times. For example if the emp works 12 hours he accrues 18 hours of benefit time(formula calculating fine). To meet the business requirment we included employees who are hired in the mid of the pay period , here the issue is when the archive process is run
We are unable to populate the employee's period accural(acrrued in a particular pay period) and if we populate the period accrual we are unable to process period accrual for an employee terminated in middle of the pay period. The requirement is to populate both in the archive table. ie to include both period accrual and mid pay period terminated employees.
Below is the customized formula. Thanks much and appreciate your time and response in advance.
DEFAULT FOR ACP_START IS 'HD'
DEFAULT FOR ACP_INELIGIBILITY_PERIOD_TYPE IS 'CM'
DEFAULT FOR ACP_INELIGIBILITY_PERIOD_LENGTH IS 0
DEFAULT FOR ACP_CONTINUOUS_SERVICE_DATE IS '4712/12/31 00:00:00' (date)
DEFAULT FOR ACP_ENROLLMENT_END_DATE IS '4712/12/31 00:00:00' (date)
DEFAULT FOR ACP_TERMINATION_DATE IS '4712/12/31 00:00:00' (date)
DEFAULT FOR ACP_ENROLLMENT_START_DATE IS '4712/12/31 00:00:00' (date)
DEFAULT FOR ACP_SERVICE_START_DATE IS '4712/12/31 00:00:00' (date)
default for Accrual_Start_Date is '4712/12/31 00:00:00' (date)
default for Accrual_Latest_Balance is 0
INPUTS ARE
Calculation_Date (date),
Accrual_Start_Date (date),
Accrual_Latest_Balance
/* bug 4047666*/
prm_Accrual_Start_Date (date) = Accrual_Start_Date
prm_Calculation_Date (date) = Calculation_Date
/* bug 4047666*/
E = CALCULATE_PAYROLL_PERIODS()
For the payroll year that spans the Calculation Date
get the first days of the payroll year. If we have a latest balance,
we use the Accrual Start Date.
Calculation_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Calculation_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
/**XXX CUSTOM **/
/*Calculation_Date = get_date('PAYROLL_PERIOD_END_DATE')*/
Payroll_Year_First_Valid_Date = GET_DATE('PAYROLL_YEAR_FIRST_VALID_DATE')
IF (Calculation_Date <> Calculation_Period_ED) AND
(Calculation_Period_SD > Payroll_Year_First_Valid_Date) THEN
E = GET_PAYROLL_PERIOD(ADD_DAYS(Calculation_Period_SD,-1))
Calculation_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Calculation_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
ELSE IF (Calculation_Period_SD = Payroll_Year_First_Valid_Date) AND
(Calculation_Date <> Calculation_Period_ED) THEN
Calculation_Period_ED = ADD_DAYS(Calculation_Period_SD,-1)
Set the Calculation_Date to the Termination Date / Enrollment end date if not defaulted
IF NOT (ACP_TERMINATION_DATE WAS DEFAULTED) OR
NOT (ACP_ENROLLMENT_END_DATE WAS DEFAULTED) THEN
Early_End_Date = least(ACP_TERMINATION_DATE, ACP_ENROLLMENT_END_DATE)
IF (Early_End_Date < Calculation_Date) THEN
Calculation_Date = Early_End_Date
Get the last whole payroll period prior to the Calculation Date and ensure that it is within the
Payroll Year (if the Calculation Date is the End of a Period then use that period)
E = GET_PAYROLL_PERIOD(Calculation_Date)
Calculation_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Calculation_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
/**XXX CUSTOM **/
/*Calculation_Date = get_date('PAYROLL_PERIOD_END_DATE')*/
IF (Calculation_Date <> Calculation_Period_ED) AND
(Calculation_Period_SD > Payroll_Year_First_Valid_Date) THEN
E = GET_PAYROLL_PERIOD(ADD_DAYS(Calculation_Period_SD,-1))
Calculation_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Calculation_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
ELSE IF (Calculation_Period_SD = Payroll_Year_First_Valid_Date) AND
(Calculation_Date <> Calculation_Period_ED) THEN
Calculation_Period_ED = ADD_DAYS(Calculation_Period_SD,-1)
Set the Continuous Service Global Variable, whilst also
ensuring that the continuous service date is before the Calculation Period
IF (ACP_CONTINUOUS_SERVICE_DATE WAS DEFAULTED) THEN
E = set_date('CONTINUOUS_SERVICE_DATE', ACP_SERVICE_START_DATE)
ELSE IF(ACP_CONTINUOUS_SERVICE_DATE > Calculation_Period_SD) THEN
Total_Accrued_PTO = 0
E = PUT_MESSAGE('HR_52796_PTO_FML_CSD')
E = set_date('CONTINUOUS_SERVICE_DATE', ACP_CONTINUOUS_SERVICE_DATE)
ELSE
E = set_date('CONTINUOUS_SERVICE_DATE', ACP_CONTINUOUS_SERVICE_DATE)
Determine the Accrual Start Rule and modify the start date of the accrual calculation accordingly
N.B. In this calculation the Accrual Start Rule determines the date from which a person may first accrue
PTO. The Ineligibility Rule determines the period of time during which the PTO is not registered.
Once this date has passed the accrual is registered from the date determined by the Accrual Start Rule.
Continuous_Service_Date = get_date('CONTINUOUS_SERVICE_DATE')
IF (ACP_START = 'BOY') THEN
First_Eligible_To_Accrue_Date =
to_date('01/01/'||to_char(add_months(Continuous_Service_Date, 12), 'YYYY'),
'DD/MM/YYYY')
ELSE IF (ACP_START = 'PLUS_SIX_MONTHS') THEN
First_Eligible_To_Accrue_Date = add_months(Continuous_Service_Date,6)
ELSE IF (ACP_START = 'HD') THEN
First_Eligible_To_Accrue_Date = Continuous_Service_Date
Determine the date on which accrued PTo may first be registered, i.e the date on which the
Ineligibility Period expires
Accrual_Ineligibility_Expired_Date = First_Eligible_To_Accrue_Date
IF (ACP_START <> 'PLUS_SIX_MONTHS' AND
ACP_INELIGIBILITY_PERIOD_LENGTH > 0) THEN
IF ACP_INELIGIBILITY_PERIOD_TYPE = 'BM' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*2)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'F' THEN
Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*14)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'CM' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'LM' THEN
Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*28)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'Q' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*3)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'SM' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH/2)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'SY' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*6)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'W' THEN
Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*7)
ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'Y' THEN
Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
ACP_INELIGIBILITY_PERIOD_LENGTH*12)
IF Accrual_Ineligibility_Expired_Date > First_Eligible_To_Accrue_Date
AND Calculation_Date < Accrual_Ineligibility_Expired_Date THEN
First_Eligible_To_Accrue_Date = Accrual_Ineligibility_Expired_Date
If the employee is eligible to accrue before the start of this year,
we must get the period dates for the first period of the year.
Otherwise, we do not need these dates, as we will never accrue that
far back.
IF (not Accrual_Start_Date was defaulted) AND
((Calculation_Date < Accrual_Ineligibility_Expired_Date) OR
(Accrual_Start_Date > Accrual_Ineligibility_Expired_Date)) THEN
* This function checks for unprocessed plan element entries, and
* returns the EE effective start date of the earliest it finds. This may
* be useful if we amend the design to process a partial year starting at
* this date.
* At the moment, however, we simply recalculate for the entire plan term
* in these circumstances, so Adjusted_Start_Date is never used
Adjusted_Start_Date = Get_Start_Date(Accrual_Start_Date,
Payroll_Year_First_Valid_Date)
/* Check whether RESET_PTO_ACCRUAL action parameter is defined and set to Y */
/* If yes, then we need to calculate from the beginning */
Reset_Accruals = Reset_PTO_Accruals()
/* Check for retrospective Assignment changes */
/* Return earliest effective date */
Earliest_AsgUpd_Date = Get_Earliest_AsgChange_Date
( 'PTO Event Group',
add_days(Calculation_Period_SD,-1),
Calculation_Period_ED,
Accrual_Start_Date)
New_Adj_Start_Date = LEAST(Adjusted_Start_Date,
Earliest_AsgUpd_Date)
IF ((New_Adj_Start_Date < Accrual_Start_Date) OR
(Reset_Accruals = 'TRUE')) THEN
Process_Full_Term = 'Y'
ELSE
Process_Full_Term = 'N'
ELSE
Process_Full_Term = 'Y'
Latest_Balance = 0
IF (Process_Full_Term = 'Y') THEN
/* Ensure the Payroll Year Start Date gets reset if caculating */
/* from the beginning of the year. */
E = SET_DATE('PAYROLL_YEAR_SD', Payroll_Year_First_Valid_Date)
IF (Process_Full_Term = 'N') AND
(Accrual_Start_Date >= First_Eligible_To_Accrue_Date) THEN
E = GET_PAYROLL_PERIOD(Adjusted_Start_Date)
Payroll_Year_1st_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Payroll_Year_1st_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
Latest_Balance = Accrual_Latest_Balance
Effective_Start_Date = Adjusted_Start_Date
) /* XXX Custom to include mid pay period hires*/
ELSE IF First_Eligible_To_Accrue_Date <= Payroll_Year_First_Valid_Date THEN
IF (not Accrual_Start_Date was defaulted) THEN
Latest_Balance = Accrual_Latest_Balance
ELSE
Latest_Balance = 0
E = GET_PAYROLL_PERIOD(Payroll_Year_First_Valid_Date)
Payroll_Year_1st_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Payroll_Year_1st_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
Effective_Start_Date = Payroll_Year_First_Valid_Date
ELSE
Get the first full payroll period following the First_Eligible_To_Accrue_Date
(if it falls on the beginning of the period then use that period)
IF (not Accrual_Start_Date was defaulted) THEN
Latest_Balance = Accrual_Latest_Balance
ELSE
Latest_Balance = 0
E = GET_PAYROLL_PERIOD(First_Eligible_To_Accrue_Date )
First_Eligible_To_Accrue_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
First_Eligible_To_Accrue_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
/* IF First_Eligible_To_Accrue_Date <> First_Eligible_To_Accrue_Period_SD THEN
E = GET_PAYROLL_PERIOD(add_days(First_Eligible_To_Accrue_Period_ED,1))
First_Eligible_To_Accrue_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
First_Eligible_To_Accrue_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
IF (First_Eligible_To_Accrue_Period_SD > Calculation_Period_ED) THEN
Total_Accrued_PTO = 0
E = PUT_MESSAGE('HR_52793_PTO_FML_ASG_INELIG')
) */ /* XXX Custom to include mid pay period hires*/
Payroll_Year_1st_Period_SD = First_Eligible_To_Accrue_Period_SD
Payroll_Year_1st_Period_ED = First_Eligible_To_Accrue_Period_ED
Effective_Start_Date = First_Eligible_To_Accrue_Date
Effective_Start_Date = GREATEST(Effective_Start_Date, ACP_ENROLLMENT_START_DATE)
Output messages based on calculated date
IF (Early_End_Date < Payroll_Year_1st_Period_ED) THEN
Total_Accrued_PTO = 0
E = PUT_MESSAGE('HR_52794_PTO_FML_ASG_TER')
If (Calculation_Period_ED < Payroll_Year_1st_Period_ED) THEN
Total_Accrued_PTO = 0
E = PUT_MESSAGE('HR_52795_PTO_FML_CALC_DATE')
Determine the date on which PTO actually starts accruing based on Hire Date,
Continuous Service Date and plan Enrollment Start Date. Remember, we have
already determined whether to user hire date or CSD earlier in the formula.
If this date is after the 1st period and the fisrt eligible date then
establish the first full payroll period after this date
(if the Actual Start Date falls on the beginning of a payroll period then
use this period)
Enrollment_Start_Date = ACP_ENROLLMENT_START_DATE
Actual_Accrual_Start_Date = GREATEST(Enrollment_Start_Date,
Continuous_Service_Date,
Payroll_Year_1st_Period_SD)
Determine the actual start of the accrual calculation
IF (Actual_Accrual_Start_Date > Payroll_Year_1st_Period_SD AND
Actual_Accrual_Start_Date > First_Eligible_To_Accrue_Date) THEN
E = GET_PAYROLL_PERIOD(Actual_Accrual_Start_Date)
Accrual_Start_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Accrual_Start_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
IF Actual_Accrual_Start_Date > Accrual_Start_Period_SD THEN
( E = GET_PAYROLL_PERIOD(Actual_Accrual_Start_Date) /* XXX CUSTOM*/
Accrual_Start_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Accrual_Start_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
E = GET_PAYROLL_PERIOD(add_days(Accrual_Start_Period_ED,1))
Accrual_Start_Period_SD = get_date('PAYROLL_PERIOD_START_DATE')
Accrual_Start_Period_ED = get_date('PAYROLL_PERIOD_END_DATE')
If the Actual Acrual Period is after the Calculation Period then end the processing.
IF (Accrual_Start_Period_SD > Calculation_Period_ED) THEN
Total_Accrued_PTO = 0
E = PUT_MESSAGE('HR_52797_PTO_FML_ACT_ACCRUAL')
ELSE IF (First_Eligible_To_Accrue_Date > Payroll_Year_1st_Period_SD) THEN
Accrual_Start_Period_SD = First_Eligible_To_Accrue_Period_SD
Accrual_Start_Period_ED = First_Eligible_To_Accrue_Period_ED
ELSE
Accrual_Start_Period_SD = Payroll_Year_1st_Period_SD
Accrual_Start_Period_ED = Payroll_Year_1st_Period_ED
Now set up the information that will be used in when looping
through the payroll periods
IF Calculation_Period_ED >= Accrual_Start_Period_ED THEN
E = set_date('PERIOD_SD',Accrual_Start_Period_SD)
E = set_date('PERIOD_ED',Accrual_Start_Period_ED)
E = set_date('LAST_PERIOD_SD',Calculation_Period_SD)
E = set_date('LAST_PERIOD_ED',Calculation_Period_ED)
IF (Process_Full_Term = 'N') THEN
E = set_number('TOTAL_ACCRUED_PTO', Latest_Balance)
ELSE
E = set_number('TOTAL_ACCRUED_PTO', 0)
Initialize Band Information
E = set_number('ANNUAL_RATE', 0)
E = set_number('UPPER_LIMIT', 0)
E = set_number('CEILING', 0)
E = LOOP_CONTROL('PTO_PAYROLL_PERIOD_ACCRUAL')
Total_Accrued_PTO = get_number('TOTAL_ACCRUED_PTO') - Latest_Balance
IF Accrual_Start_Period_SD <= Calculation_Period_SD THEN
Accrual_end_date = Calculation_Period_ED
IF Process_Full_Term = 'Y' AND
Effective_Start_Date > Actual_Accrual_Start_Date THEN
Effective_Start_Date = Actual_Accrual_Start_Date
Effective_End_Date = Calculation_Date
/* bug 4047666*/
IF Process_Full_Term = 'N' AND NOT (Accrual_Start_Date WAS DEFAULTED)
AND NOT (Accrual_Latest_Balance WAS DEFAULTED)
AND prm_Accrual_Start_Date > prm_Calculation_Date THEN
Effective_Start_Date = ADD_DAYS(Effective_End_Date,1)
ELSE
/* bug 4047666*/
IF Effective_Start_Date >= Effective_End_Date THEN
Effective_Start_Date = least(Effective_End_Date, Accrual_Start_Period_SD)
RETURN Total_Accrued_PTO, Effective_start_date, Effective_end_date, Accrual_end_date
Regards
Edited by: user13149420 on Sep 5, 2012 2:50 PMissue in tcode : OAC0.. Content server path was incorrect.
-
Write to text file while scrolling table issue
Hi all,
I have a LabVIEW application that logs data using 'write to text file' every second. This is a bckground task in a sub-VI. On the main screen I have several tables that have scrollbars. Every time the file is written the scrolling of a table is effectivley canceled. It is then necessary to click on the scrollbar again to re-start scrolling the table. I guess this is an issue with the OS but not sure yet. I have not tested other operating systems yet. I thought I would try the forum first. Has anyone else experienced this issue? Any ideas on how to fix this?
I have tried using list boxes instead of tables but the same issue exists.
I'm using windows 7 and LabVIEW 2011.
Thank you.
Certified LabVIEW ArchitectHi Steve, thanks for offering to help. Right now I'm on a machine with LabVIEW 2010 and XP and the issue does not exist. But I have created a little test VI that should demonstrate the issue once running on LabVIEW 2011 SP1 and Windows 7. I can't confirm this VI will demonstrate the issue until later today when I can test it on the problem system myself. Feel free to give it a go and let us know what you find, or wait until I confirm the attached VI will demonsrate the issue (10 to 12 hrs time).
Thank again.
Certified LabVIEW Architect
Attachments:
Table scroll test_1.vi 13 KB -
External Table - Issues With Special Character.
I have an external table that reads from a fixed length file. The file is expected to contain special characters. In my case the word containing special character is "Göteborg". Because "ö" is a special character, looks like Oracle is considering it as 2 bytes. That causes the trouble. The subsequent fields in the files get shifted by 1 byte thereby messing up the data. Has anyone faced the issue before. So far we have tried the following solution:
Changed the value of NLS_LANG to AMERICAN_AMERICA.WE8ISO8859P1
Tried Setting the Database Character set to UTF-8
Tried changing the NLS_LENGTH_SYMMANTIC to CHAR instead of BYTE using ALTER SYSTEM
Tried changing the External table characterset to: AL32UTF8
Tried changing the External table characterset to: UTF-8
Nothing works. Other details include:
• File is UTF-8 encoded
• Operating System : RHEL
• Database: Oracle 11gR2
Any thing else that I might be missing? Any help will be appreciated. Thanks in advance!
GaneshCREATE TABLE "APP_XXX_XX_XXXX"(
"KEY_NO" NUMBER,
"XXX_XXX_XXXXX" VARCHAR2(1 CHAR),
"XXX_XXX_XXXXX" NUMBER(9,0),
"XXX_XXX_XXXXX" NUMBER(4,0),
"XXX_XXX_XXXXX" NUMBER(2,0),
"XXX_XXX_XXXXX" NUMBER(3,0))
ORGANIZATION EXTERNAL
( TYPE ORACLE_LOADER
DEFAULT DIRECTORY "DIR"
ACCESS PARAMETERS
( RECORDS DELIMITED BY NEWLINE
CHARACTERSET 'UTF8'
LOGFILE APP_XXX_XX_XXXX_%A_%P.LOG'
BADFILE 'APP_XXX_XX_XXXX_%A_%P.BAD'
DISCARDFILE 'APP_XXX_XX_XXXX_%A_%P.DSC'
FIELDS(
KEY_NO POSITION(1:9) INTEGER EXTERNAL,
XXX_XXX_XXXXX POSITION(10:10) CHAR,
XXX_XXX_XXXXX POSITION(11:19) INTEGER EXTERNAL,
XXX_XXX_XXXXX POSITION(11:14) INTEGER EXTERNAL,
XXX_XXX_XXXXX POSITION(15:16) INTEGER EXTERNAL,
XXX_XXX_XXXXX POSITION(17:19) INTEGER EXTERNAL)
LOCATION
( 'FILE1.TXT')
REJECT LIMIT UNLIMITED
PARALLEL 4;
The data forms part of a major driver table, which I may not be able to provide as per the NDA with my company.
The Script I have shared is standard template for creating external table as part of our applications.
We majorly cater for EU regions with this project.(European Characterset needed to be supported)
Thanks
Ganesh
Edited by: RGRAM on Feb 11, 2011 12:44 PM -
Hi, I drag and drop an expert mode updatable VO to create an ADF editable table with inputText components associated with the table columns. This table is also binded to a CoreTable object inside the backing bean of the page. I also have a "Save" button which has actionLister binded to the backing bean to handle the saving for user's input data.
Basically, I have 2 rows and 2 columns for the editable table. I entered "ABC" for the first row and first column and entered "DEF" for the second row and first column like the following:
| Column 1 | Column 2 |
| ABC | |
| DEF | |
In the backing bean's saveChanges method, I do:
public void saveChanges(ActionEvent actionEvent) {
int rowCount = this.testCaseTable.getRowCount();
for (int i=0; i<rowCount; i++) {
JUCtrlValueBindingRef rowDef = (JUCtrlValueBindingRef)this.testCaseTable.getRowData(i);
TestCaseRowImpl row = (TestCaseRowImpl )rowDef.getRow();
System.out.println("Column1 Data: "+row.getColumn1());
System.out.println("Column2 Data: "+row.getColumn2());
I am expecting to get "ABC" for the first row column1 data and "DEF" for the second row column1 data. However, the actual result is both "DEF" (the last entered value) for both the first and second row column1 data.
What can be the potential issues of my codes? How can I get the correct user input data?
Thanks.Hi
You can obtain this data from iterator:
DCBindingContainer bc = getBindings()
DCIteratorBinding iter = bc.get("YourIteratorNameIterator");
while(iter.hasNext()){
Row row = iter.next()
System.out.println("Column1 Data: "+row.getAttribute("Column1"));
System.out.println("Column2 Data: "+row.getColumn2("Column2"));
Kuba -
Table - Issue with Logging Data Changes
Hi Experts,
My client's requirement is to log data changes happened in a table which is critical. I've selected 'Log data changes' check box in technical settings of the table. Now, I'm able to see log for all the changes i did after that. But, I'm facing following issues. Kindly help me in fixing the same.
1. The table is having two fields with same data element. In the change log SCU3, under the field name, field label mentioned in the data element is getting displayed. As, the data element is same for two fields, its difficult to find out which particular field is changed. Is there any way to display table field name instead of field label from data element?
2. Sometime, even there is change in the data record, I'm able to see a log record in the change log with caption 'Data record unchanged'. What might be the problem and how to resolve?
Thanks in Advance,
Siva Sankar.Hi Moha Nan,
You just use ABAP to change the table P? In this way I think it is not change to X table.
You can upload master data to add navigation,it is a good way to bulid the SID of P table and X
table .
Hope it is help to you! -
SMART FORMS- data from internal table issue
Hi ,
I have a smart form in which I have to print three types of materials of Material Types say M1, M2 ,M3.
In the SMART FORM,Main Window, I have created 3 TABLES for 3 types of Materials ie,
TableM1,
TableM2,
TableM3.
The internal tables to populate these TABLES are
( passing from Print program ).
t_M1,
t_M2,
t_M3
The Number of FIELDS vary in all the tables ,thats why I have created 3 internal tables for Diff Material Types.
But only first TABLE is getting printed ie data inside TableM2, TableM3 are not getting printed.
Can any SMARTFORM Gurus please let me know how I can solve this issue.
Regards
AviHi,
Check whether you are mentioning any condition on the data. There are different possibilites of not getting printed. Like the way your displaying, data is in table.
Can you please clearly mention how did you populated the internal table and kept the logic to print the values in the table. So that it problem would be more clearly nown.
Br,
Laxmi -
Hi Experts,
Row
Column
Value
1
0001
Prem(First Name )
1
0002
Raj(Middle name )
1
0003
Kaushik(Last name
2
0001
Naresh
I have the above data in excel file and my internal table like as follows
Data : begin of it_itab occurs 0,
Row type c,
Column type string,
Value type string,
End of it_itab.
Now I want to upload the excel file to my internal table
filed wise i.e in my intenal table row
shold have row values from excel same as
for column and value also
Can anyone suggest me fix this issue?
Best Regards,
Ramjee MYou may use this function to put data in internal table.
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = p_file *xcel file name
i_begin_col = p_scol *start column
i_begin_row = p_srow *start row
i_end_col = p_ecol *end col
i_end_row = p_erow *end row
TABLES
intern = it_tab
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
Use this function to put data in internal table. -
Reading internal table issue?
SELECT PERNR WERKS ABKRS BUKRS KOSTL ENAME GSBER FROM PA0001
INTO TABLE GT_0001
FOR ALL ENTRIES IN GT_0709
WHERE PERNR = GT_0709-PERNR
AND ENDDA >= P_DATE
AND BEGDA <= P_DATE.
READ TABLE GT_0001 INTO LS_0001 WITH TABLE KEY PERNR = LS_0709-PERNE
IF SY-SUBRC = 0.
CALL FUNCTION 'PA03_PCR_READ'
EXPORTING
F_ABKRS = LS_0001-ABKRS
IMPORTING
F_CURRENT_BEGDA = GV_BEGINDATE
F_CURRENT_ENDDA = GV_ENDDATE.
ENDIF.
IN THIS CODE WHILE READING THE INTERNAL TABLE IT IS SHOWING ERROR?
PLEASE CORRECT THE CODE.
REGARDS
REDDYHi,
Please remove 'TABLE' keyword from your syntax.
Check the datatype of field PERNR & PERNE. It shoud be same.
Check the value which is in PERNE fied shoud be available in PERNR Field or not?
Hope by this things you will be able to resolve issue.
Regards,
Narendra -
Static internal table issue - Used in BI Extractor
Hi,
We are reading data from a table in to a static internal table and using this table for future lookups.
Once in a while we can't find data while doing a lookup from this static internal table , But most of the time it works.
Is it possible that data from this static internal table is removed due to memory issues during peak periods.
Thanks in advanceHere is the code and it is there in a function module.This function module is called from a different FM in a loop.
TABLES: OIU_CM_MAT_PRCD.
STATICS: i_mat_prcd LIKE OIU_CM_MAT_PRCD OCCURS 10 WITH HEADER LINE.
DATA: ws_lines like sy-toccu.
DESCRIBE TABLE i_mat_prcd LINES ws_lines.
IF ws_lines = 0.
SELECT * INTO TABLE i_mat_prcd
FROM OIU_CM_MAT_PRCD.
IF i_matnr > ' '.
SORT i_mat_prcd BY matnr.
ELSE.
SORT i_mat_prcd BY majpd_cd pd_cd.
ENDIF.
ENDIF.
IF i_matnr > ' '.
READ TABLE i_mat_prcd WITH KEY matnr = i_matnr
BINARY SEARCH.
IF SY-SUBRC = 0.
CHG_MAJOR = i_mat_prcd-MAJPD_CD.
CHG_MINOR = i_mat_prcd-PD_CD.
CONCATENATE i_mat_prcd-majpd_cd i_mat_prcd-pd_cd
INTO chg_prod.
ENDIF. " i_matnr > blank -
I've got a nested table issue..
Okay, first off: in Oracle 9i is there an option to nest a table inside a nested table? I got the impression it is an option; & I'd like further info on this.
..& on to the issue I've got: I've got one nested table object that I've identified in the following way:
Create Type InnerNestedTable_ty as Object (
ID Number(10),
InnerNestedTableField Number(10)
Create Type InnerNestedTable_tab as Table of InnerNestedTable_ty;
If I were only going to nest this inside of one outer table, I'd input the following (I guess):
Create Table Info (
ID Number(10),
OuterTableField InnerNestedTable_tab
Nested Table OuterTableField Store as InnerNestedTable_ntab;
Only thing is I'd like to nest this inside a nested table, in a field of an outer table (i.e., I'm going for a nested nested table, in other words). I guess I need the code to input in order for this to occur. For example, the outer table would be called OuterTable, the field would be OuterTableField. In that field I'd like a nested table [OuterNestedTable_ty, OuterNestedTable_tab] with the fields ID & OuterNestedTableField. The OuterNestedTableField field is to be a nested table itself [InnerNestedTable_ty, InnerNestedTable_tab]. I've got the latter, but no idea Long postings are being truncated to ~1 kB at this time.Noel,
You can check out examples in the online doc at http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96594/adobjbas.htm#462243.
Regards,
Geoff
Maybe you are looking for
-
TS1368 When downloading the latest updateI get an error message MSVCR80.dll is missing
I have come up against an error created when downloading the latest update to itunes. This does not download and if you follow the instructions of going to tools and download manually then update it creates an error message of MSVCR80.dll is missing
-
I downloaded an album on my iphone 5..help!
I downloaded an album on my iphone 5, and synced it to my laptop. it has put the songs on the playlist in itunes, but has taken it off my iphone, and wont put them on there even though they are in the playlist on the comp..?
-
How to include jre and program in an installer?
Hi, I need to make a complete package where latest jre and my program jar file will be within. How to pack those in an installer? Thanks in advance.
-
OVM3.2.1 fail to Move Virtual Machines To Unassigned Virtual Machine Folder
I followed OVM User's Guide for Release 3.2 Beta to Chapter 8.10.10 to Move one Virtual Machine To Unassigned Virtual Machine folder after shutting down the VM but failed with below error, could somebody help? Job Construction Phase Job ID: 135847706
-
Layer2 security 802.1x radius traffic will be sent from foreign WLC or anchor WLC?
Wireless Design with foreign WLC or anchor WLC, understood that after WIFI client associated with WLC, all traffic should be tunneled to anchor WLC including DHCP request or any layer3 security such as web auth. What if we are using layer2 security 8