The following KEY and ENTER commands work together to enter your user ID and password or password phrase in the same way you would if you were manually signing on to TSO:
KEY '&USERID' ENTER KEY '&PSWD' or '&PWPH' ENTER
The first KEY statement types your user ID on the screen. The ENTER statement on the next line simulates pressing the Enter key from the keyboard. The next two lines enter your password or password phrase in the same way. If you run this program, you will notice that the user ID is displayed on the screen while the password or password phrase is not, just as if you were entering the data manually.
|
Copyright © 2013 CA.
All rights reserved.
|
|