Not able to execute SQL script ORACLE

More
4 years 7 months ago #21570 by BPO
Mike it look like an error during wrinting log file (only on this task).
I have unchecked the global options of log file and reject records then re-checked it and it looks it work now...
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #21571 by admin
In this case, make sure that the log folder exists and the agent user has enough access rights to write into it.

I am glad you are making progress

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #21615 by BPO
Hi Mike,

I still have the problem on executing this task with the scheduler.

If I keep the log option it say file open error, I had not acces to file being written like if file are locked and are written with an error.
All other scheduled tast are working perfectly and log are written without any problem.

It looks like the output in the log of the Oracle query make an error in file wrinting process.

If I disable it the task keep running without being finished.

Can you please try on your side to schedule a query on oracle DB and execute it by agent.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #21616 by admin
We need a basic example so we can reproduce the problem in the office.

Screenshots scripts etc

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #21617 by BPO
Mike,

The script is a basic update of item table see it bellow:

UPDATE ARTICLE SET GEST_DLV=1,GEST_LOT_S=1,GEST_LOT_E=1,FENETRE_FIFO_PREPA=0,FENETRE_FIFO_RECEP=0,RGT_PICK=0 WHERE ID_FAM_STOCK=42


Execution go well in the SQL script tab.
When i use scheduler it keep running without finish the task (agent or vimpent appication) see attached captures.
All other scheduled scripts or package run smoothly only oracle query script are doing this.
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #21618 by BPO
Tried execute script with a package and I have same error : task is never finishing (see atached).
The pointed log file is blanck as long as task is running (never timeout) : I have to delete task then file is wiped too.
Attachments:

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save