It's been a LONG time ....... I can remember writing a whole PL suite in
MDIS PROC (don't ask...)

I recall that in PQN procs you could have a construct such as

PQN
M
RI
IP:
IF %1 = 1]2]3]4]5 G 10]20]30]40]50 
T "Bad entry
G B
10 XTEN
20 XTWENTY
30 XTHIRTY
40 XFORTY
50 XFIFTY

Etc - or whatever (]=value marks by the way)

Otherwise

PQN
IF %1 # 5 G F
[USER.PL BASIC.PGM1]
[USER.PL BASIC.PGM2]
etc
M

BTW - I don't really like "G F" and "G B" - much prefer labels

I haven't tried this on UniVerse but I hope this helps..

Regards

JayJay

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward
Sent: 11 January 2006 17:35
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
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to