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



Joe Pluta wrote:

I agree, Rob.  In fact, I just did it.  The nice thing is that it includes
third party licenses as well, so you have one simple sheet for all of it.
Not only that, but there is an option to dump everything to a license key
file for backup.

As part of our daily backup, I run a program, GETSYSINF, that does a RTVSYSINF into a library that then immediately gets backed up.


I just added a DSPLICKEY statement at the end to add license information to the same library.

This is the code:

/* GET KEY SYSTEM INFORMATION INTO A LIBRARY */
/* MUST BE OWNED BY QSECOFR AND USRPRF(*OWNER) */

PGM

             DCL        VAR(&LIB) TYPE(*CHAR) LEN(10) +
                          VALUE('SYSTEMINFO') /* Library to contain +
                          system info */

             CLRLIB     LIB(&LIB)
             MONMSG     MSGID(CPF0000) EXEC(DO)
             CRTLIB     LIB(&LIB) TEXT('Output of RTVSYSINF (Key +
                          system information)')
             ENDDO

RTVSYSINF LIB(&LIB)

DSPLICKEY OUTPUT(*LICKEYFILE) LICKEYFILE(&LIB/LICKEYINFO)

ENDPGM

--
Jeff Crosby
Dilgard Frozen Foods, Inc.
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531

The opinions expressed are my own and not necessarily
the opinion of my company.  Unless I say so.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.