|
I managed to trash the original note from Walden Leverich but .... You could run CPYF over the tape and force the copy to omit all data. For example CPYF FROMFILE(QSYSTAP) TOFILE(*PRINT) INCCHAR(*RCD 1 *LT X'00') A single page of spooled file will be generated but no data actually copied. You need to use CPYF rather than CPYFRMTAP because the INCCHAR keyword is not supported on CPYFRMTAP. That causes other problems because you then need to override the tape file to point to the correct tape drive, etc. You may also need to experiment with the blocking factors used but since most installation tapes are in SAV/RST format the following will work. OVRTAPF FILE(QSYSTAP) DEV(&DEV) VOL(*NONE) + REELS(*SL) SEQNBR(&SEQNBR) RCDLEN(*CALC) + BLKLEN(32760) RCDBLKFMT(*U) ENDOPT(&ENDOPT) You can use the DEV field to specify the tape device, the SEQNBR field to limit the files checked, and the ENDOPT field to control tape handling. I have a utility (VFYSAVTAP) which performs this check -- let me know if you'd like a copy. Note that this will not verify the data, only that each byte of the tape is readable -- no media errors. I also believe a similar tool was provided in QUSRTOOL (but I think it used a different technique). Regards, Simon Coulter. //---------------------------------------------------------- // FlyByNight Software // AS/400 Technical Specialists // Phone: +61 3 9419 0175 // Fax: +61 3 9419 0175 // Mob: +61 3 0411 091 400 // Email: shc@flybynight.com.au +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.