Shell program is not printing the concurrent program parameter values properly [message #537529] |
Thu, 29 December 2011 03:27 |
Nshan
Messages: 62 Registered: February 2009
|
Member |
|
|
Hi,
I am passing 8 parameters to my Shell Script program by using Concurrent Program in Oracle Apps. While i try to Run the program. it didn't pick the parameters correctly.
I am using the below code in my shell program
l_chr_all=$@
USERNAME=`echo $1|cut -d '/' -f1`
LOGIN_ID=$2
LOGIN_name=$3
REQ_ID=$4
RESP_NAME=$5
TRANSMISSION_FORMAT_ID=$6
ORG_ID=$7
SRC_DIR=$8
ARC_DIR= $9
ERR_DIR= ${10}
EMAIL_ID= ${11}
CTL_FILE_NAME= ${12}
echo 'l_chr_all : ' $l_chr_all
echo '1 USERNAME: ' $USERNAME
echo '2 LOGIN_ID: ' $LOGIN_ID
echo '3 LOGIN_name: '$LOGIN_name
echo '4 REQ_ID: ' $REQ_ID
echo '5 RESP_NAME: ' $RESP_NAME
echo '6 TRANSMISSION_FORMAT_ID: '$TRANSMISSION_FORMAT_ID
echo '7 ORG_ID: ' $ORG_ID
echo '8 SRC_DIR: '$SRC_DIR
echo '9 ARC_DIR: '$ARC_DIR
echo '10 ERR_DIR: '$ERR_DIR
echo '11 EMAIL_ID: '$EMAIL_ID
echo '12 CTL_FILE_NAME: '$CTL_FILE_NAME
Till 8th parameter values are getting printed.
But 9,10,11,12 is not getting printed.
Please help me to correct this.
Thanks in Advance.
|
|
|
|