As always, the top quality abilities of the folks on this list keep me in awe.
My major flaw was in the assumption that PROC processing is like PROGRAM processing. I now know that there is only one set of buffers, period. Next were the good suggestions on how to properly accomplish what I was wanting. John's method, I think, is going to be easier to maintain down the road, especially since I'm only working with PROC's once in awhile. Thanks for your input, Glenn, as it cleared up a couple questions I had from reading the documentation. I appreciate everyone else's input, too. You're a great bunch of folks! Thanks, BobW -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: Wednesday, January 25, 2006 11:54 AM To: U2-Users List Subject: [U2] PROC question Hi folks, Maybe I'm just missing the finer points of PROC processing. I've got a MENU proc that's structured like this: PQ 10 C Top of Main Menu OA number of lines that display the available menu choices ... OEnter choice + IP: IF # A X IF A = 1 [PROD.PL PROG1.PROC IF A = 1 G 10 ... IF A = 99 [PROD.PL PROG99.PROC IF A = 99 G 10 O O That is not a valid menu choice. O PRESS [ENTER] + IP G 10 My problem is when I come back from one of the PROGxx.PROC's, I'm not getting the menu choice value back to execute the G 10 command. Instead it displays the error message at the bottom. The PROGxx.PROC is structured like this: PQ 10 C Top of this PROC Ha number of things stuffed into the output buffer P Hmore things happen in the output buffer P RTN P 999 C should never get past this point OI never see this message X Now keep in mind that I've trimmed down the PROC's to keep this message fairly short. Everything is working as expected EXCEPT the falling through on the MAIN.MENU.PROC into the invalid menu choice message. Anyone have any insight to my problem? TIA BobW ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/