Ask the Expert

Displaying an image from the AS/400 on a PC, troubleshooting

I am a complete novice in this, so any help will be much appreciated.

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.

Before starting command remotely make sure the PC is able to reach the AS/400.

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: