I am trying to get the script "extract_ancillary.bat" from server 1 to server2 (my unix box) through FTP command and then try to execute the script at server 2 by passing the command as recommneded by you.it showing me below error.
Ist Commnad screen shot :
bsedas03s> ssh extract_ancillary.bat
ssh: extract_ancillary.bat: node name or service name not known
2nd command screen shot;
bsedas03s> sh extract_ancillary.bat
extract_ancillary.bat: APPMODE=dev: is not an identifier
Please let me know how to implement the requirement.
Please reply me asap as it is very urgent for deliverables.
First of all, please use code tags when posting code fragments or data samples in your post. If you are not sure how to do it, please refer this thread
Since I don't know anything about your script, I cannot provide the root cause of this failure, but I suggest you to source your .profile file and give it another try:-