disable keyboard

Discuss about all tools related to Mainframes but usable in a PC/Computer like Mainframe Simulators, Emulators, Abend Assist etc...
CLoprinzo
Posts: 2
Joined: Fri Sep 19, 2014 7:02 pm
Skillset: very limited... we use a POS system in our stores and extract the data into SQL server
Referer: searching web for rexx question

disable keyboard

Postby CLoprinzo » Fri Sep 19, 2014 7:07 pm

Is there a way to disable the keyboard using a login script?

We are new to REXX and need help. We are creating a script to automatically log a user in based on their location and would like to disable the keyboard so a user cannot break the script by pressing a key and changing the input values.

Anyone know if this is possible?

enrico-sorichetti
Global moderator
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
Referer: www.ibmmainframes.com

Re: disable keyboard

Postby enrico-sorichetti » Fri Sep 19, 2014 7:39 pm

did You consider that when the rexx runs the user is already logged on ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

User avatar
prino
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
Referer: Google
Location: Vilnius, Lithuania
Contact:

Re: disable keyboard

Postby prino » Fri Sep 19, 2014 9:44 pm

Code: Select all

/* REXX */
say 'Please unplug your keyboard now'

rest of login script...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy

steve-myers
Global moderator
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Skillset: Assembler, JCL, utilities
Referer: zos.efglobe.com

Re: disable keyboard

Postby steve-myers » Fri Sep 19, 2014 10:01 pm

Actually, I suspect the topic starter wants to auto start a session using the terminal emulator. He should consult the terminal emulator's program documentation for more realistic information.

CLoprinzo
Posts: 2
Joined: Fri Sep 19, 2014 7:02 pm
Skillset: very limited... we use a POS system in our stores and extract the data into SQL server
Referer: searching web for rexx question

Re: disable keyboard

Postby CLoprinzo » Fri Sep 19, 2014 10:05 pm

It is an auto log in process and the I found the code I was looking for was Keyboard("Lock"), well at least in the emulator version I am using. Thanks!

NicC
Global moderator
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
Referer: Google
Location: Pushing up the daisies (almost)

Re: disable keyboard

Postby NicC » Sat Sep 20, 2014 4:35 am

No such keyword in Clist or Rexx so I suppose it must be an emulator script. Moving to the Emulator section.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic