I am trying to display an image using STRPCCMD. The image is in folder IMAGEFLR. When I do WRKFLR, I see the folder IMAGEFLR. Under that folder I see my file 104.GIF. I did CFGTCP, option 10 to check my IP address. I have 127.0.0.1 for LOCALHOST and 192.168.100.7 for my AS/400. I did STRPCO *NO and then STRPCCMD PCCMD("//192.168.100.7/qdls/imageflr/104.gif"). I get error message "The network path is not valid". I get the same message when I use 127.0.0.1 address.
Type start -> \192.168.100.7 (note that the slash sign is different than the one you sent).
If you did not get the directory listing for NetServer at all use STRTCPSVR *NETSVR and retry, if still problem exist need to troubleshoot this refer to the IBM manual.
If you see directories but can not see directory QDLS than QDLS is not shared. Add a share.
This was first published in November 2008