Use RPG and QShell for Zipping and Tarring Files

September 11, 2008
 
If you are putting data on the Web, you likely need to compress it first.
As businesses provide more data to the Internet, one common administrative task required for preparing the data is to compress the data into either a zip or a tar file.
 
The IBM i UNIX environment called QShell provides many capabilities, including the jar and tar commands used to compress data. To enter QShell, go to the command line and type STRQSH to bring up a command line in the UNIX environment. Here, you can try out your commands interactively to check the syntax and behavior of the commands that you are executing. I primarily use QShell for operations that I want to perform in the IFS.
 
In this TechTip, I will compress a text file named test.xml that I have stored in a public folder off of the root directory of the IFS.
 
Note: This is my first article on MC Press online where you could read more
 

The rest of this content is external, read more...

 
Return to articles