|
Hello Howard, As the information you supplied states, you need to read the Chapter on Backup and Recovery APIs in the System API Manual (SPIR). Create a program (language of choice) that accepts the four parameters described in the SPIR. Add this program to the registration exit point described --QIBM_QTA_TAPE_TMS -- use the WRKREGINF (? hey, it's 1:00 am here, give me a break!) command for this. The primary intent of this API is for tape library programs to log SAV/RST information. You will need to play with it a bit to see if you can get control when you need to. Regards, Simon Coulter. //---------------------------------------------------------- // FlyByNight Software AS/400 Technical Specialists // Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 // Fax: +61 3 9419 0175 E-mail: shc@flybynight.com.au // // Windoze should not be open at Warp speed. //--- forwarded letter ------------------------------------------------------- > X-Mailer: Internet Mail Service (5.5.1960.3) > Date: Thu, 31 Dec 98 13:14:25 -0500 > From: "Weatherly, Howard" <hweatherly@dlsc.dla.mil> > To: "'Midrange-L'" <midrange-l@midrange.com> > Reply-To: MIDRANGE-L@midrange.com > Subject: Tape Management Exit Program > > I am not sure I know what to ask for here so I will just explain what > I need to do. > > I need to create an exit program to intercept information from tape > opens and closes. > > In INFOSEEKER I found the following, but I believe I'm too brain dead > to figure out how to implement the exit program. I also found some > vague references to registration of exit programs, but no samples.... > And what I found in the System API Programming book was of no help. > > Has anyone implemented any exit programs that could shed some light on > this "why would anyone want to that?" topic? The specific need is for > a Tape Management System. > > Display Spooled File > > File . . . . . : QPBKIPRTF Page/Line 1/7 > > Control . . . . . Columns 1 - > 78 > Find . . . . . . > > > AS/400 Advanced Series: Tape and Diskette Device Programming > > © Copyright IBM Corp. 1997 > > > 2.8 Tape Management Systems (TMS) > > > Media and Storage Extensions (MSE) optional feature of OS/400 > allows a > user to write a tape management system, or purchase a tape > management > application from a provider. OS/400 recommends a product called > Backup > Recovery Media Services (BRMS/400). A tape management system is > provided > with exits through normal OS/400 tape processing. These exits > allow a tape > management system the ability to track tape volumes, protect tape > volumes, > provide scratch media, and an abundance of other features. > Applications > such as BRMS/400 can be purchased. The users can also use simple > tape > management systems to take advantage of one or many features > provided > through the MSE option. See the Tape Management Exit Program in > the System > API Programming for more information. > > > > > ______________________________________________________________________ > ___ > Howard Weatherly > > hweatherly@dlis.dla.mil > howard.weatherly@ctg.com > hweath@ibm.net +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@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.