× 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.


  • Subject: RE:Verifying installation tape
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Sat, 31 Jan 98 01:28:55 +1100

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 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.