I am engaged on DB2 saved process, which will likely be referred to as by the Korn Shell (.ksh). My DB2 model is 11.5 and it’s operating on AIX.
I used to be caught in TIMESTAMP to DATE conversion. Under is my requirement.
If s_day < day(s_date) then start_date = YYYY-MM from s_date + 1 day from s_day finish if
Observe right here
s_date is DATE variable,
s_day is CHAR variable and
start_date is DATE variable.
So I attempted, the next code, however bought an error.
IF s_day < DAY(s_date) THEN SET start_date = DATE (DATE(s_date,'YYYY-MM') || s_day + 1); END IF
s_day =03 s_date= 15/05/2020 anticipated output start_date is 2020-05-04
Can anybody assist me to attain anticipated output?
Best Quality Private Proxies by Proxyti:
100% anonymous and safe reliable private proxies
1,000 mb/s speed
Blazing fast proxy servers with up to 1,000 mb/s speed
Best quality proxies from world and USA locations
No limits of using your proxies - truly unlimited bandwidth
Buy Now - Get 2X More Proxies:
100 Private Proxies
200 Private Proxies
500 Private Proxies
1,000 Private Proxies
2,000 Private Proxies
5,000 Private Proxies
Our Unbeatable Proxy Features:
100% security with our proxies – anonymous and secure proxy experience
Ultra Fast Speed
Proxyti offers up to 1,000 mb/s ultra fast proxy speed – feel the real power!
No data limits for your proxies – truly unlimited proxy bandwidth for you!
We secure proxies with IP authentication – use your proxies with your own IP
Highest proxy quality guarantee with supported HTTP/HTTPS and SOCKS connections
Proxyti offers great proxies for great prices – this is what we call new proxy era!
You can choose USA or random proxies locations when ordering for free
We don’t have any limits – you can use your proxies with every software or program!
Lots Of Subnets
The more proxies you buy, the more subnets you get – it is worth ordering more!
Our proxies are shared with maximum of 5 users at a time, but they are still anonymous
We deliver your ordered proxies in your email in .txt file – this is simple as that
Have any questions or want more information – please contact us anytime!