Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SXPG_COMMAND_EXECUTE / Parameters

henrik_mortensen
Explorer
0 Likes
1,171

Hi

I've setup af system commando called ZMYSQL using SM69.

When I try run the function

SXPG_COMMAND_EXECUTE using

ADDITIONAL_PARAMETERS = '-h xxx.xxx.xxx.xxx --user=<uid> --password=<pwd> < c:\file.sql'

it for some reasson removes the '<' sign from my parameters, which make it fail.

Any knows how its possible to avoid this ? or is there a workaround ?

I can execute the system comand from the application server using.

mysql -h xxx.xxx.xxx.xxx --user=<uid> --password=<pwd> < c:\file.sql

Edited by: Henrik Mortensen on Jan 15, 2010 1:17 PM

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
603

Look at OSS [Note 1152084 - Parameter for external commands|https://service.sap.com/sap/support/notes/1152084] and [Note 1280022 - Special characters in parameter string of ext. commands (2)|https://service.sap.com/sap/support/notes/1280022]

Regards,

Raymond