KB Article #50051

peltrans: Record locked by another user while routing files using FTP

Problem

Error message in an X*.out file: "peltrans: Record locked by another user"


Resolution


Generally this message appears when files are being routed using a script or batch file before the original transfer completes.



To resolve this, introduce a delay between the process termination (peltrans process that sends a file to Gateway) and the process creation (another peltrans process used within a script or batch file to route files).



You can do this by adding the command 'sleep n' ( where 'n' is number of seconds ) in the routing script before the peltrans command.



EXAMPLE :



peltrans <details for initial transfer>
sleep 10
peltrans <details for routing the transfer>