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.
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
Searching for the right API to add users to an EIM SSO implementation? The IBM site includes sample APIs based on C.continue reading
Sending the file binary to the AS/400 after defining the destination file tagged with CCSID of 1200 may solve the problem of incorrect CCSID numbers ...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.