View Full Version : WSG exit pt pgm. Bypass needed.
Guest.Visitor
01-01-1995, 02:00 AM
Hi all, I have written a WSG exit pt pgm (using the redbooks). Need to call a program directly bypassing the signon screen. Works fine when i have a single session. When i open a second session i get a Display Program Message screen - message queue already allocated etc...., the one we seen after the first sign on, i need to get to my application program screen directly........ any idea how i can do this... thankx in advance.... nitin
B.Myrick
05-17-2000, 09:17 AM
Nitin, Have not done this before, but can you monitor for a CPF or other messages in your command? If so, monmsg msgid(whater_error_msg_occurs) exec(whatever) and bypass the error. Hope this helps, Bret Myrick
D.Handy
05-17-2000, 09:17 AM
Nitin, <font color=blue>any idea how i can do this...</font> You could change the user profile's message queue delivery to *HOLD, e.g. CHGUSRPRF xyz DLVRY(*HOLD), so that the message queue does not get allocated to any session (including the first). This alleviates the screen you wish to suppress, but at the expense of not even getting the message waiting indicator on any session for messages sent to the user's MSGQ. Doug
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.