{"id":352,"date":"2009-07-02T00:13:20","date_gmt":"2009-07-01T22:13:20","guid":{"rendered":"http:\/\/www.netexpertise.eu\/en\/?p=352"},"modified":"2021-10-06T22:38:27","modified_gmt":"2021-10-06T20:38:27","slug":"access-windows-unix-and-as400-from-as400","status":"publish","type":"post","link":"http:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html","title":{"rendered":"Access Windows, Unix and AS400 from AS400\/IBM i"},"content":{"rendered":"\n<p><a href=\"\/en\/tag\/ibm-i\">IBM i<\/a> can communicate with all major operating systems to reach remote files: Windows, Linux and any Unix flavour, and other IBM i of course. It provides multiple filesystems that let you access remote shares. A diagram of these filesystems is available on <a href=\"https:\/\/www.ibm.com\/docs\/en\/i\/7.3?topic=system-file-systems\" target=\"_blank\" rel=\"noreferrer noopener\">IBM<\/a> website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br>Windows Shared Folders<\/h2>\n\n\n\n<p>IBM i communicates with Windows servers with the <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-server\/storage\/file-server\/file-server-smb-overview\" target=\"_blank\" rel=\"noreferrer noopener\">SMB<\/a> protocol and mounts shares on \/QNTC filesystem. Create a folder is all that needs to be done.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">MKDIR '\/QNTC\/MY_WINDOWS_SERVER'<\/code><\/pre>\n\n\n\n<p><br>Walk into the mountpoint and you can then browse all shares available on the Windows server and their subdirectories:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">WRKLNK '\/QNTC\/MY_WINDOWS_SERVER'<\/code><\/pre>\n\n\n\n<p>&nbsp;<br>IP address can also be used in place of the server name:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">mkdir '\/QNTC\/IPADDR'\nwrklnk '\/QNTC\/IPADDR'<\/code><\/pre>\n\n\n\n<p>&nbsp;<br>Note: Pay attention to Windows permissions. It doesn&#8217;t seem to be fully compatible.<br>Active Directory can also be a problem in some cases.<br>AS400 and the Windows machine are supposed to be in the same WORKGROUP but it seems to work fine if they&#8217;re not.<br>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Linux \/ Unix NFS<\/h2>\n\n\n\n<p>AS400 appropriate filesystem for Linux and Unix in general is \/QOpenSys.<br>Export the shared folder with <a href=\"http:\/\/nfs.sourceforge.net\" target=\"_blank\" rel=\"noreferrer noopener\">NFS<\/a> (Network FileSystem) from the AIX server (or any Unix system that supports NFS). It has to be mountable by root. Replace mountpoint by any directory name you like.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">MKDIR '\/mnt\/mountpoint'\nMOUNT TYPE(*NFS) MFS('SERVER_IP:\/mydir') MNTOVRDIR('\/mnt\/mountpoint')\nWRKLNK \/mnt\/mountpoint<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><br>AS400 \/ IBM i<\/h2>\n\n\n\n<p>Same story again with \/QFileSrv.400 filesystem and the MKDIR command.<\/p>\n\n\n\n<p>I couldn&#8217;t make it work with the IP address. I had to create a static entry, and the mountpoint next:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">ADDTCPHTE INTNETADR('Remote_AS400_IP') HOSTNAME((AS400_hostname))<\/code><\/pre>\n\n\n\n<p>(Reachable from menu GO NETWORK -&gt; TCP\/IP Administration -&gt; Configure TCP\/IP -&gt; Work with TCP\/IP host table entries -&gt; Add)<br><br>To make the mount point persistant through IPLs (reboots), add the mkdir command to the startup program (<a href=\"\/en\/as400\/modify-qstrup-startup-program.html\">QSTRUP<\/a>).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">MKDIR '\/QFileSvr.400\/AS400_hostname'<\/code><\/pre>\n\n\n\n<p>&nbsp;<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>IBM i can communicate with all major operating systems to reach remote files: Windows, Linux and any Unix flavour, and other IBM i of course. It provides multiple filesystems that let you access remote shares. A diagram of these filesystems is available on IBM website. Windows Shared Folders IBM i communicates with Windows servers with [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[210],"tags":[396,405,230,225,123,391],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netexpertise - Access Windows, Unix and AS400 from AS400\/IBM i<\/title>\n<meta name=\"description\" content=\"IBM i can communicate with all major OS to reach file shares: Windows, Linux and any Unix flavour, and other IBM i of course.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netexpertise - Access Windows, Unix and AS400 from AS400\/IBM i\" \/>\n<meta property=\"og:description\" content=\"IBM i can communicate with all major OS to reach file shares: Windows, Linux and any Unix flavour, and other IBM i of course.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html\" \/>\n<meta property=\"og:site_name\" content=\"Netexpertise\" \/>\n<meta property=\"article:published_time\" content=\"2009-07-01T22:13:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-06T20:38:27+00:00\" \/>\n<meta name=\"author\" content=\"dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@netexpertise\" \/>\n<meta name=\"twitter:site\" content=\"@netexpertise\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html\",\"url\":\"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html\",\"name\":\"Netexpertise - Access Windows, Unix and AS400 from AS400\/IBM i\",\"isPartOf\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\"},\"datePublished\":\"2009-07-01T22:13:20+00:00\",\"dateModified\":\"2021-10-06T20:38:27+00:00\",\"author\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\"},\"description\":\"IBM i can communicate with all major OS to reach file shares: Windows, Linux and any Unix flavour, and other IBM i of course.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.netexpertise.eu\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Access Windows, Unix and AS400 from AS400\/IBM i\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/\",\"name\":\"Netexpertise\",\"description\":\"Systems \/ Networks \/ DevOps\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\",\"name\":\"dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"caption\":\"dave\"},\"sameAs\":[\"http:\/\/www.netexpertise.eu\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netexpertise - Access Windows, Unix and AS400 from AS400\/IBM i","description":"IBM i can communicate with all major OS to reach file shares: Windows, Linux and any Unix flavour, and other IBM i of course.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html","og_locale":"en_US","og_type":"article","og_title":"Netexpertise - Access Windows, Unix and AS400 from AS400\/IBM i","og_description":"IBM i can communicate with all major OS to reach file shares: Windows, Linux and any Unix flavour, and other IBM i of course.","og_url":"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html","og_site_name":"Netexpertise","article_published_time":"2009-07-01T22:13:20+00:00","article_modified_time":"2021-10-06T20:38:27+00:00","author":"dave","twitter_card":"summary_large_image","twitter_creator":"@netexpertise","twitter_site":"@netexpertise","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html","url":"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html","name":"Netexpertise - Access Windows, Unix and AS400 from AS400\/IBM i","isPartOf":{"@id":"http:\/\/www.netexpertise.eu\/en\/#website"},"datePublished":"2009-07-01T22:13:20+00:00","dateModified":"2021-10-06T20:38:27+00:00","author":{"@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa"},"description":"IBM i can communicate with all major OS to reach file shares: Windows, Linux and any Unix flavour, and other IBM i of course.","breadcrumb":{"@id":"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.netexpertise.eu\/en\/systems\/as400\/access-windows-unix-and-as400-from-as400.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.netexpertise.eu\/en"},{"@type":"ListItem","position":2,"name":"Access Windows, Unix and AS400 from AS400\/IBM i"}]},{"@type":"WebSite","@id":"http:\/\/www.netexpertise.eu\/en\/#website","url":"http:\/\/www.netexpertise.eu\/en\/","name":"Netexpertise","description":"Systems \/ Networks \/ DevOps","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa","name":"dave","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","caption":"dave"},"sameAs":["http:\/\/www.netexpertise.eu"]}]}},"_links":{"self":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/352"}],"collection":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":0,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}