Olá,
Voce ja tentou utilizar a Built-in HOST do forms??
Exemplo retirado do Help
/*
** built-in: HOST
** Example: Execute an operating system command in a
** subprocess or subshell. Uses the
** 'Get_Connect_Info' procedure from the
** GET_APPLICATION_PROPERTY example.
*/
PROCEDURE Mail_Warning( send_to VARCHAR2) IS
the_username VARCHAR2(40);
the_password VARCHAR2(40);
the_connect VARCHAR2(40);
the_command VARCHAR2(2000);
BEGIN
/*
** Get Username, Password, Connect information
*/
Get_Connect_Info(the_username,the_password,the_connect);
/*
** Concatenate together the static text and values of
** local variables to prepare the operating system command
** string.
*/
the_command := 'orasend '||
' to='||send_to||
' std_warn.txt '||
' subject="## LATE PAYMENT ##"'||
' user='||the_username||
' password='||the_password||
' connect='||the_connect;
Message('Sending Message...', NO_ACKNOWLEDGE);
Synchronize;
/*
** Execute the command string as an O/S command The
** NO_SCREEN option tells forms not to clear the screen
** while we do our work at the O/S level "silently".
*/
Host( the_command, NO_SCREEN );
/*
** Check whether the command succeeded or not
*/
IF NOT Form_Success THEN
Message('Error -- Message not sent.');
ELSE
Message('Message Sent.');
END IF;
END;
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: quinta-feira, 18 de agosto de 2005 08:33
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[email protected]; [EMAIL PROTECTED]
Subject: [oracle_br] Oracle Forms startando um arquivo no AIX
Pessoal,
Estou com um grande problema... quem não está?
Alguém sabe me dizer como eu faço para, através do Forms, startar um
arquivo .bat no sistema operacional AIX (SAP). A operação de copiar um
arquivo no AIX eu já faço através de FTP mas, precisava agora startar o
mesmo.
Obrigado!
__________________________________________________________________________________________
José Ferreira de Souza Neto
Desenv. e Manut. de Sistemas
Companhia de Bebidas Ipiranga - The Coca Cola Company
Ribeirão Preto - S.P. - CEP 14055-630
Fone: +55 16 4009-2368
e-mail : [EMAIL PROTECTED]
Visite nosso site - << http://www.bebidasipiranga.com.br>>
[As partes desta mensagem que não continham texto foram removidas]
______________________________________________________________________
Histórico: http://www.mail-archive.com/[email protected]/
Falar com os Moderadores:([EMAIL PROTECTED])
Dorian Anderson Soutto - Fernanda Damous - Alisson Aguiar
______________________________________________________________________
Links do Yahoo! Grupos
______________________________________________________________________
Histórico: http://www.mail-archive.com/[email protected]/
Falar com os Moderadores:([EMAIL PROTECTED])
Dorian Anderson Soutto - Fernanda Damous - Alisson Aguiar
______________________________________________________________________
Links do Yahoo! Grupos
<*> Para visitar o site do seu grupo na web, acesse:
http://br.groups.yahoo.com/group/oracle_br/
<*> Para sair deste grupo, envie um e-mail para:
[EMAIL PROTECTED]
<*> O uso que você faz do Yahoo! Grupos está sujeito aos:
http://br.yahoo.com/info/utos.html