Search Results

Search: Posts Made By: Reboot
4,390
Posted By Reboot
yaa you still need to make some modifications as...
yaa you still need to make some modifications as follow :


#!/usr/bin/ksh
abc()
{
/usr/bin/clear
cat <<!
########### MENU ##########
# ...
4,390
Posted By Reboot
What really creating problem in your script is...
What really creating problem in your script is "$0" which you are calling every time loop is executed :


#!/usr/bin/ksh
#export SHELL=''
PS3='Enter the options of your choice(x to exit)=>'...
4,390
Posted By Reboot
OK, Let me know wether you get the prompt after...
OK,
Let me know wether you get the prompt after executing any of the subscripts or not.


<root># cat a.ksh
#!/bin/ksh
echo "DIS QL(*) CURDEPTH WHERE(CURDEPTH GT 0)" | runmqsc QM1...
4,390
Posted By Reboot
Use the command "exit" at the last of all the...
Use the command "exit" at the last of all the subscripts like :


#!/bin/ksh
echo "DIS QL(*) CURDEPTH WHERE(CURDEPTH GT 0)" | runmqsc QM1
exit ----->>> NOTICE THIS


and
...
4,390
Posted By Reboot
Could you post both the scripts which you are...
Could you post both the scripts which you are executing i.e with case 1 & 2.

:b:
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 06:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy