Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Oracle / Oracle Server / February 2006

Tip: Looking for answers? Try searching our database.

How to execute SQL when file lands

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mary - 28 Feb 2006 22:45 GMT
I could really use some pointers. Here is the problem: I have a IBM MVS
process that when complete will FTP a single row file to a Windows or
AIX server. I need the data to be loaded into my Oracle DB that lives
on an AIX server. The work has no preset time of day or day of week and
could occur multiple times per day. I would prefer to not have a
process wake up every 30 minutes (like a cron for example) to process
the row. Don't want to wait as much as 29 minutes for the data to be
handled nor do I want to run the process 48 times per day if there is
nothing to process.

I've toyed with the idea of trying to get the infrastructure in place
that would allow me to write a program to run on the mainframe that
would just update the AIX Oracle table directly. I think I would make
use of the PRO*yourlanguagehere but will have to get that preprocessor
installed as well as other systems level "stuff" to make this work.
Seems like a lot of work and (for my shop) red tape to work thru for a
simple update.

Any other ideas would be very welcome.

Thanks
DA Morgan - 28 Feb 2006 23:06 GMT
> I could really use some pointers. Here is the problem: I have a IBM MVS
> process that when complete will FTP a single row file to a Windows or
[quoted text clipped - 17 lines]
>
> Thanks

If the file name is identical build an external table. Use DBMS_JOB
or DBMS_SCHEDULER to check for modification.
Signature

Daniel A. Morgan
http://www.psoug.org
damorgan@x.washington.edu
(replace x with u to respond)

Mark C. Stock - 28 Feb 2006 23:07 GMT
:I could really use some pointers. Here is the problem: I have a IBM MVS
: process that when complete will FTP a single row file to a Windows or
[quoted text clipped - 17 lines]
:
: Thanks

what version of oracle? what file format?

you should be able to ftp the file directly into the database's XDB
repository, and (theoretically) have that trigger the necessary database
processing -- fairly simple to do if the file can be in XML format

++ mcs
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.