Viewing the IFS in 6.1.2?

General discussion on Zend Studio for IBM System i
Post Reply
Posts: 5
Joined: Fri Apr 17, 2009 6:23 pm

Viewing the IFS in 6.1.2?

Post by interstarna » Fri May 01, 2009 6:33 pm

I have installed the Studio for Eclipse I5 Edition 6.1.2 . Has the problem of viewing the IFS been fixed with this version?? I am still having problems viewing any IFS directories. Are there any detail instructions on how to set this up in 6.1.2?

Posts: 6
Joined: Wed Apr 22, 2009 2:06 pm
Location: Boca Raton, FL

Re: Viewing the IFS in 6.1.2?

Post by adelgadodotorg » Mon May 04, 2009 2:37 pm

Do you have problems viewing the IFS via FTP in the remote systems tab? I use an SSH connection and have never had any problems.

User avatar
Zend Global Support
Posts: 56
Joined: Mon Dec 29, 2008 5:28 pm

Re: Viewing the IFS in 6.1.2?

Post by rodflohr » Tue May 05, 2009 1:38 am

At this time the OS400 ftp parser is not working correctly in Eclipse. There are three alternative methods that may be used to create a Remote Systems Explorer connection to an i5.

SSH Method:

The SSHD Daemon must be running on the i5 to make this connection. To run the SSHD daemon on i5/OS:

* The userid that starts the daemon must have *ALLOBJ special authority.
* The userid that starts the daemon must be 8 or fewer characters long.
* Before starting sshd for the first time, you will need to generate host keys:

a. Run the following command in i5/OS to start the PASE shell: CALL QP2TERM
Then, in the PASE shell, run these commands (see the note below if there is a problem):
b. ssh-keygen -t rsa1 -f /QOpenSys/QIBM/UserData/SC1/OpenSSH/openssh-3.8.1p1/etc/ssh_host_key -N ""
c. ssh-keygen -t dsa -f /QOpenSys/QIBM/UserData/SC1/OpenSSH/openssh-3.8.1p1/etc/ssh_host_dsa_key -N ""
d. ssh-keygen -t rsa -f /QOpenSys/QIBM/UserData/SC1/OpenSSH/openssh-3.8.1p1/etc/ssh_host_rsa_key -N ""

You can start the sshd daemon with this CL command:
QSH CMD ('/QOpenSys/usr/sbin/sshd')

Or you can use the command sshd in the PASE shell.

Now, go into Studio Remote System Explorer view.

Right click in the Remote Systems tab, and select New Connection. Select SSH Only and click Next. For Host name, put the ip address for your i5. Connection name will autofill with the host name, but you can change it to something more descriptive. Click Finish. You may be prompted to set up an SSH directory and list of known hosts in your Windows user directory. If so, accept those options. When prompted, use your user profile and password to log on as you would to log into a 5250 session.

Note: If the commands in step b, c, and d above fail because the directory does not exist, you may need to change the version id of the 'openssh-3.8.1p1' directory. Use this command:

ls /QOpenSys/QIBM/UserData/SC1/OpenSSH/

Use the listed directory name in the path. For example, if the above command shows directory 'openssh-3.5p1', then the command to use for step b is:

ssh-keygen -t rsa1 -f /QOpenSys/QIBM/UserData/SC1/OpenSSH/openssh-3.5p1/etc/ssh_host_key -N ""


Mapped Network Drive Method:

Set up a mapped network drive, and access it within Studio as you would a local drive. You can learn how to set up a mapped network drive here: ... /dkmap.htm


FTP Unix Style Method:

Note: This changes the default FTP list format from Library Objects to IFS Files, which may adversely affect other ftp clients connecting to the i5.

1. Sign on to a 5250 session. From the command line: WRKSBSJOB SBS(QSYSWRK)

2. Scroll down until you see the QTFTPnnnnn jobs. Stay on this display as you do the following commands.



5. Use F5 to ensure that all QTFTPnnnnn jobs have ended.


7. Go to Studio for Eclipse, and find the FTP connection in the Remote Systems tab, which can be seen in the PHP and Remote Systems Explorer perspectives.

8. Right click the FTP connection, and select the option to Disconnect, if available.

9. Right click the FTP connection, and select Properties.

10. Under Connector Services, highlight FTP Settings.

11. Find the parser property, and click where it says AUTO, then click the down arrow, to see a list.

12. Select org.eclipse.rse.ftp.parser.Unix from the list (or just type it in if the list does not appear).

13. Click OK.

14. Right click the FTP connection, and select Connect. If needed, enter the User and Password when prompted. Expand Files to find the IFS root directory, which should now display correctly.

User avatar
Zend Global Support
Posts: 139
Joined: Mon Dec 29, 2008 2:38 pm

Re: Viewing the IFS in 6.1.2?

Post by shlomov » Tue May 05, 2009 2:41 pm

Check the directories authority as well.
WRKAUT '/directoryname' or select option
WRKLNK and select option 9=Work with authority
Shlomo Vanunu
IBM System i

Posts: 5
Joined: Fri Apr 17, 2009 6:23 pm

Re: Viewing the IFS in 6.1.2?

Post by interstarna » Tue May 05, 2009 6:09 pm

Thanks for the set up instructions!!!!!!!

Posts: 9
Joined: Tue Apr 28, 2009 5:15 pm
Location: Winnipeg, MB, Canada

Re: Viewing the IFS in 6.1.2?

Post by rbaril » Fri Aug 07, 2009 5:08 pm

There is another way...

We turn on NFS on the AS400. Export the directories where the code resides. Then mount those directories on our Linux (Ubuntu) systems. They access as if they were on our local drive. Very nice solution...

Post Reply