I have a batch definition with 2 data load rules as the batch's jobs.
My first DLR maps all source to target values
My second DLR ignores all source to target values
The first DLR successfully completes, the second DLR does not. This is fine, I want this behaviour.
I want to check though that the second DLR is failing for the reasons I want it to fail, and not something else.
I have an after batch script I execute. Is there a way I can get this script to access information in just the second DLR? I don't really want to scan the log files for strings, as I think there might be a more efficient way. I have a little script at the moment (below) that gets the batch LOADID and writes it to a text file. I'd like to be able to access the second DLR though with LOADID, as it will be equal to the LOADID of the batch + 2, but I'm not sure how to do this. Any help would be much appreciated!
test_file = open('file_1.txt', 'w+')
data = str(fdmContext["LOADID"])
test_file.write(data)
test_file.close()