Hallo,
ich habe unter Windows ein Batch-File erstellt, in dem ich mittels sqlplus mehrere PL/SQL-Scripts starte.
Nun möchte ich abhängig vom Ergebnis dieser Scripte (Rückgabewert) die Ausführung der folgenden Scripte steuern sowie dies Rückgabewerte in eine Datei schreiben.
Jetzt habe ich zwei Problem, die ich bisher nicht lösen konnte:
1. Wie kann ich dafür sorgen, dass das PL/SQL-Script einen Rückgabewert ausgibt, den ich anschließend im Batchfile auswerten kann.
2. wie komme ich im Batchfile an diesen Rückgabewert.
Nebenbei würde ich noch gern wissen, ob ich nur Returncodes oder auch Strings zurück geben kann.
Gruß
cheapy
ich habe unter Windows ein Batch-File erstellt, in dem ich mittels sqlplus mehrere PL/SQL-Scripts starte.
Nun möchte ich abhängig vom Ergebnis dieser Scripte (Rückgabewert) die Ausführung der folgenden Scripte steuern sowie dies Rückgabewerte in eine Datei schreiben.
Jetzt habe ich zwei Problem, die ich bisher nicht lösen konnte:
1. Wie kann ich dafür sorgen, dass das PL/SQL-Script einen Rückgabewert ausgibt, den ich anschließend im Batchfile auswerten kann.
2. wie komme ich im Batchfile an diesen Rückgabewert.
Nebenbei würde ich noch gern wissen, ob ich nur Returncodes oder auch Strings zurück geben kann.
Gruß
cheapy
Comment