Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Hi! Problem resolved. Put this line in the beginning of the script: #!/usr/bin/ksh Thanks a lot! Cesar
| | | ---------------Original Message--------------- From: czuliani Sent: Thursday, January 13, 2011 6:14 AM Subject: SAP Job does not run external program. Hi! I need a job to run a shell in Unix. But I receive the follow error: 12.01.2011 16:14:11 Job started 12.01.2011 16:14:11 Step 001 started 12.01.2011 16:14:11 External program: /sapde1/archive/DE1 12.01.2011 16:14:11 Related parameter: ./teste.sh 12.01.2011 16:14:11 Ext. prog.: Can't exec external program (Permission denied) 12.01.2011 16:14:11 Ext. prog.: External program terminated with exit code 1 12.01.2011 16:14:11 External program was cancelled 12.01.2011 16:14:11 Job status was manually set to 'cancelled' The permissions on UNIX are apparently ok. sapde1:de1adm 6> ls -l total 0 drwxrwxrwx 2 root system 256 Jan 12 16:16 DE1 sapde1:de1adm 7> cd DE1 sapde1:de1adm 8> ls -l total 54744 -rw-rw-r-- 1 de1adm sapsys 27858141 Jan 10 10:51 RBC01100.104624.LH8M.ARCHIVE -rw-rw-r-- 1 de1adm sapsys 157887 Sep 14 2009 RBC09140.151403.BASIS.ARCHIVE -rw------- 1 root system 0 Jan 12 10:20 nohup.out -rwxrwxrwx 1 de1adm sapsys 37 Jan 12 15:13 teste.sh -rw-r--r-- 1 de1adm sapsys 6 Jan 12 16:16 teste.teste Any ideas? Thanks a lot!! Cesar | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | Most Popular White Papers In the Spotlight _.____.__ |