Operand issues
In one of my programs I have the following line:
thickness2=Math.abs((int)Math.round(thickness1/Math.sin((pi/2)*(1-(2*skip)/n))));
which was giving an unexpected (wrong) output. All the variable used are declared as Integers except for pi which is declared as a double-float.
I narrowed the error down to :
(1-(2*skip)/n)
which I realised the program was evaluating as an integer. I worked around the problem by declaring two doubles nf and skipf and replacing my line with:
nf=n;skipf=skip;
thickness2=Math.abs((int)Math.round(thickness1/Math.sin((pi/2)*(1-(2*skipf)/nf))));
This now gives accurate results but I was wondering if there was a better solution, ie some way to force the compiler to evaluate the (1-(2*skip)/n) part as a float/double even though the operands are integers.
Thanks.
That's perfect....thanks Flounder....exactly what I was looking for.
I guess the compiler will keep evaluating each section of the mathematical expression as an integer until it encounters at least one explicit float/double.
Similar Messages
-
Selection criteria WAWE0 with operand " "
Hi Experts
ME2N is used for list display of POs.
Selection parameter SELPA is used as an input to restrict the result.
However selection parameter WE101, contains a selection criteria WAWE0 with operand ">" (Issued > deliv).
But i am not able to recognise the difference using this operand.
Can you please explain programitally what restriction is established by this operand for WAWE0.
Thanks and warm regards
ramSivaJulie,
I have found that the best way to not print the selection criteria page is to do a print preview before printing and then close the selection criteria print preview before printing your report. Hope this helps.
Jeff Haldeman
Support One -
Operand/Fact Group Sap Utilities Issue
Hi
I was wondering if you can help me, I can't seem to update an Operand in SAP Utilities.
I get the following error:
Timeslice 05.05.2013, Operand GRT-FIX, Ratetype G-FIX98 incorrect, expected
G-FIXxx entry.
There is already a fix rate identified for this billing period, I'm going in circles. Any help or a walk through guide would be highly appreciated?
Thanks
WazThanks Tammy
Appreciate this, I joined SAP Communities to get some help. I'll find a way to access the notes you've mentioned. In honesty, I don't know who would be our Basis Admin to gain access to SAP Notes.
Once again thanks for pointing me to the right direction
Waz -
Report issue on Virtual cube with services
Hi,
I'm following a how-to document to report on a virtual cube using a custom function module and everything seems to be OK except it is dumping at the following line which is included in the How To document "How Tou2026Implement a virtual InfoProvider with Services".
Both <l_s_data> and E_T_DATA are of same data types as discussed in the how-to document.
append <l_s_data> to E_T_DATA
These are the declarations which are same as HowTo document
E_T_DATA TYPE STANDARD TABLE
FIELD-SYMBOLS: <l_s_data> TYPE ANY.
Did any one face this issue. Greatly appreciate any insight into this issue. We are on BW 3.0B.
the dump i'm getting is ...
Data objects in a Unicode program are not convertible.
Error analysis
The statement "MOVE src TO dst" requires the operands "dst" and "src" to be comvertible.
Since this statement occurs in a Unicode program, the special convertibility rules for Unicode programs apply.
Thanks,
Hari Immadi
http://immadi.com
SEM BW AnalystHi,
In the debugging this is what I found out.. Any further insight?
Virtual cube has only 1 characteristic Z_CRNUM & only 1 keyfigure Z_SR
Report has only Z_CRNUM & Z_SR
<L_S_DATA> has following record & value
component type length contents
K____504 P 9 1.000
S____504 C 18 16EA4D-R
K____504 is the technical name of Z_SR in virtual provider.
S____504 is the technical name of Z_CRNUM in virtual provider.
E_T_DATA (type standard table) has following structure with a total of 5 fields.
S____504 K____504 &KEYEND 1ROWCOUNT Z_SR
Regards
Hari Immadi
http://immadi.com
SEM BW Analyst -
Issue in payslip calculation.
Hi Experts,
I am facing problem in payslip
new employees who joined in the middle of this months
1) DOJ 5.9.2011 in the slip only Basic calculation showing correctly.
2. DOJ 15.9.2011 in the slip only Basic Calculation showing correctly
In previous month payslip of new employees there is no issue in the calculation. but in this month salary slip except Basic all monthly component i e. HRA, Special .Allwn, Tran,Edu, CAR Allwn are showing wrong calculation .
Note: few days ago we I maintain PCR ZNP1 from INP1, for present days in payslip. is this problem come due to this?
Please guide me..
Regards,
RajIf you do a Payroll Simulation with the "Display Log" box checked, you will then be able to look at the partial period parameters calculated for that employee (function PARTT).
If you use t-code pe04, enter Payroll Operation AMT, and look at it's documentation > for 6 places operands > for 2nd Variant: Table Fields > for type T tables, you will find the link to the Partial Period Parameters, of which the following is only the first few lines:
Partial Period Parameter for the Partial Period (Operand Prefix T)
Object
Additional operation documentation
Explanation
1. Planned working time in accordance with employee's personal work
schedule with exact reference to basic pay period
KSOLL : Planned working time measured in calendar days
ASOLL : Planned working time measured in work days
SSOLL : Planned working time measured in working hours
2. Total working time in payroll period in line with employee's work
schedule with exact reference to basic pay period
KDIVI : Total working time measured in calendar days
ADIVI : Total working time measured in working days
... and there are many threads on this site and on the web relating to this issue. -
Can't open Illustrator file - "does not have the correct number of operands..."
Right off the bat - Mac, 10.6.8, Illustrator CS4. I've seen different variations of this "...correct number of operands..." error on these boards, with fonts and other things as the culprit, but I haven't come across this specific issue yet. If someone has seen something along these lines please let me know.
I work for a small design agency that uses Illustrator CS4 on a consistent basis. We have had an ongoing issue where random files that had been working fine will sporadically become corrupt, causing us to have to use the Document Recovery Mode and then edit the file in a text editor to fix the problem which does work for this issue flawlessly, other than the headache of having to do this repeatedly.
Our workflow is such that we use a local area storage RAID which everyone uses to access the same client files. These client files are all in a series of nested folders we employ to keep all our separate client's work separate. The error arises when certain images are placed into a document, then the document is saved and closed. Upon trying to reopen the file we get an error message like this:
Where the string "/CR0050_ret.psd" is the filename of the offending image. Basically what has happened is that in the actual code for the document, there is a string that starts as "%%IncludeFile....." which specifies the file's pathway on the local area storage we use. The last segment of that string is the image's filename, which has gotten returned to the next line down, and now the program cannot interpret that line in the code, so it cannot properly open the file. The file will open but only the content that is above the offending IncludeFile string is visible.
(client information blurred out)
This does not happen to all the "%%IncludeFile" strings in the document, and does not happen for all images on our local area storage. We know how to fix the problem through the Document Recovery mode and then editing the text. Once we return the filename portion of the code back up to the proper line, and save the file in the text editor, the file will open in Illustrator and show all the information contained within properly. However, if you save the file out again without making any changes, the same errors will propagate throughout the file's code again, and become unreadable prompting another document recovery. Insert endless cycle here.
What we would like to try and find out is why is this happening, so we can prevent it from happening in the future. Is the image nested too far down in the hierarchy of folders? Are there too many characters in the file pathway string? What can we do to keep this from happening moving forward?
I know that an easy answer is to copy the files over locally to our hard drives, and work from there, but this is not a very efficient way to work, as we are all collectively working on different files, utilizing common image resources. We like to keep one set of images so there is no duplication that may lead to the wrong image being sent out - "Oh you sent John's version? You should have sent Molly's version of the image for that file"
We also downloaded the trial version of Illustrator CS6 to see if an upgrade would work wonders, but it does not, the problem persists when saving a recovered file in CS6.
Any thoughts? Thanks in advance.
ABKIn Illustrator it is generally not a good idea to read and write directly to and from a server: http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html
If you really think you need to do it, then check your network thoroughly. -
Hello, good people. Please help!
I am working on a project that consists of one .ai file that contains 27, letter sized art boards.
I am using Adobe cs5-Illustrator on a macbook pro.
I have opened and closed and save this file many, many times—I have been working on this for the last 2+weeks.
Today, when I tried to open the file I received an error message that read: "can't open the illustration. the illustration contains an illegal operand. Offending operator '((((((((((((((((((((((( 1Gm
A screen shot of the entire message is below. Can anyone please help me to ward of this "offending operator?"
Thank you in advance.AAhlene,
It is strange that the offending operation is not shown in context within the message.
Are you saving to your own harddisk( see below)?
One thing often tried first is to create a new document and File>Place the (PDF contents, if any, of the) corrupted one to see how much may be rescued that way.
Here are some websites where you can see whether it can rescue the actual file, and if it can, you may pay for a subscription to have it done,
http://www.recoverytoolbox.com/buy_illustrator.html
http://markzware.com/adobe-software/fix-illustrator-file-unknown-error-occurred-pdf2dtp-fi le-recovery/
http://www.illustrator.fixtoolbox.com/
As far as I remember, the first one is for Win and the second one is for Mac, while the third one should be for both.
Here are a few pages about struggling with it yourself:
http://daxxter.wordpress.com/2009/04/16/how-to-recover-a-corrupted-illustrator-ai-file/
http://helpx.adobe.com/illustrator/kb/troubleshoot-damaged-illustrator-files.html
http://kb2.adobe.com/cps/500/cpsid_50032.html
http://kb2.adobe.com/cps/500/cpsid_50031.html
http://helpx.adobe.com/illustrator/kb/enable-content-recovery-mode-illustrator.html
External media: It is always recommended here to open/save from/to own hard disk, and to copy from/to networks and removable media. You may be lucky (for a while), but the chances of file corruption and other unpleasantnesses are immensely greater when you use anything but the harddisk, and it is better to be safe than sorry.
In addition to the (far greater) risk of file corruption, some issues are mentioned here:
http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html
To have a network actually work may require some work.
If you transfer by external means it is always safest to zip/compress the file to avoid corruption. -
HI All experts,<br><br>
i have a program in which i have a select query <pre>
SELECT b~vertrag
a~anlage
a~operand
a~saison
a~ab
a~ablfdnr
a~bis
a~wert1
FROM ettifn AS a INNER JOIN ever AS b
ON aanlage = banlage
INTO TABLE li_captran PACKAGE SIZE p_pack
WHERE a~anlage IN s_anlage
AND a~ab <= l_date
AND a~bis >= l_date
AND a~operand IN ('ID-CAPLOAD','ID-OBLT')
AND b~einzdat <= l_date
AND b~auszdat >= l_date.</pre><br><br>
this query is taking a lot of time in running and we are facing lot of performance related issues
<br><br>
kindly guide me how i can break this into som simpler query
<br><br>
ettifn has 10 million records
ever has around 5 million records .
<br><br>
also please tell me how much data i can store into an internal table
can i store 5 million records in an internal table ??????
is it good in terms of performance of a program if not please tell me what is the better way of doing dat .
<br><br>
also tell me how secondry indexes help in improving performance of select query
is it good to maintain number of secondry indexes in a standard table or it decreases performance of a standard table .
<br><br>
<pre>
TYPES: BEGIN OF ty_eanlh,
anlage LIKE eanlh-anlage,
bis LIKE eanlh-bis,
tariftyp LIKE eanlh-tariftyp,
END OF ty_eanlh.
DATA: l_date TYPE datum.
DATA: li_eanlh TYPE HASHED TABLE OF ty_eanlh WITH UNIQUE KEY anlage
bis
WITH HEADER LINE.
DATA: li_captran TYPE HASHED TABLE OF ty_captran WITH UNIQUE KEY vertrag
anlage
operand
saison
ab
ablfdnr
WITH HEADER LINE.
DATA: l_tariftyp LIKE eanlh-tariftyp.
l_date = p_date + 6.
l_date = p_date + 5. "As per Terry's Request 1/23/2009
CHECK NOT p_cap IS INITIAL.
Get Operand Values
SELECT b~vertrag
a~anlage
a~operand
a~saison
a~ab
a~ablfdnr
a~bis
a~wert1
FROM ettifn AS a INNER JOIN ever AS b
ON aanlage = banlage
INTO TABLE li_captran PACKAGE SIZE p_pack
WHERE a~anlage IN s_anlage
AND a~ab <= l_date
AND a~bis >= l_date
AND a~operand IN ('ID-CAPLOAD','ID-OBLT')
AND b~einzdat <= l_date
AND b~auszdat >= l_date.
IF sy-subrc EQ 0 AND NOT li_captran[] IS INITIAL.
Get Rate Category
SELECT anlage
bis
tariftyp
FROM eanlh INTO CORRESPONDING FIELDS OF TABLE li_eanlh
FOR ALL ENTRIES IN li_captran
WHERE anlage = li_captran-anlage
AND ab <= l_date
AND bis >= l_date.
Get POD ID
SELECT a~anlage
a~int_ui
a~dateto
a~timeto
b~ext_ui
INTO TABLE i_pod
FROM euiinstln AS a INNER JOIN euitrans AS b
ON aint_ui = bint_ui
FOR ALL ENTRIES IN li_captran
WHERE a~anlage = li_captran-anlage.
IF sy-subrc EQ 0 AND NOT i_pod[] IS INITIAL.
SORT i_pod BY anlage.
SELECT vertrag
int_ui
serviceid
FROM eservice
INTO TABLE i_servicect
FOR ALL ENTRIES IN i_pod
WHERE int_ui = i_pod-int_ui
AND service_start <= l_date
AND service_end >= l_date
AND service = 'ESUP'.
ENDIF.
LOOP AT li_captran.
i_ct-anlage = li_captran-anlage.
READ TABLE li_eanlh WITH KEY anlage = li_captran-anlage.
IF sy-subrc EQ 0.
i_ct-tariftyp = li_eanlh-tariftyp.
READ TABLE i_rate WITH KEY tariftyp = i_ct-tariftyp.
IF sy-subrc NE 0.
CONTINUE.
ENDIF.
ELSE.
i_ct-tariftyp = '0000'.
ENDIF.
READ TABLE i_pod WITH KEY anlage = li_captran-anlage.
IF sy-subrc EQ 0.
READ TABLE i_servicect WITH KEY int_ui = i_pod-int_ui.
IF sy-subrc EQ 0.
i_ct-serviceid = i_servicect-serviceid.
ENDIF.
ENDIF.
IF li_captran-operand = 'ID-CAPLOAD'.
i_ct-cap = li_captran-wert1.
ELSEIF li_captran-operand = 'ID-OBLT'.
i_ct-tran = li_captran-wert1.
ENDIF.
COLLECT i_ct.
CLEAR: li_captran, i_ct.
ENDLOOP.
ENDIF.
ENDSELECT.</pre><br><br>
this code is taking a lot of time to execute and decreasing the system performance .<br><br>
please guide me how can i increase the performance of this code .<br><br>
Thanks in advance<br><br><br><br>
Edited by: Matt on Oct 11, 2009 9:45 PMHi matt ,
no i am not thru bcoz of formatting i just trying to remove it and i just marked it answered so that it will not come in my unanswered because unanswered questions are limited.
also could you please help me in this question .
now how can i change this question to unanswerd .
plz guide me
Thanks in advance -
Plz help upgrade issue moving data from char type structure to non char typ
Hi Experts
plz help its very urgent
Data :workout(5000) .
FIELD-SYMBOLS : <FS_WORKOUT> TYPE ANY.
workout = ' u' .
ASSIGN WORKOUT TO <FS_WORKOUT> CASTING TYPE C .
BAPISDITM = <FS_WORKOUT>.
i am getting dump after BAPISDITM = <FS_WORKOUT>.
i think i am getting the dump bcoz i am moving character type structure to non character type structure but i think with field symbols we can remove this issue thats y i used it but its not working plz help me
its very urgent
*dump is :*
Short text
Data objects in Unicode programs cannot be converted.
What happened?
Error in the ABAP Application Program
The current ABAP program "ZSDR0009" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
How to correct the error
Use only convertible operands "dst" and "src" for the statement
"MOVE src TO dst"
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UC_OBJECTS_NOT_CONVERTIBLE" " "
"ZSDR0009" or "ZSDR0009_I02"
"USER_COMMAND"
thanx in advancei got d solution in this thread
Hi all,
data: gv_line(6000) type c.
Bvbapkom = gv_line.
But i am getting the Error like : gv_line and Bvbapkom are not mutually convertable.
Note: Bvbapkom is a Structure
How do i solve this ?
Mahesh
KR
Posts: 210
Registered: 11/24/06
Forum Points: 0
Re: gv_line and Bvbapkom are not mutually convertable.
Posted: Nov 30, 2007 8:40 AM in response to: KR Reply
Hi ,
i got the solution
ANSWER:
Field-symbols: <X_Bvbapkom> type x,
<X_gv_line> type x.
Assign: Bvbapkom to <X_Bvbapkom> casting,
gv_line to <X_gv_line> casting.
<X_Bvbapkom> = <X_gv_line>.
Nasaka Ramakris...
Posts: 4
Registered: 1/19/08
Forum Points: 20
Re: gv_line and Bvbapkom are not mutually convertable.
Posted: Jan 19, 2008 7:42 AM in response to: KR Reply
Hi Check this answer.
ANSWER:
Field-symbols: <X_Bvbapkom> type x,
<X_gv_line> type x.
Assign: Bvbapkom to <X_Bvbapkom> casting,
gv_line to <X_gv_line> casting.
<X_Bvbapkom> = <X_gv_line>. -
USDN Currency issue - "COMPUTE_BCD_OVERFLOW" Dump
Hey Guyz & Gals,
Could any one of you please assist me with the below explained issue ?
The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW',
was not caught in procedure "CFAKTOR" "(FORM)", nor was it propagated
by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
An overflow was discovered in an ongoing arithmetical operation with
operands of type P. Possible causes are:
1. The result field of type P is too small for the result.
2. The result or a intermediate result has more than 31 decimal places.
Information on where terminated :
Termination occurred in the ABAP program "RFKOPR10" - in "CFAKTOR".
The main program was "RFKOPR10 ". In the source code you have the
termination point in line 2664 of the (Include) program "RFKOPR10".
The termination is caused because
exception "CX_SY_ARITHMETIC_OVERFLOW" occurred in
procedure "CFAKTOR" "(FORM)", but it was neither handled locally nor
declared in the RAISING clause of its signature.
The procedure is in program "RFKOPR10 "; its source code begins in line
2655 of the (Include program "RFKOPR10 ".
Not only transaction -> S_ALR_87012178, but also lots of standard programs like
Vendor Ageing Analysis, Customer/Vendor account statements are giving
same kind of Short dumps.
This company code is using a 5 decimals currency. If I try to make it 2
decimals, then i am not getting short dump. We have also maintained table TCURX in OY03 & OY04.
But, as a business requirement 5 decimal currency is a must.
Please advice what to do ???????
Edited by: The Fuhrer on Dec 21, 2008 12:14 PMIf this is an unmodified SAP program, the forum really cannot help you. Look for notes and if you don't find any, raise an OSS message.
Rob -
Issue with Document from Template
Hi Friends,
I am using a Document from Template step to display a set of records in my Workflow. For this i have a created a template of type excel sheet and i have linked the multi line container element from my workflow to this template. But i am not able the view the records in
sequence.Lets say my multi line container element has the following 2 records:
WEATH_ZONE 02/01/2008 03/31/2008 ABC
BACKACST 03/01/2008 03/31/2008 123
Once i execute my Workflow i am getting the values appended in a
single row in excel sheet as follows.
WEATH_ZONEBACKACST ABC123 02/01/200803/01/2008 03/31/200803/31/2008
But i need them in the same format as above.Please let me know how i can solve this issue.
BTW I have done the linking in the template as follows where Str is my multil ine container element and the values after dot is my fields.
{&STR.OPERAND&} {&STR.UDEFVAL1&} {&STR.FROMDATE&} {&STR.DUEDATE&}This workaround worked for me:
You need to enter manually a ## behind your element.
For example if your multiline element is :
{&BUS2012.REPORTDESCRIPTION&}
You need to insert a ## in the element (in the word-document), like this:
{&BUS2012.REPORTDESCRIPTION##&} .
Hope it helps you,
Bert -
PHP 5.2.4 + OCI8 Compile Issues on RHEL4
Hiya,
i've been looking around and can't really find anything to help with this issue, i have installed the oracle RPMS:
[root@proxy2 php-5.2.4]# rpm -qa | grep -i oracle
oracle-instantclient-basic-11.1.0.1-1
oracle-instantclient-devel-11.1.0.1-1
oracle-instantclient-odbc-11.1.0.1-1
oracle-instantclient-sqlplus-11.1.0.1-1
the configure line works fine:
./configure \
--with-oci8=$ORACLE_HOME \
--with-mysql \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-ftp \
--with-curl \
--enable-sockets \
--with-tidy \
--enable-sigchild
yet when attempting to run make a whole load of errors in the line of:
/source/php-5.2.4/ext/oci8/oci8.c: In function `php_oci_fetch_row':
/source/php-5.2.4/ext/oci8/oci8.c:1680: error: `z_statement' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1680: error: invalid type argument of `unary *'
/source/php-5.2.4/ext/oci8/oci8.c:1681: error: invalid operands to binary *
/source/php-5.2.4/ext/oci8/oci8.c:1682: error: `column' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1683: error: `ub4' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1683: error: syntax error before "nrows"
/source/php-5.2.4/ext/oci8/oci8.c:1687: error: `expected_args' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1690: error: `ht' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1695: error: `mode' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1727: error: syntax error before ')' token
/source/php-5.2.4/ext/oci8/oci8.c:1727: error: `return_value' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1729: error: `nrows' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1735: error: request for member `ncolumns' in something not a structure or union
/source/php-5.2.4/ext/oci8/oci8.c:1747: error: `element' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1749: error: syntax error before ')' token
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: invalid type argument of `->'
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: `orig_ptr' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: syntax error before ')' token
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: invalid type argument of `unary *'
/source/php-5.2.4/ext/oci8/oci8.c:1776: warning: passing arg 1 of `_zval_copy_ctor' makes pointer from integer without a cast
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: invalid type argument of `->'
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: invalid type argument of `->'
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: invalid type argument of `->'
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: invalid type argument of `->'
/source/php-5.2.4/ext/oci8/oci8.c:1776: warning: passing arg 1 of `_zval_dtor' makes pointer from integer without a cast
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: invalid type argument of `unary *'
/source/php-5.2.4/ext/oci8/oci8.c:1776: warning: passing arg 1 of `_zval_copy_ctor' makes pointer from integer without a cast
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: invalid type argument of `->'
/source/php-5.2.4/ext/oci8/oci8.c:1776: error: invalid type argument of `->'
/source/php-5.2.4/ext/oci8/oci8.c:1778: error: request for member `ncolumns' in something not a structure or union
/source/php-5.2.4/ext/oci8/oci8.c: In function `php_oci_persistent_helper':
/source/php-5.2.4/ext/oci8/oci8.c:1788: error: `connection' undeclared (first use in this function)
/source/php-5.2.4/ext/oci8/oci8.c:1793: error: syntax error before ')' token
/source/php-5.2.4/ext/oci8/oci8.c:1796: error: request for member `in_call' in something not a structure or union
/source/php-5.2.4/ext/oci8/oci8.c:1822: error: request for member `persistent_timeout' in something not a structure or union
/source/php-5.2.4/ext/oci8/oci8.c:1823: error: request for member `persistent_timeout' in something not a structure or union
/source/php-5.2.4/ext/oci8/oci8.c:1826: error: request for member `ping_interval' in something not a structure or union
/source/php-5.2.4/ext/oci8/oci8.c:1827: error: request for member `ping_interval' in something not a structure or union
/source/php-5.2.4/ext/oci8/oci8.c:1835: error: request for member `persistent_timeout' in something not a structure or union
make: *** [ext/oci8/oci8.lo] Error 1
(there is more before that!)
Any clues on what might be the cause of this? i have also attempted getting the latest PHP oci8 package from http://pecl.php.net/package/oci8 but alas no luck.
Can anyone enlighten me on how to correct this? Thanks in advance!
Regards,
Shadi AlmosriMore Debugging information incase it helps, this is the process i am taking to run the compile.
[root@proxy2 php-5.2.4]# make distclean
find . -name \*.gcno -o -name \*.gcda | xargs rm -f
find . -name \*.lo -o -name \*.o | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp5.la sapi/cli/php libphp5.la modules/* libs/*
rm -f config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h stamp-h php5.spec sapi/apache/libphp5.module buildmk.stamp
grep -E define'.*include/php' /source/php-5.2.4/configure | /bin/sed 's/.*>//'|xargs rm -f
find . -name Makefile | xargs rm -f
[root@proxy2 php-5.2.4]# ./buildconf --force
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
rebuilding configure
aclocal.m4:2141: PHP_PROG_LEX is expanded from...
[root@proxy2 php-5.2.4]# export ORACLE_HOME=/usr/lib/oracle/11.1.0.1/client
[root@proxy2 php-5.2.4]# export LD_LIBRARY_PATH=/usr/lib/oracle/11.1.0.1/client/lib
[root@proxy2 php-5.2.4]# ./configure \
--with-oci8=$ORACLE_HOME \
--with-mysql \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-ftp \
--with-curl \
--enable-sockets \
--with-tidy \
--enable-sigchildconfigure completes with no errors with these outputs related to OCI:
checking for Oracle (OCI8) support... yes
checking PHP version... 5.2.4, ok
checking Oracle Install Directory... /usr/lib/oracle/11.1.0.1/client
checking if we're on a 64-bit platform... no
checking OCI8 libraries dir... lib
checking Oracle version... 11.1
checking for OCILobIsTemporary in -lclntsh... yes
checking for OCICollAssign in -lclntsh... yes
[root@proxy2 php-5.2.4]# make
Then the errors start from here:
/bin/sh /source/php-5.2.4/libtool silent preserve-dup-deps --mode=compile gcc -Iext/oci8/ -I/source/php-5.2.4/ext/oci8/ -DPHP_ATOM_INC -I/source/php-5.2.4/include -I/source/php-5.2.4/main -I/source/php-5.2.4 -I/usr/include/libxml2 -I/source/php-5.2.4/ext/date/lib -I/usr/include/mysql -I/source/php-5.2.4/TSRM -I/source/php-5.2.4/Zend -I/usr/include -g -O2 -prefer-non-pic -c /source/php-5.2.4/ext/oci8/oci8.c -o ext/oci8/oci8.lo
In file included from /source/php-5.2.4/ext/oci8/oci8.c:50:
/source/php-5.2.4/ext/oci8/php_oci8_int.h:56:17: oci.h: No such file or directory
In file included from /source/php-5.2.4/ext/oci8/oci8.c:50:
/source/php-5.2.4/ext/oci8/php_oci8_int.h:101: error: syntax error before "OCIEnv"
/source/php-5.2.4/ext/oci8/php_oci8_int.h:101: warning: no semicolon at end of struct or union
/source/php-5.2.4/ext/oci8/oci8.c:1826: error: request for member `ping_interval' in something not a structure or union
/source/php-5.2.4/ext/oci8/oci8.c:1827: error: request for member `ping_interval' in something not a structure or union
/source/php-5.2.4/ext/oci8/oci8.c:1835: error: request for member `persistent_timeout' in something not a structure or union
make: *** [ext/oci8/oci8.lo] Error 1
[root@proxy2 php-5.2.4]# -
Operand value exceeds system limits in sdo_aggr_mbr
Hi-- i'm trying to get the MBR of a fairly large geometry (1429 vertices) and run into a strange problem:
when i:
select sdo_aggr_mbr(shape)
from FEEDER_LINES_SDO
where subname = 'OCEANO';
i get what i expect:
SDO_GEOMETRY(2003, 82212, NULL, SDO_ELEM_INFO_ARRAY(1,1003, 3),SDO_ORDINATE_ARRAY(712103.736,3876977.34, 733591.744, 3896557.18))
however when i try to get the subname in my query as well:
select subname ,sdo_aggr_mbr(shape)
from FEEDER_LINES_SDO
where subname = 'OCEANO'
group by subname;
i get
ERROR at line 1:
ORA-22813: operand value exceeds system limits
The query fails with "ORA-00937: not a single-group group function" when i leave out the group by clause
i can get around it with a kludge, but would like to know why the group by fails
the kludge:
select subname,min(t.x) minx, min(t.y) miny, max(t.x) maxx, max(t.y) maxy from
FEEDER_LINES_SDO c,
TABLE(SDO_UTIL.GETVERTICES(c.shape)) t
where subname = 'OCEANO'
group by subname;
SUBNAME MINX MINY MAXX MAXY
OCEANO 712103.736 3876977.34 733591.744 3896557.18
where minx(), miny() etc are variations on:
function minx (geom_in mdsys.sdo_geometry)
return number DETERMINISTIC IS
begin
return sdo_geom.sdo_min_mbr_ordinate(geom_in,1);
end;
the group by expression seems to work fine on geometries with less than 1200 vertices. Is there a system parameter i can change?
elvis{44}% oerr ora 22813
22813, 00000, "operand value exceeds system limits"
// *Cause: Object or Collection value was too large. The size of the value
// might have exceeded 30k in a SORT context, or the size might be
// too big for available memory.
// *Action: Choose another value and retry the operation.
i am running oracle 9.2.0.1 on solaris8
any insight on this will be greatly appreciated
cheers
--kassimHi Kassim,
At KMS I recently ran into the same ORA-22813, when running this cursor SQL
CURSOR lcur_montage IS
select m.mont_id, m.sys_PK, m.krtp_id, m.mont_geom, m.til_dato_id , m.forloeb
from MTK_montage m
where m.fra_dato_id = in_dato_id
and m.krtp_id = 1
order by m.mont_id;
Omitting the order by clause makes it work fine. If I alternatively omit the SDO_geometry m.mont_geom as a select item, the query also works.
Our problem seems to arise when trying to sort selected rows, which contain large objects such as SDO_geometry.
Yesterday we played around with SORT_AREA_SIZE, but to no avail. It turns out to be a known bug.
When I today search for ORA-22813 in MetaLink, the first list item is
1.
9.2.0.X Patch Sets - List of Bug Fixes by Problem Type
Type: Note
Doc ID: 217194.1
Score: 63%
Modified Date: 18-FEB-2003
Status: PUBLISHED
Platform: Generic issue
Product: Oracle Server - Enterprise Edition
which unfortunately will not open and reveal its content.
On the other hand trying MetaLink -> Bugs -> search for 'ORA-22813' gives amongst others Bug 2656107, which looks a lot like my problem.
For Oracle eyes: - when will this bug be fixed? Does it solve the problem at hand?
- regards
Jens Ole Jensen
Kort & MatrikelStyrelsen (WWW: http://www.kms.dk)
Danmark
version: (32 bit) Oracle9i Enterprise Edition Release 9.2.0.2.0 - Production on Sun/SunOS 5.8 (64 bit) -
SQL query performance issues.
Hi All,
I worked on the query a month ago and the fix worked for me in test intance but failed in production. Following is the URL for the previous thread.
SQL query performance issues.
Following is the tkprof file.
CURSOR_ID:76 LENGTH:2383 ADDRESS:f6b40ab0 HASH_VALUE:2459471753 OPTIMIZER_GOAL:ALL_ROWS USER_ID:443 (APPS)
insert into cos_temp(
TRX_DATE, DEPT, PRODUCT_LINE, PART_NUMBER,
CUSTOMER_NUMBER, QUANTITY_SOLD, ORDER_NUMBER,
INVOICE_NUMBER, EXT_SALES, EXT_COS,
GROSS_PROFIT, ACCT_DATE,
SHIPMENT_TYPE,
FROM_ORGANIZATION_ID,
FROM_ORGANIZATION_CODE)
select a.trx_date,
g.segment5 dept,
g.segment4 prd,
m.segment1 part,
d.customer_number customer,
b.quantity_invoiced units,
-- substr(a.sales_order,1,6) order#,
substr(ltrim(b.interface_line_attribute1),1,10) order#,
a.trx_number invoice,
(b.quantity_invoiced * b.unit_selling_price) sales,
(b.quantity_invoiced * nvl(price.operand,0)) cos,
(b.quantity_invoiced * b.unit_selling_price) -
(b.quantity_invoiced * nvl(price.operand,0)) profit,
to_char(to_date('2010/02/28 00:00:00','yyyy/mm/dd HH24:MI:SS'),'DD-MON-RR') acct_date,
'DRP',
l.ship_from_org_id,
p.organization_code
from ra_customers d,
gl_code_combinations g,
mtl_system_items m,
ra_cust_trx_line_gl_dist c,
ra_customer_trx_lines b,
ra_customer_trx_all a,
apps.oe_order_lines l,
apps.HR_ORGANIZATION_INFORMATION i,
apps.MTL_INTERCOMPANY_PARAMETERS inter,
apps.HZ_CUST_SITE_USES_ALL site,
apps.qp_list_lines_v price,
apps.mtl_parameters p
where a.trx_date between to_date('2010/02/01 00:00:00','yyyy/mm/dd HH24:MI:SS')
and to_date('2010/02/28 00:00:00','yyyy/mm/dd HH24:MI:SS')+0.9999
and a.batch_source_id = 1001 -- Sales order shipped other OU
and a.complete_flag = 'Y'
and a.customer_trx_id = b.customer_trx_id
and b.customer_trx_line_id = c.customer_trx_line_id
and a.sold_to_customer_id = d.customer_id
and b.inventory_item_id = m.inventory_item_id
and m.organization_id
= decode(substr(g.segment4,1,2),'01',5004,'03',5004,
'02',5003,'00',5001,5002)
and nvl(m.item_type,'0') <> '111'
and c.code_combination_id = g.code_combination_id+0
and l.line_id = b.interface_line_attribute6
and i.organization_id = l.ship_from_org_id
and p.organization_id = l.ship_from_org_id
and i.org_information3 <> '5108'
and inter.ship_organization_id = i.org_information3
and inter.sell_organization_id = '5108'
and inter.customer_site_id = site.site_use_id
and site.price_list_id = price.list_header_id
and product_attr_value = to_char(m.inventory_item_id)
call count cpu elapsed disk query current rows misses
Parse 1 0.47 0.56 11 197 0 0 1
Execute 1 3733.40 3739.40 34893 519962154 11 188 0
total 2 3733.87 3739.97 34904 519962351 11 188 1
| Rows Row Source Operation
| ------------ ---------------------------------------------------
| 188 HASH JOIN (cr=519962149 pr=34889 pw=0 time=2607.35)
| 741 .TABLE ACCESS BY INDEX ROWID QP_PRICING_ATTRIBUTES (cr=519939426 pr=34889 pw=0 time=2457.32)
| 254644500 ..NESTED LOOPS (cr=519939265 pr=34777 pw=0 time=3819.67)
| 254643758 ...NESTED LOOPS (cr=8921833 pr=29939 pw=0 time=1274.41)
| 741 ....NESTED LOOPS (cr=50042 pr=7230 pw=0 time=11.37)
| 741 .....NESTED LOOPS (cr=48558 pr=7229 pw=0 time=11.35)
| 741 ......NESTED LOOPS (cr=47815 pr=7223 pw=0 time=11.32)
| 3237 .......NESTED LOOPS (cr=41339 pr=7223 pw=0 time=12.42)
| 3237 ........NESTED LOOPS (cr=38100 pr=7223 pw=0 time=12.39)
| 3237 .........NESTED LOOPS (cr=28296 pr=7139 pw=0 time=12.29)
| 1027 ..........NESTED LOOPS (cr=17656 pr=4471 pw=0 time=3.81)
| 1027 ...........NESTED LOOPS (cr=13537 pr=4404 pw=0 time=3.30)
| 486 ............NESTED LOOPS (cr=10873 pr=4240 pw=0 time=0.04)
| 486 .............NESTED LOOPS (cr=10385 pr=4240 pw=0 time=0.03)
| 486 ..............TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_ALL (cr=9411 pr=4240 pw=0 time=0.02)
| 75253 ...............INDEX RANGE SCAN RA_CUSTOMER_TRX_N5 (cr=403 pr=285 pw=0 time=0.38)
| 486 ..............TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCOUNTS (cr=974 pr=0 pw=0 time=0.01)
| 486 ...............INDEX UNIQUE SCAN HZ_CUST_ACCOUNTS_U1 (cr=488 pr=0 pw=0 time=0.01)
| 486 .............INDEX UNIQUE SCAN HZ_PARTIES_U1 (cr=488 pr=0 pw=0 time=0.01)
| 1027 ............TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_LINES_ALL (cr=2664 pr=164 pw=0 time=1.95)
| 2063 .............INDEX RANGE SCAN RA_CUSTOMER_TRX_LINES_N2 (cr=1474 pr=28 pw=0 time=0.22)
| 1027 ...........TABLE ACCESS BY INDEX ROWID RA_CUST_TRX_LINE_GL_DIST_ALL (cr=4119 pr=67 pw=0 time=0.54)
| 1027 ............INDEX RANGE SCAN RA_CUST_TRX_LINE_GL_DIST_N1 (cr=3092 pr=31 pw=0 time=0.20)
| 3237 ..........TABLE ACCESS BY INDEX ROWID MTL_SYSTEM_ITEMS_B (cr=10640 pr=2668 pw=0 time=15.35)
| 3237 ...........INDEX RANGE SCAN MTL_SYSTEM_ITEMS_B_U1 (cr=2062 pr=40 pw=0 time=0.33)
| 3237 .........TABLE ACCESS BY INDEX ROWID OE_ORDER_LINES_ALL (cr=9804 pr=84 pw=0 time=0.77)
| 3237 ..........INDEX UNIQUE SCAN OE_ORDER_LINES_U1 (cr=6476 pr=47 pw=0 time=0.43)
| 3237 ........TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=3239 pr=0 pw=0 time=0.04)
| 3237 .........INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=2 pr=0 pw=0 time=0.01)
| 741 .......TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=6476 pr=0 pw=0 time=0.10)
| 6474 ........INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=3239 pr=0 pw=0 time=0.03)Please help.
Regards
Ashish| 254644500 ..NESTED LOOPS (cr=519939265 pr=34777 pw=0 time=3819.67)
| 254643758 ...NESTED LOOPS (cr=8921833 pr=29939 pw=0 time=1274.41)There is no way the optimizer should choose to process that many rows using nested loops.
Either the statistics are not up to date, the data values are skewed or you have some optimizer parameter set to none default to force index access.
Please post explain plan and optimizer* parameter settings. -
RoboHelp 6: Conditional Tag Issue
It seems that RoboHelp 6 will not publish my project
correctly if there are more than 6 conditional tags applied.
Help?Hi. I wonder whether the issue here may be the length of the
conditional build tag names here. Although there is no limit in the
number of characters that can be given to a tag, there is in the
conditional build statement you specifiy in your single source
layout. The limit is 255 characters INCLUDING your NOT/AND/OR
operands. If you have long tag names you'd be surprised how quickly
this 255 character limit gets used up.
Maybe you are looking for
-
.vi's unable to run because of real-time Startup error
See that attached files for the error. Whenever I try and deploy the code onto the robot the attached error comes up. Is there any fix for this or is this a new error? I have also tried a completely new C-Rio project so that it is the basic settings
-
Can we create a single exe file in edge animate
Hi everyone, I am working on an animation in Adobe Edge Animate. The code written in the file is working fine on the browser. The problem that I am facing is to create an exe file (a single file) in which i can see my animation and controls created.
-
Urgent! please help: why socket.setSoTimeout(ms) doesn't work precisely
I wanted to set timeout for the sockets accepted by server as: Socket socket = server.accept(); socket.setSoTimeout(5); Since I want the server to process next request (another thread) as soon as read block happened on the current one, I set the time
-
I bought a nokia 5320 xm a few days ago and i am really satisfied with it. But i have got some problems with the date the always gets in advance within days. For eg. i set the date to Friday 13 february 2009, afte 1-2 days, the date changes to Tue 17
-
What happened to the "today" category in FINDER?
I really like LION but wish I could still find files by selecting the "today" or "yesterday" option. Is there a way to get that back? thanks,