The only sensible ways are:

1. Subroutines 
GOSUB n
n MV #1 "blah"
P
..
RSUB

2. Ext subroutines 
C has commands
[file someproc]

3. Execute something sensible like a paragraph and give up using ugly PROCs

Brian "Like PROC - ugly but works"



-----Original Message-----
    From: "Bob Woodward"<[EMAIL PROTECTED]>
    Sent: 11/01/06 17:34:49
    To: "U2-Users List"<[email protected]>
    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
    [email protected]
    To unsubscribe please visit http://listserver.u2ug.org/
    

[Message truncated. Tap Edit->Mark for Download to get remaining portion.]
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to