fareeda <fa*****@pspl.co.in> wrote:
What is the equivalent of "@" (oracle) in db2?
I could use -f option but the basic requirement is to be able to call
file Y from file X.
In Oracle I can have file X as:
---
command 1;
command 2;
@file Y;
disconnect;
---
Can this be done on db2 also?
In a different way, yes:
------------------------------
SQL statement 1;
SQL statement 2;
! external command;
connect reset;
------------------------------
The "external command" can be a simple "db2 -td -f anotherFile", giving you
the feature you need.
--
Knut Stolze
Information Integration
IBM Germany / University of Jena