Accessing network locations with the DIRECTORY_LIST activity in Composer
|Date:||6 March 2012|
|Product/Release:||LANSA Composer - All supported versions|
|Abstract:||How to access network locations with the DIRECTORY_LIST activity in Composer|
|Submitted By:||LANSA Technical Support|
When Composer Server/JSM is running on Windows, accessing network locations in the DIRECTORY_LIST activity can be achieved by using the UNC path in the DIRECTORY parameter (i.e. \\MyServer\SharedFolder).
On IBM i:
When JSM is running on the IBM i the UNC path will not work, as this format is not valid on that platform. Accessing a network path from the IBM i is achieved using the NetClient File System (QNTC). Documentation for NetClient File System for V6R1 can be found here
An example directory path that will work in DIRECTORY_LIST Activity might be:
Note: JSM will connect to the UNC path using the user that the JSM job is started with. You may need to add this user to the local users of the PC that this drive is located on; and give it appropriate authorities.