![]() | ![]() |
|
06-23-2010 11:02 AM
Try specifying the full path to the mv command. To find out where mv is located, login onto your linux box and type the command "type mv". Different flavors of Linux may have mv in a different location. An example is below:
supsuse10:~ # type mv
mv is /bin/mv
In your exitdata, specify /bin/mv instead of mv. The same will be true of the cp and the ls commands.
06-23-2010 03:22 PM
We did find the mv command in the /bin/mv location. We changed the exit data to:
Which was interpreted as:
/bin/mv /appl/softgrocer/data/aplhst/TEMP_HOSTDN2010062300
The errors received were basically the same:
command is: /bin/mv /appl/softgrocer/data/aplhst/TEMP_HOSTDN2010062300
/bin/mv' is not recognized as an internal or external command operable program or batch file.
and
Post_Rec_Exit_Point</activity>
xmoSysCall():2</locationCode>
The system call failed</message>
/bin/mv /appl/softgrocer/data/aplhst/TEMP_$XMDM_ORIGINAL_N
06-23-2010 03:53 PM
Are you sure the exit service being called is on the Linux node? The reason I ask is that the line
"/bin/mv' is not recognized as an internal or external command operable program or batch file"
occurs only on a Windows node. You can recreate the same exact error text by opening a windows command prompt
and entering a command that does not exist.
I was also able to produce the same error text in my Windows Exit Service log by specifying exitdata as the /bin/mv command but specfying the Exit QM as a Windows node instead of a Linux node.
06-23-2010 04:24 PM
Add the mv command to a shell script.
mv %1 %2
and then call the shell script instead of the mv command. Does that work for you?
![]() |
![]() |
![]() |
|
|
![]() |
![]() |
![]() |
















