Get IFS contents in a text file

This user shows you how to use the STRQSH command to open a Unix Shell Window in the iSeries 400.

With the STRQSH command we open a Unix Shell Window in the iSeries (Thanks to Albert Herranz.)

Unix commands can retrieve the information:

ls -l /home/gpt/docs > /tmp/dir_docs.txt

You do the same without shell:

STRQSH CMD('ls -l /home/gpt/docs > /tmp/dir_docs.txt')

You can process the output with the WRKLNK command and view it with the 5 option.

If you download it by FTP to process in the PC, you need a Unix text file editor, like the free SynEdit.

STRQSH CMD('ls -l /home/gpt/docs > /tmp/dir_docs.txt')

This was last published in February 2002

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close