Tue Dec 07, 2021 6:43 pm
Login Register Lost Password? Contact Us


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: 47
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: 81
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: 47
Joined: Wed Jul 17, 2013 5:31 pm


Return to ECL

Who is online

Users browsing this forum: No registered users and 1 guest