ACL/E programs are most commonly used to automatically sign CA TPX users on to their application sessions. A program that signs you on to TSO is shown below. This program automates the steps you would take during a manual signon, such as checking to make sure you are at the TSO user ID prompt, typing your user ID and password or password phrase, and pressing the Enter key.
*** This program logs a user on to TSO ***
**
OPTION TERM,ON Display input and output.
WINP Wait for TSO to speak.
**
USERID SEARCH 'ENTER USERID' Look for prompt
BRANCH NE,AGAIN If no prompt, go to AGAIN.
KEY '&USERID' Enter user ID...
ENTER ...and send it to TSO.
KEY '&PSWD' or '&PWPH' Enter password.or password.phrase.
ENTER ...and send it to TSO.
BRANCH ANY,DONE Go to DONE no matter what.
**
AGAIN ENTER Try again.
BRANCH ANY,USERID Go to USERID.
**
DONE STOP All done.
|
Copyright © 2013 CA.
All rights reserved.
|
|