× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I was using the RST command to restore a set of directories from within a
CL program.  I thought I'd get cute and do the following:
SNDPGMMSG 'now restoring this directory'
RST 'this directory'
SNDPGMMSG 'now restoring that directory'
RST 'that directory'

But they were saved with the SAV '/*' omitting QSYS.LIB and QDLS.
Apparently when you save them that way you'd better restore the selected
directories with one, and only one RST command - unless you rewind your
tape.  The second restore failed until I rewound the tape.  I think what
happens is different levels of the directories are stored in different
areas of the tape.  For example if you save two directories, and they have
multiple sub directories I suspect the layout looks like:
/NOTES01
/QUALITY
/NOTES01/NOTES
/QUALITY/NOTES
/NOTES01/NOTES/DATA
/QUALITY/NOTES/DATA
...
And waiting for it to read through a 3580 tape and then rewinding it and
trying it again at 3 hours a tape - oh, and two tapes were filled - is not
a fun way to spend your weekend.

Dang, I was amazed at how many of us spend their Saturday nights on this
list.

Rob Berendt

==================
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.