Login  Register

script from aix to linux

Posted by Roshan on Apr 20, 2017; 6:17am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/script-from-aix-to-linux-tp2561.html

Hi Erman,

I have performed a migration from AIX to Linux. I have copied the crontab scripts from aix to Linux.
Can you please check the script below which I execute. I am getting

/archicom/appli/bin/injectionMauritius.sh\t-n <nombre de fichier a traiter en un seul passage>
\t\t-rc <repertoire de chargement> -cd <repertoire de reception des fichiers depuis platine>
/archicom/appli/bin/arch_loadPartitionedObject[33]: : not found [Aucun fichier ou dossier de ce type]
/archicom/appli/bin/loadPartitionedObject.sh: ligne732: Erreur de syntaxe pr▒s du symbole inattendu ▒ { ▒
/archicom/appli/bin/loadPartitionedObject.sh: ligne732: `outfile_name='echo $infile_name | awk -F.      '{ n=$1; if ( NF == 1 ) { if ( d != "" ) print n"_"d"."s;       \'
/archicom/appli/bin/arch_loadPartitionedObject[33]: : not found [Aucun fichier ou dossier de ce type]
/archicom/appli/bin/loadPartitionedObject.sh: ligne732: Erreur de syntaxe pr▒s du symbole inattendu ▒ { ▒
/archicom/appli/bin/loadPartitionedObject.sh: ligne732: `outfile_name='echo $infile_name | awk -F.      '{ n=$1; if ( NF == 1 ) { if ( d != "" ) print n"_"d"."s;       \'
/archicom/appli/bin/arch_loadPartitionedObject[33]: : not found [Aucun fichier ou dossier de ce type]
/archicom/appli/bin/loadPartitionedObject.sh: ligne732: Erreur de syntaxe pr▒s du symbole inattendu ▒ { ▒
/archicom/appli/bin/loadPartitionedObject.sh: ligne732: `outfile_name='echo $infile_name | awk -F.      '{ n=$1; if ( NF == 1 ) { if ( d != "" ) print n"_"d"."s;       \'
/archicom/appli/bin/arch_loadPartitionedObject[33]: : not found [Aucun fichier ou dossier de ce type]
/archicom/appli/bin/loadPartitionedObject.sh: ligne732: Erreur de syntaxe pr▒s du symbole inattendu ▒ { ▒


I am calling the script /archicom/appli/bin/lancer_application_mauritius which calls loadPartitionedObject.sh
lancer_application_mauritius.lancer_application_mauritius
loadPartitionedObject.sh

Thanks,
Roshan