Batch Control Job issue
Posted: Tue Sep 23, 2008 4:22 am
Hello,
I have a requirement in one of my batch control job to get the value from Hashed file.If the value is present in the hashed file the job should run otherwise(Record Not Found in the hashed file) the job would abort.I have tested the below code in bacth job..but noluck..can you please suggest me any other way to resolve this issue.
HashTableName="FinancialLineHash"
HashTableKey="Y"
YEAR = HashTableLookup (HashTableName,HashTableKey,1)
if IsNULL(YEAR) then (or) if len(YEAR) = 0 then
Call DSLogFatal("HashTableLookup Failed for YEAR: Batch::LoadETLFinLineMonth", "JobControl")
Abort
end
Thanks,
Satheesh
I have a requirement in one of my batch control job to get the value from Hashed file.If the value is present in the hashed file the job should run otherwise(Record Not Found in the hashed file) the job would abort.I have tested the below code in bacth job..but noluck..can you please suggest me any other way to resolve this issue.
HashTableName="FinancialLineHash"
HashTableKey="Y"
YEAR = HashTableLookup (HashTableName,HashTableKey,1)
if IsNULL(YEAR) then (or) if len(YEAR) = 0 then
Call DSLogFatal("HashTableLookup Failed for YEAR: Batch::LoadETLFinLineMonth", "JobControl")
Abort
end
Thanks,
Satheesh