|
In case your *VRT devices get their model types recycled so that you won't always know what type the device will be from one session to the next, you can use the the API QDCRDEVD to get the device type from the device description. Here are some CL program statements from a program which uses this API. DCL &DEVDATA *CHAR 1000 DCL &DEVDATAL *CHAR 4 X'000003E8' DCL &FORMAT *CHAR 8 'DEVD0600' DCL &DEVICE *CHAR 10 DCL &MODEL *CHAR 10 DCL &ERROR *CHAR 116 . . . CALL PGM(QDCRDEVD) PARM(&DEVDATA &DEVDATAL &FORMAT &DEVICE &ERROR) . . CHGVAR &DEVTYPE (%SST(&DEVDATA 175 10)) CHGVAR &MODEL (%SST(&DEVDATA 185 10)) Guy Murphy University of Illinois FACTS system 217-333-8670 murphyfa@uiuc.edu -----Original Message----- From: Shannon O'Donnell [mailto:ORION@auburnctnet.com] Sent: Tuesday, March 23, 1999 3:39 PM To: Midrange-L Subject: Inactivity Timer I have some devices (3197, model C2, *VRT) that I want to have maintain an active session. The problem is that the System Value QINACTITV is set to a specific value (120 minutes), so when these devices have gone for 2 hours without activity, they are recycled, the current job on them is ended and a new session is started. So...can anyone think of some creative ways of keeping these devices active, without changing the system value? +--- | 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 +--- +--- | 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-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.