DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: HOST COMMAND

  1. #1
    Join Date
    Jan 2001
    Posts
    44
    HI,
    can anyone tell me how to use the host command in nt
    i want to launch a bat file from a stored proc and it's not working thanks

  2. #2
    Join Date
    Aug 2000
    Posts
    462
    You'll need to use a standard package to run OS commands from a database stored procedure. You can run OS commands from program units developed as part of a form using the HOST command . . .

  3. #3
    Join Date
    Oct 2000
    Posts
    123
    The popular and easy way is developed a java program package and load in satabase(or sipmply created in database), then create a procedure to call that program. At last call this procedure where you want to process the bat file with passing in the command as string parameter. This will not require lot of java knowledge but follow the procedures.

    Again visit this site:
    [url]http://osi.oracle.com/wa/ask/owa/ask_tom_pkg.display?p_dispid=952229840241[/url]
    OR visit oracle magazine in MARCH/APRIL volume on line
    just follow the procedures.

    Take care

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width