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.
Dig Deeper on NetServer
Related Q&A from Shahar Mor
Use work station customize object or printer type in iSeries Access to print the output of an RPG file from the AS/400 to an HP printer.continue reading
Use the the iSeries QSYSOPR message to look for any errors in passwords when running a program on the iSeries that transfers data to a spreadsheet on...continue reading
Connecting the iSeries in AS/400, issue STRHOSTSVR *ALL. Make sure the as-signon port is in listen state and check the firewall settings.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.