in reply to Re: put data in dynamic file
in thread put data in dynamic file

yes. "/tmp/$userid" - system command line gives error.