GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAP ... error message: Can't exec external program...
Operating System - HP-UX
1844202
Members
2532
Online
110229
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 09:31 AM
02-02-2006 09:31 AM
Hi everybody !!!
the problem in question is:
In SAP has been created a job, this job is goingo to run and execute a script named patito.sh
patito.sh contains:
########################################
#sleep 5
#cp dDDDD.pay dDDDD.pay.1
#sleep 5
#chmod 775 dDDDD.pay.1
#rm dbearn.pay
#sleep 5
#sleep 5
########################################
# Modified: Dec 13 2005 by ########################################
#!/usr/bin/csh
echo TEST | mailx -s "01 ORANGE ALERT " PATITO@CCC.com.mx
When the script has been executed from SAP, in job log it can see next message:
"Exec. prog.: Can't exec external program (Exec format error) Message no. 606 ..
External program was cancelled ..."
I'm attaching The solution says
If you have seen the solution there ... there says that is the kind of shell to be used ...
I have updated the script as follows:
patito.sh contains:
########################################
#sleep 5
#cp dDDDD.pay dDDDD.pay.1
#sleep 5
#chmod 775 dDDDD.pay.1
#rm dbearn.pay
#sleep 5
#sleep 5
########################################
# Modified: Dec 13 2005 by ########################################
#! /usr/bin/csh <- HERE IS THE UPDATED
echo TEST | mailx -s "01 ORANGE ALERT " PATITO@CCC.com.mx
The job was created and run from SAP and continue without been executed ....
continue the same error:
"Exec. prog.: Can't exec external program (Exec format error) Message no. 606 ..
External program was cancelled ..."
What could be?
Thanks, Manuales.
the problem in question is:
In SAP has been created a job, this job is goingo to run and execute a script named patito.sh
patito.sh contains:
########################################
#sleep 5
#cp dDDDD.pay dDDDD.pay.1
#sleep 5
#chmod 775 dDDDD.pay.1
#rm dbearn.pay
#sleep 5
#sleep 5
########################################
# Modified: Dec 13 2005 by ########################################
#!/usr/bin/csh
echo TEST | mailx -s "01 ORANGE ALERT " PATITO@CCC.com.mx
When the script has been executed from SAP, in job log it can see next message:
"Exec. prog.: Can't exec external program (Exec format error) Message no. 606 ..
External program was cancelled ..."
I'm attaching The solution says
If you have seen the solution there ... there says that is the kind of shell to be used ...
I have updated the script as follows:
patito.sh contains:
########################################
#sleep 5
#cp dDDDD.pay dDDDD.pay.1
#sleep 5
#chmod 775 dDDDD.pay.1
#rm dbearn.pay
#sleep 5
#sleep 5
########################################
# Modified: Dec 13 2005 by ########################################
#! /usr/bin/csh <- HERE IS THE UPDATED
echo TEST | mailx -s "01 ORANGE ALERT " PATITO@CCC.com.mx
The job was created and run from SAP and continue without been executed ....
continue the same error:
"Exec. prog.: Can't exec external program (Exec format error) Message no. 606 ..
External program was cancelled ..."
What could be?
Thanks, Manuales.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 09:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 10:46 AM
02-02-2006 10:46 AM
Re: SAP ... error message: Can't exec external program (Exec format error)
Hi everybody !!!
the problem was a basic thing in shell scripting!!!!! >:( (i'm hungry .. jajajajaj)
it must be as follows :
#!/usr/bin/csh
#
#
#
.....
.....
and not as follows:
#
#
#
#!/usr/bin/csh
....
....
BTW..... Thanks Chan !!!!!
Manuales.
the problem was a basic thing in shell scripting!!!!! >:( (i'm hungry .. jajajajaj)
it must be as follows :
#!/usr/bin/csh
#
#
#
.....
.....
and not as follows:
#
#
#
#!/usr/bin/csh
....
....
BTW..... Thanks Chan !!!!!
Manuales.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP