How to move IFS from *SYSBAS into iASP (Independent ASP)

IBM i

Jun 21

By default, the IFS lives in the *SYSBASE ASP. But, we can move the IFS Directories, and all documents therein, to the iASP location easily:

Let’s assume your ASP is called ‘my_iasp’

1) Vary on iASP

 WRKCFGSTS CFGTYPE(DEV) CFGD(ASP) 

2) Create your new directory on the iASP, if it doesn’t already exist

 CRTDIR DIR('/my_iasp/dir_name')

3) Move the directory, and all included objects, to the directory on the iASP

 MOV OBJ('/dir_name/*') TODIR('/my_iasp/dir_name')

hashtag that was easy 😉

Follow

About the Author

IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Alpha Nerd and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and in the words of the most interesting man in the world: Stay thirsty my friend.