Solved

TEXT_IO Package in Oracle 8i

Posted on 2004-04-29
5
2,013 Views
Last Modified: 2007-12-19
Guys ,

I have to read a file in client machine and to copy to server machine in a directory which is shared ..

To Copy to Server , I can use UTL_FILE and for client file operations , I thought of using TEXT_IO and I couldn't find the package ( I am using Oracle 8i) , can anyone guide me where can I download the Text_IO package like we do to compile the UTL_FIL which will be in the oracle \ rdbms \ admin folder.

With Thanks .

Sen
0
Comment
Question by:senexpert
5 Comments
 
LVL 47

Accepted Solution

by:
schwertner earned 75 total points
ID: 10948519
TEXT_IO are available only in Forms and Reports.
UTL_FILE works only on the server.
To read a file on the client and to store it on the server create a stored procedure with UTL_FILE on the server and call it from Forms. The local file can be read using TEXT_IO.
0
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 10950107
0
 
LVL 35

Expert Comment

by:Mark Geerlings
ID: 10952010
As schwertner indicated, TEXT_IO is only available if you have Oracle Forms or Oracle Reports running in client/server mode on the clients.  If you have different client software (or Oracle Forms running from a web server), you will need to use a different utility or file copy mechanism to copy the text file(s) to the server.  A simple DOS file copy command could do this, and that could be executed via a batch file.  Other options may be available too depending on your client software.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PL/SQL Two changes 7 27
Oracle DBLINKS From 11g to 8i 3 31
make null the repeated levels 2 16
Creation date for a PDB 5 18
Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question