We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-basis] SAP Job does not run external program.

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by czuliani
on Jan 13 at 1:00 PM
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
Mark as helpful
View this online
  
Most Popular White Papers

In the Spotlight
Toolbox.com Groups Discussions Now Support BBCode. Share Code Snippets with Peers
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language