Tue Jun 28, 2022 6:22 pm
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.


Comments and questions related to the Enterprise Control Language

Tue Sep 26, 2017 5:20 pm Change Time Zone

Greetings -

I have a file on the Landing Zone, which is sprayed and processed with no problem. Now I want to take that file and move it to a different folder.

I have looked at this forum and the ECL Standards Library Reference Manual and I'm trying the simplest code possible:
Code: Select all

IP      := '10.999.88.001';     // faked address;
infile  := '/data/test/APPLICATION/requests/IN/myfile.csv';
outfile := '/data/test/APPLICATION/requests/PROCESSED/myfile.csv';

M1  := STD.File.MoveExternalFile(IP, infile, outfile);
O1  := OUTPUT(DATASET(STD.File.ExternalLogicalFileName(IP,outfile),{STRING1 Char},FLAT));

Fairly simple - move the code from one folder to another, then print it. Well, it fails. I get a RFSERR_MoveFailed(1) error telling me 'Operation not permitted'. The folder/file permissions (since this is a Linux system) is set to the most accessible: 7777 -(includes the sticky bits)- so that anyone can Read/Write/Execute/Delete. So is this an issue where the daliserve utility program is not running on the remote machine? Is there something missing in the latest release that's not in the manual?
There's not much in the way of diagnostics on this, so any help would be greatly appreciated.

John Meier
Posts: 20
Joined: Wed Jun 29, 2016 7:45 pm

Wed Sep 27, 2017 8:29 pm Change Time Zone


A few questions:

Is "/data/test/APPLICATION/requests" your dropzone location ?
What version of HPCC are you using ?
What target (hthor/thor) are you submitting to ?
Who is the owner of the /data/test/APPLICATION/requests/IN/myfile.csv file ?
Can you provide the complete and exact error msg text ?

Posts: 16
Joined: Mon Mar 10, 2014 2:51 pm

Return to ECL

Who is online

Users browsing this forum: No registered users and 1 guest