I need to save a directory listing of a local wrklnk directory on our iSeries to a file, much the same way LSDISK( saves the names of files that live in a remote directory to a file. How is this done? Thanks in advance.
Software/Hardware used:
iSeries
ASKED:
December 2, 2010 8:31 PM
UPDATED:
December 3, 2010 7:52 AM
Just run ls against the directory and redirect the output to a file. If you have QShell installed, you can get to an appropriate command prompt by running the STRQSH command. Assuming the directory is /home/Tom, at the Qshell command prompt:
A detailed listing of the /home/Tom directory will be placed in /home/tomsfiles.txt.
Tom