Solved

Using HOST command in Oracle Forms

Posted on 2003-12-09
2
6,086 Views
Last Modified: 2010-10-05
Are there any parameters I can use to supress pop-up HOST window when I call
HOST('copy file1, file2) from Oracle forms, or do it at the backend so it will be invisable for users.
Also, what is the handle condition to check status  on HOST command
0
Comment
Question by:ipesin
2 Comments
 
LVL 22

Expert Comment

by:Helena Marková
ID: 9910349
1)You cannot suppress pop-up HOST window in GUI applications.
2)There is FORM_SUCCESS built-in there:

· On Microsoft Windows NT, when using HOST to execute a 16-bit application, the FORM_SUCCESS built-in will return TRUE whether the application succeeds or fails.  This is a Microsoft Win32 issue.  32-bit applications and OS commands will correctly return TRUE if executed sucessfully and FALSE if failed.  Invalid commands will return FALSE.

· On Windows 95 platforms the FORM_SUCCESS built-in will always return TRUE for HOST commands which fail.  This includes calls to command.com or OS functions, any 16-bit DOS or GUI application, or an invalid command.  32-bit applications will correctly return TRUE if executed sucessfully and FALSE if failed.

More you can read in the on-line help "HOST built-in" topic.
0
 
LVL 5

Accepted Solution

by:
FBIAGENT earned 250 total points
ID: 9914297
Like HENKA said, you may use built-in function FORM_SUCCESS to check the status of the HOST command.
But i would think that if you use HOST('copy x y',NO_SCREEN); with NO_SCREEN parameter, then the pop-up window would be suppressed.
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.

Join & Write a Comment

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…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

760 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now