Hi,
I am having a problem where Job Fails and Aborts if Data source is empty. I read in one of other posts that I should run the below routine in after-job to get some more info. Since I am pretty new to DS and not too familiar with BASIC and routine execution.
Where would I place this routine to get row count as described here?
DSGetLinkInfo(DSJ.ME, "src_tbl_SW_VAL_PRODUCT","lnk_GO_TO_SORT_1",DSJ.LINKROWCOUNT)
Thanks.
After job routine - empty data source
Moderators: chulett, rschirm, roy
You have to write a routine that "does something". In that DS BASIC routine, do whatever you need to do: open files, look at link counts, log a message, send an email, whatever. Just getting the link count does nothing, what do you want to do about it? So, go into DS Manager, write a routine, and use it in a DS Designer job as a before/after job/transformer subroutine.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 122
- Joined: Mon Jul 05, 2004 1:33 pm
- Location: MA