This method changes the value of the current working directory on the system.
newdir − The new directory which should become the current working directory.
Returns 0 if the change was successful.
/* Main program */ options arexx_bifs say chdir('\rexxxml100') say directory()
When we run the above program we will get the following result.