One final oft-seen PROC thing. You can have a PROC that has statement labels within have those statement sections referenced individually from the outside.
Example PROX AAA PQN 100 T "HERE AT 100" X 200 T "HERE AT 200" X 300 T "HERE AT 300" X and have calling PROCS likewise: [PROX AAA] 100 (some other proc statements) [PROX AAA] 200 (some other proc statements [PROC AAA] 300 So it's like haveing a library of SUBs in one place. My 1 cent. Mark Johnson ----- Original Message ----- From: "Bob Woodward" <[EMAIL PROTECTED]> To: <u2-users@listserver.u2ug.org> Sent: Wednesday, January 11, 2006 2:50 PM Subject: RE: [U2] PROC Question > Thanks, everyone. I got exactly the answer I was afraid I would get. > Yes, my mind is fried... <heavy sigh> > > Because of system programming standards, I need to stay with a PROC but > I was hoping to be able to streamline them a little bit. > > I appreciate the answers everyone offered, including the ones to quit > using PROC's (and the thought has crossed my mind a number of times) but > for the most part, we keep the PROC's pretty simple. > > Again, thanks. > > BobW > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward > Sent: Wednesday, January 11, 2006 9:35 AM > To: U2-Users List > Subject: [U2] PROC Question > > Hi folks, > > I can't find anything in the IBM Doc's for ProVerb's that tells me how > to create an entry that will allow me to put multiple commands on a > single line. In a nutshell, from a "menu" when a user selects an > option, I want to be able to execute multiple commands. > > Currently, I use multiple lines such as: > IF A = 5 [USER.PL BASIC.PGM1 > IF A = 5 [USER.PL BASIC.PGM2 > IF A = 5 G 10 > > What I want to be able to do is: > IF A = 5 [USER.PL BASIC.PGM1];[USER.PL BASIC.PGM2];G 10 > > Is my mind fried? Maybe... But is there something that will work? > > 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/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/