Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3074

Parameter based XSJS jobs

$
0
0

HI All,

I want to create an XSJS job that does the following:

 

select A, B, C from <schema_name>.Table1 .. and some more calculations.

 

Table1 exists in 4 different schemas since we have 4 different ECCs.

I need to run this same XSJOB with the same calculation for all 4 source systems.

Problem is that those 4 runs will happen at different times of the day and hence I need the <schema_name> to be dynamic.

 

When the job is executed, it should be possible to pass it as a parameter so that the code runs for that schema.

 

Please let me know your thoughts on this.

 

Thanks,

Shyam


Viewing all articles
Browse latest Browse all 3074

Trending Articles



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