I would like to realize one function retrieving the hash_num for one job using shellscript,the server is of AIX
What I do now in the script file is
'hellp' is project name and 'Test' is the job name
dssh<<eof
logto hellp
select JOBNO FROM DS_JOBS WHERE NAME ='Test'
quit
eof
But it will take long time to run and return no record,
BTW I type the command as following
dssh<<eof
>logto hellp
>SELECT JOBNO FROM DS_JOBS WHERE NAME = 'Test'
>QUIT
It is OK
Can any one of you post kindly advice here...
![Smile :)](./images/smilies/icon_smile.gif)