|
Boy, you hit a nerve with me. I've got this dusty old memory of being able to take over & use a device that hasn't been signed on. I wrote a quick example, which I'll include here as it is quite short. In order for this to work, you have to know the device ID you want to take over. For the sample, I used QPADEV0006. Substitute your own device ID. Now, when you run the program, the display you want to take over must not be signed on, or you will get an error. The example code sends the time to the display and updates every 15 seconds. One of the neat things about it is that the program can be submitted to batch & it will still work great. Source member called DSPF: A DSPSIZ(24 80 *DS3) A R SCR01 A INVITE A CA03(03 'Exit') A 23 3'F3=Exit' A DSPATR(HI) A 12 35TIME When you create the display file, you must set the DEV parm to your display device: DEV(QPADEV0006). For the example to work properly, also set WAITRCD(15). RPG program called RPG: FDSPF CF E WORKSTN F KNUM 1 F KID #DEV I 'QPADEV0006' C $DEV C* C MOVEL$DEV #DEV C** $DEV ACQ DSPF C* C *IN03 DOWEQ'0' C WRITESCR01 C READ DSPF 5051 C END C* C SETON LR Note that the device ID is also coded into the program on the 'I' specification. Change it as necessary for your situation. Regards, Rich ============================================ Rich Duzenbury http://rich.dyn.ml.org http://vpsolutions.com ============================================ > -----Original Message----- > From: owner-midrange-l@midrange.com > [mailto:owner-midrange-l@midrange.com]On Behalf Of mcrump@ballfoster.com > Sent: Wednesday, December 09, 1998 8:47 AM > To: midrange-l@midrange.com > Subject: Interactive Subsystem - Automatic Signon > > > We have a situation whereby we want to setup a terminal to be used in a > kiosk like function. We would like to have the terminal not be > required to > be signed on by any user. Is this possible? > > Here's what we want to do: > > We use Kronos for time keeping. Since we have eliminated time cards an > employee has no way to determine hours worked etc. We would > like to set up > a terminal for use for time card review. Assuming the terminal > is already > signed-on the only program running would be the time card review program. > The terminal will be using a card-key authorization with a PIN. I really > don't want to have this terminal to be signed-on on a regular basis. Is > there a way to allocate a terminal to a subsystem and not > require a userid > and password manually keyed in? > > Thanks > > Mike Crump > > > +--- > | 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.