in reply to OT: conversion of xml to csv before insert data into a database
Maybe because you mget these
pmresult_838883c14_60_$daterec*.xml ^
and cat these
pmresult_83888314_60_...