Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Running a Batch File on another Server with an Oracle Job

ginkgoMay 31 2010 — edited Jun 1 2010
hi, i have the following code

BEGIN
DBMS_SCHEDULER.CREATE_JOB (
job_name => 'test_job_bat',
job_type => 'EXECUTABLE',
job_action => '\\10.1.1.63\test\test.bat',
enabled => true,
comments => 'test bat'
);
END;

So i want to run a batch file, which lies on another pc in the network
The code runs, without a failure.
The bat file just contains "MD D:\bla" .

When i run the code, no bla directory is created, so it seems that the batch file never ran.
i approved read/write on the test folder. (Windows 7 machine)


any ideas?

Edited by: user1067632 on 31.05.2010 05:03

in dba_scheduler_job_run_details the job is listed as FAILED:

ORA-27370: Job-Unterprozess konnte einen Job vom Typ EXECUTABLE nicht starten
ORA-27300: BS-abhängiger Vorgang accessing execution agent mit Status: 2 nicht erfolgreich
ORA-27301: BS-Fehlermeldung: Das System kann die angegebene Datei nicht finden.
ORA-27302: Fehler aufgetreten bei: sjsec 6a
ORA-27303: Zusätzliche Informationen: Das System kann die angegebene Datei nicht finden.

Edited by: user1067632 on 31.05.2010 05:16
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 29 2010
Added on May 31 2010
3 comments
1,242 views