The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
execute script tonet Shell Programming and Scripting 1 10-17-2007 06:01 AM
Need to execute 2 scripts, wait, execute 2 more wait, till end of file halo98 Shell Programming and Scripting 1 08-01-2006 04:42 PM
Can't execute a script ssmiths001 Shell Programming and Scripting 3 06-02-2006 05:50 PM
Is it possible to execute shell script with PHP? Micz Shell Programming and Scripting 1 05-27-2004 11:52 AM
execute a script tinydejong UNIX for Dummies Questions & Answers 2 07-08-2002 02:44 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-20-2007
Kespinoza97 Kespinoza97 is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 4
script execute or no execute

o

hola..

Tengo un script que se ejecuta bajo una tarea del CronJOb del unix, tengo la version 11 de unix, mi script tiene un ciclo que lee unos archivos .txt luego cada uno de esos archivos debe pasar por un procedimiento almacenado el cual lo tengo almacenado en mi base de datos oracle 10g, el cual en el script llamo a este procedimiento con execute NOMBRE DEL PROCEdimiento haciendo la rutina de entrar a su - oracle y entrando a sqlplus, pero tengo la situacion que algunos archivos los procesa y otros no y necesito controlar dentro del script que si el archivo se proceso satisfacotriamente dentro del procedimiento no hay problema pero si NO SE HIZO me lo envie para otra carpeta y lo que no he logrado hacer es hacer esta condicion de saber cuando fue satisfacotorio o no la ejecucion de un proceso.

La manera como me doy cuenta si ha procesado o no un archivo es por medio del var/mail/root manualmente.

gracias
  #2 (permalink)  
Old 06-20-2007
vgersh99's Avatar
vgersh99 vgersh99 is online now Forum Staff  
Moderator
  
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 5,119
Pls do read the Rules - English only!
  #3 (permalink)  
Old 06-20-2007
earnstaf earnstaf is offline
Registered User
  
 

Join Date: May 2007
Posts: 113
Just for fun .. anyone wanna tackle this?

Quote:
or hello. I have script that is executed under a task of the CronJOb of the UNIX, I have UNIX version 11, my script has a cycle which txt soon each one of those archives reads archives must happen through a stored procedure which I have stored it in my data base oracle 10g, which in script I call to this procedure with execute NAME Of the PROCEdimiento doing the routine to enter his - oracle and entering sqlplus, but have the situation that some archives processes and others and I do not need to control within script that if the file process satisfacotriamente within the procedure is not problem but if IT WAS NOT DONE me the envie for another folder and what I have not managed to do is to make this condition for knowing when he was satisfacotorio or to not execution it of a process. The way as I realize if it has processed or a file is not by means of var/mail/root manually. thanks
  #4 (permalink)  
Old 06-21-2007
Kespinoza97 Kespinoza97 is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 4
thanks for your help and the traduction.
  #5 (permalink)  
Old 06-23-2007
Kespinoza97 Kespinoza97 is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 4
I am Resolve

i resolved
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0