Hello Anil the objective of this process is that by means of two variables year and month you can do an accountant from 1 to 12 that is the 12 months that has a year and when it reaches the last month change the year and start again always and When there is a link on the server.
With this you would automate the extraction of several data with a single link, without having to change the month and year manually.
vMaxMes = 13;
vMinMes = 1;
vMaxAño = 2017
FOR vMes = 1 to $(vMaxMes)
let vMes=if($(vMes)=13,1,$(vMes)) //there you must to prevent loading dates somehow because it will be loading your dates until crash.
// for instance you can use this condition within the loop before load statement: Exit For When $(vMes)=2 and $(vMaxAño)=2018.