Invalid Number Error for Decimal Field While Loading Data
I am loading a delimited text file using the SQL* loader however I am reciving an error in my decimal fields. When a decimal field only has leading zeros before the decimal point I receive invalid number error. Below will clarify:
i.e.) 00000000.30 [*Invalid number*]
i.e.) 00046567.45 [*Valid number*]
i.e.) 00000001.00 [*Valid number*]
I've tried setting the precision/scale in the table, tried declaring it a decimal field instead of number, none of these methods fixed the issue. Any help I would really appreciate.
POLICY_NUMBER NUMBER,
EFFECTIVE_DATE DATE "YYYYMMDD" NULLIF EFFECTIVE_DATE = '',
TRANSACTION_DATE DATE "YYYYMMDD",
TRANSACTION_AMOUNT DECIMAL EXTERNAL, -- Tried TRANSACTION_AMOUNT DECIMAL EXTERNAL (10) & TRANSACTION_AMOUNT NUMBER
MF_TRX_CODE NUMBER,
USER_ID CHAR,
GROUP_NUMBER NUMBER,
EXPIRATION_DATE DATE "YYYYMMDD" NULLIF EXPIRATION_DATE = '',
BILL_NUMBER NUMBER,Any help is greatly appreciated. Thanks before hand.
Hi,
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
Connected as hr
SQL> SELECT * FROM TEST;
TRANSACTION_AMOUNT
SQL> SELECT * FROM TEST;
TRANSACTION_AMOUNT
11000,00
293,37
2000,00
1134,32
0,30
SQL>Between the selects I loaded the table with sql*loader using...
Load Data
INFILE *
APPEND
INTO TABLE TEST
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS
TRANSACTION_AMOUNT DECIMAL EXTERNAL
BEGINDATA
00011000.00
00000293.37
00002000.00
00001134.32
00000000.30The log is
SQL*Loader: Release 10.2.0.1.0 - Production on Tue Dec 23 17:23:47 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: test.ctl
Data File: test.ctl
Bad File: test.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table TEST, loaded from every logical record.
Insert option in effect for this table: APPEND
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
TRANSACTION_AMOUNT FIRST * | CHARACTER
Table TEST:
5 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 16512 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 5
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Tue Dec 23 17:23:47 2008
Run ended on Tue Dec 23 17:23:50 2008
Elapsed time was: 00:00:02.86
CPU time was: 00:00:00.06Regards,
Similar Messages
-
Invalid number error for bind dialog
Oracle SQL Developer version 1.1.2.25 BUILD MAIN-25.79
Running under WinXP
Issue description:
We get an invalid number error when bind variable filled with an enter in the bind dialogIt is hard to say what is causing your problem without the specifics (ie query and value entered for the bind variable). Try running the same statement with the value of the bind variable in place of the bind variable (ie instead of running "select * from dual where dummy = :var" with a value of 'x' for :var, run "select * from dual where dummy = 'x'"). If you get the same error, then it is not an issue with the use of bind variables.
Be aware that currently you cannot define the data type of bind variables (unlike TOAD, etc) and they are all treated as character values. I wouldn't have thought that this would cause you problem unless you are using a bind variable to restrict a numeric column to a specific value and you are entering a non-numeric bind (ie "select * from people where person_id = :id" and using 'xyz' as the value for :id). -
"Invalid Number" error for no apparent reason
Hi.
We're transferring data from one table on one DB to a data warehouse on a separate DB. All Oracle 11g running on Windows Server 2003.
The columns all match data wise, and it's a simple select and insert.
However, we got an ORA-01722: invalid number error on one run. We checked all the data, which was fine (all 540,000 rows) and ran it again with no error this time.
I'd like to know if anyone knows why this would happen if there is no issue with the data validity. I'll take all guesses or known issues and check them against our systems. If anyone knows how I can get this to repeat I'd be grateful as it's all running fine now.
Cheers
SiThe data is transferred using a Java program. Select into an OracleResultSet() then read each row result into a prepared statement. Were using the batch send, I believe every 100 rows.
The source columns match the target columns for name and type, with two exceptions where the column name is slightly different but the column type still matches.
There are not triggers on either the source or target tables.
Cheers
Si -
Error at DB commit while loading data in BW
Hi All,
When I try to load data in my BW Dev the request ( infoPackage or DTP) remains in yellow status for a while & then turns red. When I check SM21 I get the following error:
*Error 28 for write/read access to a file. File =
Error 28 for write/read access to a file. File = /usr/sap/BWD/SYS/global/100JOBLG/0001X13301905X73572
Error 28 for write/read access to a file. File = /usr/sap/BWD/SYS/global/100JOBLG/0001X13301906X65067
TemSe input/output to unopened file
Error at DB commit, return code 001024*
I understand this is a Basis problem. But can anyone suggest what should be done to resolve it?
Thanks,
Andy KroosHi Andy,
This is a Basis issue so maybe you could create a thread for it on one of the Basis forums (unfortunately I don't have suffficent authorisations to move it for you)?
These SAP Notes should assist you:
11070 - Space requirements of TemSe and spooler
48400 - Reorganization of TemSe and Spool
16875 - TemSe objects do not match TemSe files
784969 - The RSBTCDEL2 program
214969 - Error writing the job log
Rgds,
Colum -
Pl/SQL is prompting "invalid number" error
Hello Sir/Madam,
I'm not very clear why pl/sql cursor is prompting "invalid number" error.
I need to load single as well as multi Gas meter data for an automation process. The procedure is loading single meter data fine, but when I add multi meter data to that table it is halting and prompting "invalid number". I made sure that each record is unique. Define primary key based on three field ( they are: SERVICEPOINTID, METERID, and ENDDATE )
in the sample file, they are in that order
I would appricaite your help & explantions on this issue
sample procedure code:
CREATE OR REPLACE procedure GSO_SBX_ADMIN.row_add_v2 is
rct_cnt number := 0;
header_key gso_hourlylog_header.hrly_log_hdr_ky%TYPE;
dailyorder_key gso_hourlylog_header.DLY_ORDER_KY%TYPE;
customer_key gso_customer_log.CUST_KY%TYPE;
channel_key gso_cust_channel_privs.CHNNL_KY%TYPE;
custlog_key gso_customer_log.CUST_LOG_KY%TYPE;
hourly_custlog_detail_key gso_hourly_cust_log_detail.HRLY_CUST_LOG_DTL_KY%TYPE;
customer_name GSO_CUSTOMER_LOOKUP.CUST_NM%TYPE;
row_processing_status VARCHAR2(100) := '';
other_customerlog_issue VARCHAR2(5) := 'FALSE';
ls_curr_user VARCHAR2(30) := 'GSO_PROCESS_IEE_INTO_GSO';
record_processable VARCHAR2(5) := '';
rec_processing_timestamp TIMESTAMP;
begin
for daily_gis_add in
SELECT '', METERID, ENDDATE, HOURENDING, VOLUMEVALUE, CUSTOMERNAME, DEVICEID, CUSTOMERID, SERVICEPOINTID
FROM GSO_IEE_STAGE gis where trunc(gis.loaded_dt) = trunc(sysdate)
loop
insert into gso_iee_process_log
VALUES
rec_processing_timestamp,
daily_gis_add.METERID,
daily_gis_add.ENDDATE,
daily_gis_add.HOURENDING,
daily_gis_add.VOLUMEVALUE,
daily_gis_add.CUSTOMERNAME,
daily_gis_add.DEVICEID,
daily_gis_add.CUSTOMERID,
daily_gis_add.SERVICEPOINTID,
customer_name,
customer_key,
channel_key,
dailyorder_key,
header_key,
custlog_key,
hourly_custlog_detail_key,
row_processing_status,
SYSDATE
commit;
rct_cnt := rct_cnt + 1;
dbms_output.put_line(' rowadded '|| rct_cnt);
end loop;
end;
sample data:
32096040001 11048610FGI 5/25/2013 10 AM 10 Tower Hill School 1104861000217112 257808404 32096110001 6/21/2013 10:40:18 AM
26107010002 11086348FGI 5/25/2013 10 AM 10 Emily Bissell Hospital 1108634800050877 261070100 26107010002 6/21/2013 10:40:18 AM
32101140001 11086356FGI 5/25/2013 10 AM 10 Delaware River Bay Authority 1108635600413231 321011400 32101140001 6/21/2013 10:40:18 AM
31875230004 110680FGI 5/25/2013 10 AM 10 Arlon Inc. Gas 11068000021253 318752300 31875230004 6/21/2013 11:04:58 AM
31875230003 110681FGI 5/25/2013 10 AM 10 Arlon Inc. Gas 11068100022092 318752300 31875230003 6/21/2013 11:04:58 AM
Regards,
Vani SontiHello,
I've commented out or removed the fields that are not listed.. here is the modified code.. I just added the part where is was prompting errors..
Yes, I tested just now and it is looping and printing all five record counters..
CREATE OR REPLACE procedure GSO_SBX_ADMIN.row_add_v3 is
rct_cnt number := 0;
begin
for daily_gis_add in
SELECT '', METERID, ENDDATE, HOURENDING, VOLUMEVALUE, CUSTOMERNAME, DEVICEID, CUSTOMERID, SERVICEPOINTID
FROM GSO_IEE_STAGE gis where trunc(gis.loaded_dt) = trunc(sysdate)
loop
insert into gso_iee_process_log
TIMESTAMP_ID, PREMISEID,METERID,ENDDATE ,HOURENDING,VOLUMEVALUE ,
CUSTOMERNAME,DEVICEID,CUSTOMERID,SERVICEPOINTID
VALUES
SYSDATE,
daily_gis_add.METERID,
daily_gis_add.ENDDATE,
daily_gis_add.HOURENDING,
daily_gis_add.VOLUMEVALUE,
daily_gis_add.CUSTOMERNAME,
daily_gis_add.DEVICEID,
daily_gis_add.CUSTOMERID,
daily_gis_add.SERVICEPOINTID
commit;
rct_cnt := rct_cnt + 1;
dbms_output.put_line(' rowadded '|| rct_cnt);
end loop;
end;
Vani -
Invalid number error when calculating with sysdate
Hello - I am getting invalid number error for query below:
SELECT *
FROM
trkg
WHERE
trkg.tran_type=500
AND
trkg.mod_date_time>sysdate-0.5
I am not sure what is wrong with above query. Strange part is that it executes fine in one environmnet and returns 'invalid number' error in other environmnet? Please help me find missing setting.more information:
Table1: LOCN_HDR with field locn_brcd and locn_id
locn_brcd locn_id
26001A 0000086
26002A 0000087
26001B 0000088
Table2: PICK_LOCN with field LOCN_ID
locn_id
0000086
0000087
0000088
Table3: TRKG with field from_locn and mod_date_time (this is timestamp field)
from_locn mod_date_Time
0000086 29-MAY-13 10.09.23.000000000 AM
0000087 29-MAY-13 10.11.48.000000000 AM
0000088 31-MAY-13 04.07.21.000000000 PM
Now I combine Table1 and Table3
select * from appwms.locn_hdr lh
join
(SELECT lh.locn_brcd,trkg.mod_Date_Time from appwms.trkg
join appwms.locn_hdr lh
on trkg.FROM_LOCN = lh.LOCN_ID
where
trkg.TRAN_TYPE = 500
and trkg.mod_Date_time>sysdate-5
) trkg1 on lh.locn_brcd=trkg1.locn_brcd
-- returns values correctly
Now when I join another table to above (ie table 2), it returns 'invalid number'
select * from appwms.locn_hdr lh
join
(SELECT lh.locn_brcd,trkg.mod_Date_Time from appwms.trkg
join appwms.locn_hdr lh
on trkg.FROM_LOCN = lh.LOCN_ID
where
trkg.TRAN_TYPE = 500
and trkg.mod_Date_time>sysdate-5
) trkg1 on lh.locn_brcd=trkg1.locn_brcd
join
(select pld.locn_id,lh.locn_brcd
from APPWMS.PICK_LOCN PLD join appwms.locn_hdr lh
on pld.locn_id = lh.LOCN_ID ) picklocn on picklocn.locn_brcd=lh.locn_brcd
why are rows returned with one join? when i have more than one join why does it return error 'invalid number'. -
Invalid number error with Form on table page
We used the "Form on Table..." wizard to create a simple page to update the SCOTT.EMP table. When we submit the page we get the ORA-01722: invalid number error. When I view the data in the WWV_FLOW_DATA view in the FLOWS_010500 schema, I can see all the data from our form in long format with the actual values that were submitted. But I can not track down where this error is coming from.
James,
What data did you enter in each field? Could it be as simple as you tried to enter character data into the deptno column?
Sergio -
Invalid Number Error Please help Urgent
Hi,
I am trying to create a report in discoverer where in I get an invalid number error for the statement
,DECODE(final.TYP,'Sales',to_char(final.future_supplpy),'B/O','B/O') sale_type.
We have the requirement that when TYP is Sales i need to display future supply and when the TYP is B/O i need to display B/O.
The query runs perfectly fine in TOAD but in Discoverer Desktop when i run the report i get an error message
invalid number.
Please help its urgent
Thanks
AshwiniHi Ashwani
First of all, your statement appears to not be handling anything other than Sales or B/O. Is that deliberate? If not, you need a default, catch all value at the end like this:
DECODE(final.TYP,'Sales',NVL(final.future_supply,to_char(final.future_supply),'B/O','B/O', default_value) sale_type
You also might want to make sure there aren't any NULL values in future_supply or in TYP and if there are you might want to consider using an NVL for these, like this:
DECODE(final.TYP,'Sales',NVL(to_char(final.future_supply,NULL),'B/O','B/O', default_value) sale_type
Also, when using DECODE you don't always need to use TO_CHAR as the DECODE conversion to a string typically takes place automatically. CASE is different as it insists that all results are of the same data type.
Hope this helps
Best wishes
Michael -
Error while loading data into External table from the flat files
HI ,
We have a data load in our project which feeds the oracle external tables with the data from the Flat Files(.bcp files) in unix.
While loading the data, we are encountering the following error.
Error occured (Error Code : -29913 and Error Message : ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04063: un) while loading data into table_ext
Please let us know what needs to be done in this case to solve this problem.
Thanks,
KartheekKartheek,
I used Google (mine still works).... please check those links:
http://oraclequirks.blogspot.com/2008/07/ora-29400-data-cartridge-error.html
http://jonathanlewis.wordpress.com/2011/02/15/ora-29913/
HTH,
Thierry -
TO_CHAR to convert date getting 'Invalid number' error
I am trying to convert a static date value using TO_CHAR function but I can't believe I am not able to do it such a simple conversion.
//Obviously this is easy and everyone would like to give this as an example and this is what I see everwhere on Google and it works.
SELECT TO_CHAR(sysdate, 'YYYY-MM-DD') FROM DUAL;
How can I make it work like this?
SELECT TO_CHAR('2010-JUN-23', 'YYYY-MM-DD') FROM DUAL;
I keep getting "Invalid number" error. I changed my constant date to different formats but none works.Your first literal is not a date, assuming you didn't set NLS_DATE_FORMAT.
So the code should have been
SELECT TO_CHAR(to_date('2010-JUN-23','YYYY-MON-DD'), 'YYYY-MM-DD') FROM DUAL;
Please note DATEs are always converted to VARCHAR2 when you SELECT them, using NLS_DATE_FORMAT.
When you use a DATE string literal it ias always implicitly converted to a real date, by using NLS_DATE_FORMAT.
So if you want all your dates formatted as YYYY-MON-DD, you need to set NLS_DATE_FORMAT to that mask.
Sybrand Bakker
Senior Oracle DBA -
Invalid number error , number column as last field in my csv
LOAD DATA
INFILE 'test.csv' "str '#'"
APPEND
INTO TABLE esgapp.c_test
FIELDS TERMINATED BY "," Optionally enclosed by '"'
TRAILING NULLCOLS
rstring,
rtext char(12000) ENCLOSED BY '<start>' and '<end>',
ruser,
rid SEQUENCE(MAX,1)
This control file is working good . But what i have done is i have altered my table *ruser* column which was earlier varchar now it is number . the data in the ruser is number , now i am getting an error while executing the the script
it is throwing an invalid number error .
i have tried this changes before i post this post in the control file but all are throwing the invalid number error
ruser char "to_number(rtrim(ltrim(:ruser)))"
and
ruser decimal external
csv file
hello,<start>bla...bla...bla...bla,-996203
error
invalid number
Edited by: user7955917 on Mar 5, 2012 9:34 AM
Edited by: user7955917 on Mar 5, 2012 9:41 AM
Edited by: user7955917 on Mar 5, 2012 9:42 AMBut....If your Oracle version is 10g+, you can define the file as external table and use the "RECORDS DELIMITED BY '#'" parameter.
:p -
Error While loading data for LIS InfoSources.
Hi All,
I am repeatedly receiving load failure errors while loading data using 2lis_01_s001 (This is the case with all the InfoSources).
The error message is:
An error occurred in the source system.
Note
If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
in our Quality system, we disabled the LIS Updation to No Update(R3) and loaded data and then again changed the Update Mode for No Updating to Asynchronous Update(R3). But now we are doing dataloading in Production. How to proceed. Should we have to disable the LIS Updating whenever we have to load the loads from R3 to BW.
Regards
JayHi Jayanthy,
Pls. check the order of the fields in the two set up tables for the S001 structure. The order of fields in both the tables should be the same.
You can see the structure in the TCode - SE11.
If the order is different, then you bneed to ask the BASIS person to change the order so that the order of fields in both the setup tables is same. This should fix the issue.
Thanks,
Raj -
Error while loading data for Master dara
Dear Masters
I am getting below error for master data (0MATERIAL_ATTR), while loading data from PSA to 0material_attr through DTP (I have set the Handle duliocate record also). When I checked that error data in Error Stack, I am getting below error for all records for 100 records
"Record filtered in advance as error records with the same key exist"
Could u please help me to resolve this issue
Thanks in Advance
RajaHi
While loading master data im getting below error
"Record filtered in advance as error records with the same key exist".
When I clicked, above error Long Text, I am getting below error
Diagnosis
The existing DTP requires a serialized update because fields are updated
non-commutatively during the processing run (for example, MOVE).
Therefore all new data records that have the same semantic key as
incorrect records that have not yet been corrected in earlier requests
or earlier data packages of the same request, are filtered out after the
extraction in a special step. In this way the system ensures that
incorrect data records are not repeated for your changes, which may not
contain errors themselves.
System Response
The data record is not updated but is written to an error stack.
Procedure
Correct all incorrect data records and update them using an error DTP.
Procedure for System Administration -
Recieving ORA-01722 invalid number error while creating a materialized view
Hi,
I am receiving a ORA-01722 invalid number error while creating a materialized view. when run the select statement of the view i don't get any error, but when i use the same select statement to create a materialized view i receive this error. Could any please help in resolving this error. Here is the code i am using to create a materialized view.
CREATE MATERIALIZED VIEW MV_EBS_CH_CLOSED
REFRESH FORCE ON DEMAND
AS
SELECT DISTINCT kr.request_id, org.org_unit_name,
ebs_ch_ticket_type (kr.request_id) ticket_type,
DECODE
(kr.status_code,
'CLOSED_SUCCESS', kr.last_update_date,
'IN_PROGRESS', (SELECT MAX (start_time)
FROM ebs_ch_datastore ecd1
WHERE kr.request_id = ecd1.request_id
AND workflow_step_name =
'Final BA Review and Deployment Exit Criteria')
) closed_date,
substr(krhd.visible_parameter12,1,10) siebel_start_date,
kr.creation_date itg_start_date
FROM kcrt_requests kr,
kcrt_request_types krt,
kcrt_req_header_details krhd, kcrt_request_details krd1,
(SELECT koum.user_id user_id,
DECODE (koup.org_unit_name,
'IT Implementations', 'CHS - Service Management BA',
koup.org_unit_name
) org_unit_name
FROM krsc_org_unit_members koum, krsc_org_units koup
WHERE 1 = 1
AND 'Y' = koup.enabled_flag
AND koum.org_unit_id = koup.org_unit_id
AND EXISTS (
SELECT 'X'
FROM krsc_org_units kouc
WHERE koup.org_unit_id = kouc.org_unit_id
START WITH kouc.parent_org_unit_id =
ANY (SELECT org_unit_id
FROM krsc_org_units krsc_org_units1
WHERE 'Clearinghouse' =
org_unit_name)
CONNECT BY kouc.parent_org_unit_id =
PRIOR kouc.org_unit_id)
UNION
SELECT kou.manager_id user_id,
DECODE
(kou.org_unit_name,
'IT Implementations', 'CHS - Service Management BA',
kou.org_unit_name
) org_unit_name
FROM krsc_org_units kou
WHERE 'Y' = kou.enabled_flag
START WITH kou.parent_org_unit_id =
(SELECT org_unit_id
FROM krsc_org_units krsc_org_units2
WHERE 'Clearinghouse' = org_unit_name)
CONNECT BY kou.parent_org_unit_id = PRIOR kou.org_unit_id) org
WHERE krt.request_type_id = kr.request_type_id
AND krt.request_type_name IN ('Bug Fix', 'IT Enhancement')
and kr.REQUEST_ID = krd1.request_id
and krd1.batch_number = 1
AND kr.request_id = krhd.request_id
AND org.user_id in (krd1.parameter4, krd1.parameter5, krd1.parameter7)
AND ( 'CLOSED_SUCCESS' = kr.status_code
OR 'IN_PROGRESS' = kr.status_code
AND kr.request_id IN (
SELECT request_id
FROM (SELECT DISTINCT request_id,
MAX
(start_time)
closed_date
FROM ebs_ch_datastore
WHERE 'Final BA Review and Deployment Exit Criteria' =
workflow_step_name
GROUP BY request_id))
Thanks,
Shaik MohiuddinThis error occurs when you try to create a materialized view , but if you run the sql the results are perfectly fine. Well it happend to me also and to fix this I made sure all the coulmns have the same data type which are used in joins or in where clause.
use
where
to_number(col1)=to_number(col2) and to_number(col3)=to_number(col4)
hope this helps.. -
Error while loading data from application server
Hi all,
Am facing a problem while loading data from application server.
The error i get is ....
*" The argument ' Rental/Lease ' cannot be interpreted as a number while assigning character to application structure*.
'Rental/Lease' is a value for a character infoobject length 30. I checked for the sequence of fields in data source and the sequnce of values am receiving in application server and the sequence match.
when i copy these values into a CSV onto a desktop and load,load is successful.
Please let me know your views.
Thanks&Regards,
PraveenIt looks like the system is trying to convert Rental/Lease to a number format. Is the info object type CHAR or NUMC or ??? I would look there.
Also, make sure / is in RSKC.
Brian
Maybe you are looking for
-
Unable to Create a Subfolder in Company Folder
Gurus, I am setting up Essentials R2 and I see all the preinstalled folders including the Company folder. When I try to create a subfolder in it, it gives me a message, "The folder location is not valid. This location cannot be added as a server fold
-
Kindle does not show up as device when plugged in USB
I was trying to transfer some files to my Kindle using the USB port. I have a Kindle 2, and a Rocketfish Micro USB cord. The Kindle does charge up so it is drawing power through the cord. But the Kindle does not show up as a device attached to my Mac
-
Satelitte P200-1BA - Internet browser activity stops
Hello, I have a big problem with internet activity on WLAN connection. Configuration: Comp: Satelitte P200-1BA . System: Vista Home Premium OEM with SP1 and last upgrades. Internet Browsers: Mozilla Firefox, IE, Safari. Router: FRITZ Box 7050. Commun
-
"Can't use this version of iChat...
...with this version of OS X" is the message I get when trying to launch iChat from my MacBook. Works fine on my iMac. Recently downloaded Leopard to both computers. Any suggestions?
-
Two Problems with IDE 3.6
hi First, I cannot access images I do not include the absolute path, and I want to create an application that will be used on many machine that have different paths, isn't there any solution? Second, I installed the Morena library, compiling it with