Iam facing an issue regarding TSQ. There is a password screen in which user id and password will be entered and it will be loaded in TSQ and then allow to next screen/application for modification of records. When iam in next application/screen(Modification) any abends (ASR* or AS* series) will occur i need to delete TSQ .Please let me know how to handle this . Now the problem for me is when user again initiate the transaction it is directly routed to Modification screen instead of throwing the password screen.
Joined: 06 Jun 2008 Posts: 8055 Location: East Dubuque, Illinois, USA
Don't store the password in a TSQ -- use DFHCOMMAREA instead. An abend means exactly what it says -- ABnormal END. Your transaction does not get any chance to clean up TSQ (or anything else) since it has ended and is no longer executing.