Re: [U2] Proc question

2012-05-10 Thread John Jenkins
...@listserver.u2ug.org] On Behalf Of Kebbon Irwin Sent: Wednesday, May 09, 2012 11:05 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Proc question Hi Ed,I am pretty sure that PQN procs are supported in Unidata, I have never used them or seen a manual for them. Like you I have not found anything

Re: [U2] Proc question

2012-05-10 Thread David L. Wasylenko
. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Jenkins Sent: Thursday, May 10, 2012 4:48 PM To: U2 Users List Cc: U2 Users List Subject: Re: [U2] Proc question I use PQN PROCs regularly, including indirect buffer

Re: [U2] Proc question

2012-05-09 Thread Kebbon Irwin
+1200 Subject: Re: [U2] Proc question Hi Kebbon, I don't like Procs, but * Set the primary input buffer as active SP * Activate the primary output buffer STOFF * Alternatively, clear both output buffers and make the primary the active one RO * Set the input buffer pointer

Re: [U2] Proc question

2012-05-09 Thread Kebbon Irwin
@listserver.u2ug.org Subject: Re: [U2] Proc question On May 7, 2012, at 4:45 PM, Kebbon Irwin wrote: Anyone know/remember how to do this:I have a string in my input buffer XX*YYYNNI want to place just YYYNN in my output bufferI feel I should be able to do this without writing my own user mode

Re: [U2] Proc question

2012-05-09 Thread Brenda Ives
] On Behalf Of Kebbon Irwin Sent: Wednesday, May 09, 2012 11:05 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Proc question Hi Ed,I am pretty sure that PQN procs are supported in Unidata, I have never used them or seen a manual for them. Like you I have not found anything in the udtdocs

Re: [U2] Proc question

2012-05-09 Thread Laura Wright
...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brenda Ives Sent: Wednesday, May 09, 2012 11:23 AM To: 'U2 Users List' Subject: Re: [U2] Proc question Guide to ProVerb - UniVerse proc documentation. Brenda L Ives UniVerse Team Lead Rapid Response Team marketamerica.com

Re: [U2] Proc question

2012-05-09 Thread Ed Clark
Of Kebbon Irwin Sent: Wednesday, May 09, 2012 11:05 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Proc question Hi Ed,I am pretty sure that PQN procs are supported in Unidata, I have never used them or seen a manual for them. Like you I have not found anything in the udtdocs

Re: [U2] Proc question

2012-05-09 Thread Robert Houben
:28 PM To: U2 Users List Subject: Re: [U2] Proc question PQN procs are supported in unidata for sure. Just wasn't sure if the conversions on the MV command work there. You can use the universe proverb documentation as a starting point for working with procs in unidata, but there are a lot

Re: [U2] Proc question

2012-05-08 Thread Keith Johnson [DATACOM]
Hi Kebbon, I don't like Procs, but * Set the primary input buffer as active SP * Activate the primary output buffer STOFF * Alternatively, clear both output buffers and make the primary the active one RO * Set the input buffer pointer to the first (or whatever) parameter S1 * Move a

[U2] Proc question

2012-05-07 Thread Kebbon Irwin
Anyone know/remember how to do this:I have a string in my input buffer XX*YYYNNI want to place just YYYNN in my output bufferI feel I should be able to do this without writing my own user mode or a program that does a procread/procwriteThanks,Kebbon Unidata 7.1 Ecltype P

Re: [U2] Proc question

2012-05-07 Thread Ed Clark
On May 7, 2012, at 4:45 PM, Kebbon Irwin wrote: Anyone know/remember how to do this:I have a string in my input buffer XX*YYYNNI want to place just YYYNN in my output bufferI feel I should be able to do this without writing my own user mode or a program that does a

Re: [U2] PROC question

2006-01-26 Thread Mark Johnson
Look for any PROCREAD or PROCWRITE statements as well in the programs. - Original Message - From: John Hester [EMAIL PROTECTED] To: u2-users@listserver.u2ug.org Sent: Wednesday, January 25, 2006 4:41 PM Subject: Re: [U2] PROC question Bob Woodward wrote: Maybe I'm just missing

RE: [U2] PROC question

2006-01-26 Thread Glenn Herbert
PQ 10 C Top of Main Menu RI RO OA number of lines that display the available menu choices ... OEnter choice + IP: IF # A X IF A = 1 GO 100 ... IF A = 99 GO 990 You might as well use the multi-valued IF/GO, ie. IF A = 1]...]99 GO 100]...]990 Where ] is a value-mark character. Then

[U2] PROC question

2006-01-25 Thread Bob Woodward
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

RE: [U2] PROC question

2006-01-25 Thread Baker Hughes
Bob, This is from memory, so I trust someone will affirm/correct my prognosis, but isn't the PIB (primary input buffer) cleared when you execute the program. So when you return, A (or answer, A1 assumed) is now null? -Baker My problem is when I come back from one of the PROGxx.PROC's, I'm not

RE: [U2] PROC question

2006-01-25 Thread Pingilley, Ron
: Wednesday, January 25, 2006 1:54 PM To: U2-Users List Subject: [U2] PROC question Hi folks, 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. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe

Re: [U2] PROC question

2006-01-25 Thread Dianne Ackerman
Something in the far reaches of my mind tells me that you need to do something like use a left paren instead of a bracket, like IF A = 1 (PROD.PL PROG1.PROC Can't try it right now to verify, though, sorry! -Dianne Bob Woodward wrote: Hi folks, Maybe I'm just missing the finer points of

Re: [U2] PROC question

2006-01-25 Thread Glenn Herbert
If this is for universe, the problem here stems from the fact that your [PROD.xx procs are stomping all over the buffers of the main menu proc. There's not really much you can do about that, but you could modify your main proc slightly as follows: 0001: PQ 002 F-OPEN 1 VOC 003 XNO VOC 004 10 C

RE: [U2] PROC question

2006-01-25 Thread Mark Eastwood
:54 PM 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

Re: [U2] PROC question

2006-01-25 Thread Susan Lynch
Woodward [EMAIL PROTECTED] To: U2-Users List u2-users@listserver.u2ug.org Sent: Wednesday, January 25, 2006 2:54 PM 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

RE: [U2] PROC question

2006-01-25 Thread Glenn Herbert
[EMAIL PROTECTED] wrote on 01/25/2006 04:10:18 PM: 2) Are any of the PROGxx.PROC doing an RI? This will clear the input buffer. Doesn't matter. The simple fact of using '[' to initiate the subroutine PROC was enough to cause the automatic clearing of the buffers. And using '(' will cause

Re: [U2] PROC question

2006-01-25 Thread John Hester
Bob Woodward wrote: 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 ...

RE: [U2] PROC question

2006-01-25 Thread Bob Woodward
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

RE: [U2] PROC question

2006-01-25 Thread Bill Haskett
, January 25, 2006 1:01 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] PROC question If this is for universe, the problem here stems from the fact that your [PROD.xx procs are stomping all over the buffers of the main menu proc. There's not really much you can do about that, but you

Re: [U2] PROC Question

2006-01-12 Thread Mark Johnson
, 2006 1:35 PM Subject: RE: [U2] PROC Question Bob: I used to be pretty proficient in PROC and have never heard of this...but that doesn't mean it doesn't exist. :-) Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent

Re: [U2] PROC Question

2006-01-12 Thread Mark Johnson
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

RE: [U2] PROC Question

2006-01-12 Thread Tony Gravagno
Bob Woodward wrote: What I want to be able to do is: IF A = 5 [USER.PL BASIC.PGM1];[USER.PL BASIC.PGM2];G 10 In RPL the subvalue mark is used to accomplish this: IF A = 5 [USER.PL BASIC.PGM1]\[USER.PL BASIC.PGM2]\G 10 Use ctrl-\ for the subvalue mark. I'm positive that we can do GS 10\GS

RE: [U2] PROC Question

2006-01-12 Thread Bob Woodward
@listserver.u2ug.org Subject: RE: [U2] PROC Question Bob Woodward wrote: What I want to be able to do is: IF A = 5 [USER.PL BASIC.PGM1];[USER.PL BASIC.PGM2];G 10 In RPL the subvalue mark is used to accomplish this: IF A = 5 [USER.PL BASIC.PGM1]\[USER.PL BASIC.PGM2]\G 10 Use ctrl-\ for the subvalue mark

[U2] PROC Question

2006-01-11 Thread Bob Woodward
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

Re: [U2] PROC Question

2006-01-11 Thread Glenn Herbert
] Sent by: [EMAIL PROTECTED] 01/11/2006 12:34 PM Please respond to u2-users To U2-Users List u2-users@listserver.u2ug.org cc 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

RE: [U2] PROC Question

2006-01-11 Thread Mark Eastwood
Maybe something like this? IF A = 5 G 500 ... 500 C [USER.PL BASIC1 [USER.PL BASIC2 G 10 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: Wednesday, January 11, 2006 10:35 AM To: U2-Users List Subject: [U2] PROC Question Hi folks, I

RE: [U2] PROC Question

2006-01-11 Thread Paul Sohn
BASIC.PGM2 P GO 5 300 C Command Command Command GO 5 -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

RE: [U2] PROC Question

2006-01-11 Thread Brian Leach
PROTECTED] Sent: 11/01/06 17:34:49 To: U2-Users Listu2-users@listserver.u2ug.org 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

RE: [U2] PROC Question

2006-01-11 Thread u2
Wouldn't you rather just rewrite the proc in basic? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: Wednesday, January 11, 2006 12:35 PM To: U2-Users List Subject: [U2] PROC Question Hi folks, I can't find anything

RE: [U2] PROC Question

2006-01-11 Thread Bob Woodward
: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

RE: [U2] PROC Question

2006-01-11 Thread John Jenkins
:[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

RE: [U2] PROC Question

2006-01-11 Thread Bruce Nichol
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