![]() |
|
|
google unix.com
|
|||||||
| Forum | Registrati | Regole Forum | Collegamenti | Album | FAQ | Members List | Calendario | Ricerca | Today's Posts | Mark Forums Read |
| Shell scripting e di programmazione Pubblica domande su KSH, CSH, SH, Bash, Perl, PHP, sed, awk e da altri script di shell e linguaggi di scripting shell qui. |
Più di UNIX e Linux Forum Argomenti potreste trovare utili
|
||||
| Filo | Thread Starter | Forum | Risposte | Ultimo Post |
| Script per simulare processo pendente | brendan76 | Linux | 4 | 09-16-2008 07:25 AM |
| Aiuto con script EXPECT appesa | markus2008 | UNIX for Dummies Domande & Risposte | 0 | 03-11-2008 03:44 PM |
| Hanging porta? | NycUnxer | UNIX for Dummies Domande & Risposte | 1 | 01-09-2008 02:21 PM |
| script appesi - remsh | vivsiv | Shell scripting e di programmazione | 2 | 07-09-2006 04:41 PM |
| appesa script SQL | Inquirer | UNIX for Dummies Domande & Risposte | 4 | 12-26-2001 10:11 PM |
|
|
LinkBack | Thread Tools | Cerca in questo Thread | Rate Thread | Modalità di visualizzazione |
|
||||
|
Scritto è appesa
Ciao, Ho il seguente script di shell e quando i esecuzione, mantiene sospesi e non succede nulla Please let me know. Requisito è quello di leggere i dati da file e passarlo a SQL e creare file come mostrato in figura. codice Codice:
/********
#!/bin/sh
while read user.dat
do
echo "user = $1 email = $2"
done
sqlplus -S /NOLOG << EOF
connect username/pwd@schema
select user_name,count(*) from apps.fnd_user
where 1=1 and user_name ('$1') and email_address ('$2')
group by user_name;
EOF
if $? -ne 0
then
% cat > user_exist
else
% cat > user_notexist
fi
exit 0
*******/
File di dati rsreenivasa null Ultimo a cura di DukeNuke2; al 11/18/2008 01:57 PM.. Motivo: aggiunto tag del codice per una migliore lettura |
| Segnalibri |
| Thread Tools | Cerca in questo Thread |
| Modalità di visualizzazione | Vota questo thread |
|
|