if (NOT(DSCheckRoutine("DSU.FWKCommunDSLogJournalv2"))) Then
Call DSLogFatal(" La routine DSU.FWKCommunDSLogJournalv2 est absente du projet",'')
end else
deffun DSLogJournal (Arg1, Arg2, Arg3, Arg4, Arg5, Arg6) Calling "DSU.FWKCommunDSLogJournalv2"
end
When the routine is a transform one it's ok , when is a before/after the chek failed.
Found=DSCheckRoutine("DSU.FERMATBale2RExecDosRename")
If(NOT(Found)) Then
Call DSLogFatal(" La routine DSU.FERMATBale2RExecDosRename est absente du projet",'')
end
I hope it was what you want me to do because i'm no longer be a premium member.
The behaviour is the same.
Anyway, TRANS() from VOC is OK within the DataStage context, unless you happen to be using globally cataloged routines, in which case the TRANS() needs to be applied against GLOBAL.CATDIR.
And that's where !EXIST is cataloged. You can use the MAP command to verify that it's there. You may need to have recourse to the UniVerse BASIC manual for documentation.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.