|
A possible workaround (with my poor knowledge of QSH/xNIX commands)
would be (using your example, displaying the first 30 lines of the
file):
CPYSPLF FILE(QPRTSPLQ) TOFILE(*TOSTMF)
TOSTMF('/buck/qprtsplq.txt') WSCST(*NONE)
STRQSH CMD('head -30 /buck/qprtsplq.txt')
Of course it is possible to redirect the output of head command to a
file, or different files based on the requirements.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.