Follow this procedure to write and test your TSO logon program:
Notice that if the program, as currently written, fails to find the search string, it tries again and again, because nothing stops it from returning to the USERID label when it does not find the string "ENTER USERID" on the screen. To prevent a possible endless loop, add a loop counter to stop the program when it fails to find the target string after three attempts. Use the counter in HELLO3 as a model. To see HELLO3, see A Program That Repeats a String.
Expand the program so that it takes you to the ISPF main menu after signing you on to TSO.
|
Copyright © 2013 CA.
All rights reserved.
|
|