PL/SQL procedure that reads from a directory [message #300942] |
Mon, 18 February 2008 15:53 |
shree_z
Messages: 75 Registered: February 2008
|
Member |
|
|
Hi,
Can anyone please help me on this?
I need a Program that reads filenames from a directory and finds files that start with a common name (Example: P*.txt)
For each file found call a concurrent program(this concurrent program imports the file located to Oracle tables)
IF file successfully imported, THEN move it to archive directory
ELSE write a generic message
END IF
END Loop
END
Should I use Unix for this (to read the filenames from directory)?The concurrent program which we already have needs the file name as the parameter . How will I use Unix and PL/SQL hand in hand?
Any help would be appreciated.Please help!
Thanks in advance
Sree
[Updated on: Mon, 18 February 2008 15:56] Report message to a moderator
|
|
|
|
|
|
|
|
|
|