2006 Oct 12 12:21 PM
We have a program which runs a ftp script to pull the file from IBM system.
The functionality is handled by below RFC.
CALL FUNCTION 'SXPG_CALL_SYSTEM'
DESTINATION DBHOST
EXPORTING
COMMANDNAME = 'ZFTPMVSPULL'
PARAMETERS = PARA
ADDITIONAL_PARAMETERS = PARA
IMPORTING
STATUS = STAT
TABLES
EXEC_PROTOCOL = PROT
EXCEPTIONS
NO_PERMISSION = 1
COMMAND_NOT_FOUND = 2
PARAMETERS_TOO_LONG = 3
SECURITY_RISK = 4
WRONG_CHECK_CALL_INTERFACE = 5
PROGRAM_START_ERROR = 6
PROGRAM_TERMINATION_ERROR = 7
X_ERROR = 8
PARAMETER_EXPECTED = 9
TOO_MANY_PARAMETERS = 10
ILLEGAL_COMMAND = 11
OTHERS = 12.
when we are executing the program this RFC is returning the sy-subrc as '2....i.e 'COMMAND NOT FOUND'.
Can anyone explain how this RFC is going to run the ftp script and how this command is related to it ?
Thanks in advance,
Vengal.
2006 Oct 12 12:38 PM
We have a program which runs a ftp script to pull the file from IBM system.
The functionality is handled by below RFC.
CALL FUNCTION 'SXPG_CALL_SYSTEM'
DESTINATION DBHOST
EXPORTING
COMMANDNAME = 'ZFTPMVSPULL'
PARAMETERS = PARA
ADDITIONAL_PARAMETERS = PARA
IMPORTING
STATUS = STAT
TABLES
EXEC_PROTOCOL = PROT
EXCEPTIONS
NO_PERMISSION = 1
COMMAND_NOT_FOUND = 2
PARAMETERS_TOO_LONG = 3
SECURITY_RISK = 4
WRONG_CHECK_CALL_INTERFACE = 5
PROGRAM_START_ERROR = 6
PROGRAM_TERMINATION_ERROR = 7
X_ERROR = 8
PARAMETER_EXPECTED = 9
TOO_MANY_PARAMETERS = 10
ILLEGAL_COMMAND = 11
OTHERS = 12.
when we are executing the program this RFC is returning the sy-subrc as '2....i.e 'COMMAND NOT FOUND'.
Can anyone explain how this RFC is going to run the ftp script and how this command is related to it ?
Thanks in advance,
Vengal.
2006 Oct 12 12:27 PM
2006 Oct 12 12:38 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |