Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2806

Re: How to schedule a job once in a month in SAP IDM7.2

$
0
0

I have this script in usage in the first pass (ToGeneric) of a batchjob:

 

Source:

Empty

 

Destination:

ACTUAL_DATE%$ddm.date8601%


function knf_local_stopIfNeeded(Par){

  var actualDate = Par.get("ACTUAL_DATE") + "";

  actualDate = actualDate.substring(5)

 

  if (actualDate != "01-01" && actualDate != "02-01" && actualDate != "03-01" && actualDate != "04-01" &&

  actualDate != "05-01" && actualDate != "06-01" && actualDate != "07-01" && actualDate != "08-01" &&

  actualDate != "09-01" && actualDate != "10-01" && actualDate != "11-01" && actualDate != "12-01"){

  uWarning("STOP due to not defined run date")

  uStop("STOP due to not defined run date");

  }

}


Viewing all articles
Browse latest Browse all 2806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>