|
There's an API for that, called, "Check Target Release" -- QSZCHKTG -- been available since V3R7 ... HTH, Mark S. Waterbury ----- Original Message ----- > From: "Dan" <dan27649@xxxxxxxxx> > To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx> > Sent: Friday, February 17, 2006 1:36 PM > Subject: Method to determine the earliest VRM source can be saved to? > > I am writing a quickie app to backup source files with the intent that they > should be able to be restored to the earliest version possible. In essence, > I'd like the TGTRLS parameter to allow an *EARLIEST or *OLDEST value. > > It's true, while I'm on V5R2, I know what the earliest release TGTRLS will > accept. But I would rather not have to modify the program for each release > upgrade we go through. > > Best I can figure is to write a quickie command that will create a savefile > and an object to save in QTEMP, use SAVOBJ on that, starting at the earliest > release (say, start at V4R1, just for proof of concept), using MONMSG to > catch an invalid value for TGTRLS and looping up to try another. Repeat > until find a valid VRM. > > Is there a better way to make this determination? > > TIA, > Dan > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. >
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.