Hi, Don.
This access process imports data from an oracle db, massages the imported
files, and then ftp's them to a remote site. We were hoping to be able to
run this process in the middle of the night without human intervention.
These tasks can all be done from and within Oracle, so no external process
like an Access database application is necessary. Oracle has the SQL,
PL/SQL and SQL*Plus languages available to create stored procedures,
packages, and functions that will manipulate and massage the data in any way
it needs to be manipulated. The Oracle DBA can schedule a job to run
specific stored procedures at any time, day or night, to process the data
without any human intervention whatsoever.
If no one in your organization has the skills to produce the Oracle stored
procedures, then the Oracle DBA can set up a job to export the necessary
data to text files that your Access database can then process and FTP to the
remote server, as long as that remote server doesn't need to authenticate,
because you don't want to store an FTP account's User ID and password in the
Access database, either. If authentication is required, then the Oracle DBA
can schedule another job that runs a stored procedure that later retrieves
the massaged data from the Access database and FTP's it to the remote
server.
But I would ask why there are no trained Oracle people to support the Oracle
database and the data, because Oracle is a major investment for any
organization. Not having trained people to support it can easily lead to
very expensive disasters.
Is
there anyway to run this process and pass it a userid/password from within a
batch file?
Unfortunately, a batch file is just as vulnerable as an Access database,
because anyone with a text editor and access to the file can read the Oracle
User ID and password. A remote possibility of running this process
overnight -- check with your Oracle DBA first to see whether this is
acceptable -- may be to place the Access database on a Windows Server in a
locked server room, where the only personnel who have access to the room and
the computer are system and network administrators and DBA's. Microsoft
Access would need to be installed on this server and a job scheduled in the
Windows Task Scheduler to run the process at the specified time.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)