# RXS_setTplDir() Use this subprocedure when your application needs to temporarily change the template directory. The temporary value can be reset within a job by calling [RXS_initTplEng()](https://isupport.katointegrations.com/rxs/2.x/RXS_initTplEng.md). Note that this function does not change the RXSCFG physical file. Instead it stores the override value within the job. ## Subprocedure Prototype ### IBM i V5R4+ | Field | Description | |---|---| | ` D RXS_setTplDir... D pr` | Changes the IFS path of the currently configured template directory. | | ` D pDir value like(RXS_FilePath)` | **Required** Specify the temporary directory to use for templates. **Example:** `/home/myname/template/` |