|
sbmjob cmd(qsh cmd('system "crtsavf qgpl/&n"; system "savlib &n *savf savf(qgpl/&n) clear(*all) dtacpr(*yes)"; cp /qsys.lib/qgpl.lib/&n.file /savfs/QGPL-&n.SAVF; jar cvMf /savfs/QGPL-&n.SAVF.zip /savfs/QGPL-&n.SAVF; rm /savfs/QGPL-&n.SAVF'))
SBMJOB CMD(QSH CMD('cp /qsys.lib/&l.lib/&n.&s /savfs/&l-&n.&a; jar cvMf /savfs/&l-&n.&a.zip /savfs/&l-&n.&a; rm /savfs/&l-&n.&a'))
- copies an existing SAVF to the IFS - makes a ZIP of it - deletes the IFS copy
HTH Vern
Either I am having my first "senior moment" or it is the lingering effects of the 70's coming back to haunt me but I could have sworn there was a post to this list in that last week or so that had something to do with using the jar command to zip or compress some files. Further, someone posted some pseudo code that (as I recall) had something to do with a command that could do the savf to IFS to jar steps combined. It used parameter markers such as &file &lib &folder ?
Can I find it? Not in two hours of searching through my e-mail folders, Googling, stepping through each email. Nothing! Was I just imagining such a thing? Or does someone have a better memory or search tools than I?
Pete Helgren Timpanogos Technologies, Inc 801.892.9106 x 202
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.