I am trying to display an image using STRPCCMD. The image is in folder IMAGEFLR. When I do WRKFLR, I see the folder...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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
What to do when an application is published in IFS from Win2k3 server, and users are unable to access the shared folder on AS/400.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.