Sun Aug 07, 2022 10:42 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.



STD.File.ReplaceSuperFile

Comments and questions related to the Enterprise Control Language

Mon Nov 15, 2021 3:28 pm Change Time Zone

I have a job I run every week that updates a dataset using STD.File.ReplaceSuperFile. It normally runs fine, but this week and last the superfile has not updated. The WU is W20211115-095712 on Alpha Dev. How can I troubleshoot what is going wrong?
janet.anderson
 
Posts: 52
Joined: Wed Jul 17, 2013 5:31 pm

Mon Nov 15, 2021 6:10 pm Change Time Zone

Hi,

as far as I can see, W20211115-095712 didn't update the super file,
because it is coded with :
last_file_date := '20211108'

and so is expecting the superfile it is trying to manipulate to contain the subfile '~zwei::adi::mapping_ambest_20211108', but it does not.
Instead contains '~zwei::adi::mapping_ambest_20211025', so there was no action to perform.
jsmith
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 82
Joined: Tue Jul 19, 2011 12:58 pm

Mon Nov 15, 2021 6:15 pm Change Time Zone

Ah, I'm sorry for my oversight. I see now that it stopped working after a week where there was legitimately no updates and the last_file_date was out of sync with what was actually used in the superfile. Thank you.
janet.anderson
 
Posts: 52
Joined: Wed Jul 17, 2013 5:31 pm


Return to ECL

Who is online

Users browsing this forum: No registered users and 2 guests

cron