02-16-2012 12:52 PM
I have the following code :
dir1=catx(' ','DE',year(lastmonth),put(month(lastmonth),z2.)); /*Previous Month*/
put (rootdir dir1 newdir1) (=/);
this generates a directory which is named : DE 2012 01
I would like this to appear as : DE 201201 (notice no gap after year)
How would I modify the query to achieve this?
Need further help from the community? Please ask a new question.