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

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 language documentation

2011-03-15 Thread Glorfield, Gordon
P.S. We are a Unidata shop. If that makes any difference. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Glorfield, Gordon Sent: Tuesday, March 15, 2011 11:57 AM To: 'U2 Users List' Subject: [U2] PROC language

Re: [U2] PROC language documentation

2011-03-15 Thread Robert Houben
, Gordon Sent: Tuesday, March 15, 2011 9:03 AM To: 'U2 Users List' Subject: Re: [U2] PROC language documentation P.S. We are a Unidata shop. If that makes any difference. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf

Re: [U2] PROC language documentation

2011-03-15 Thread Brian Leach
FWFW the proVerb guide is part of the UniVerse documentation set, you can download this from the rocket website if you don't have it to hand.. .. oh, and the free mvDeveloper has syntax highlighting for PROC .. talk about a clash of worlds :) Brian -Original Message- From:

Re: [U2] PROC language documentation

2011-03-15 Thread Clive Hills
And there's some on bitsavers.org/pdfs/microdata. Clive ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] PROC language documentation

2011-03-15 Thread Glorfield, Gordon
their documents in PDF form and you can download the parts that you need. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach Sent: Tuesday, March 15, 2011 1:31 PM To: 'U2 Users List' Subject: Re: [U2] PROC

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

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
Bob, Does the called PROC have an RI in it by any chance? That would clear the input buffers and leave nothing for the original PROC to use in the IF A statement. --Ron P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent:

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
Two thoughts, 1) Change the IF A = to IF A1 =, i.e. specify the input buffer. 2) Are any of the PROGxx.PROC doing an RI? This will clear the input buffer. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward Sent: Wednesday, January 25, 2006

Re: [U2] PROC question

2006-01-25 Thread Susan Lynch
Bob, If A1 gets overwritten in PROD.PL PROG1.PROC, then it won't be 1 when you come back to the menu proc. Are you being careful to preserve the value in A1 when you are in the called proc? Susan M. Lynch F.W. Davison Company, Inc. (781) 340-9255Support fax # (508) 437-0093

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
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

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

Re: [U2] PROC Question

2006-01-11 Thread Glenn Herbert
That type of functionality is not possible (unless PROC has been modified since I worked in it) - that's the reason you can't find anything in the documentation. You have a choice of doing it the way you are, or using GOSUB/GOTO to define the multiple lines as a subroutine.

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
Why not form GO TO blocks? Example: 5 C Print Menu T C O MENU 10 C Input Menu Option IP IF A = 1 GO 100 IF A = 2 GO 200 IF A = 3 GO 300 GO 10 100 C First menu Option HRUN USER.PL BASIC.PGM1 P HRUN USER.PL BASIC.PGM2 P GO 5 200 C Second Menu Option HRUN USER.PL BASIC.PGM4 P HRUN USER.PL

RE: [U2] PROC Question

2006-01-11 Thread Brian Leach
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

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 in the

RE: [U2] PROC Question

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

RE: [U2] PROC Question

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

RE: [U2] PROC Question

2006-01-11 Thread Bruce Nichol
Goo'day, Jay Jay and . At 22:29 11/01/06 +, you wrote: 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 That's the MDIS

RE: [U2] Proc

2004-06-27 Thread Tom Dodds
Of Mark Johnson Sent: Saturday, June 26, 2004 9:17 AM To: [EMAIL PROTECTED] Subject: Re: [U2] Proc Batch didn't make the cut from native to D3 conversions. I wonder if it's present on U2. - Original Message - From: Tom Dodds [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 25, 2004

Re: [U2] Proc

2004-06-26 Thread Mark Johnson
Being a PROCtologist, I'd like to know the Pr1me specific oddities. Thanks. - Original Message - From: Glenn Herbert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 25, 2004 9:18 AM Subject: RE: [U2] Proc Thanks for the offer, but I noticed that some of it needs judicious

RE: [U2] Proc

2004-06-26 Thread Roger Glenfield
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Johnson Sent: Saturday, June 26, 2004 10:17 AM To: [EMAIL PROTECTED] Subject: Re: [U2] Proc Batch didn't make the cut from native to D3 conversions. I wonder if it's present on U2. - Original

RE: [U2] Proc

2004-06-25 Thread Glenn Herbert
Yes. I will forward it to the wiki once I get it done. At 08:11 PM 6/23/2004, you wrote: Steve Mayo wrote: Thank you all for the linksand to think I thought proc was dead and gone ;-) I found one more: http://www.mindspring.com/~tpackert/pguide.htm And archived all the links on the Wiki for

RE: [U2] Proc

2004-06-25 Thread Tom Dodds
, 2004 10:13 AM To: [EMAIL PROTECTED] Subject: RE: [U2] Proc There are some of us who learned proc before Pick/Basic even, back when Microdata had the ability to open, read and write to files from within procs! I don't miss *those* good ol' days! Lyn Marshall J B Group, Inc. -Original Message

RE: [U2] Proc

2004-06-25 Thread Nick Cipollina
That ability is still there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lyn Marshall Sent: Friday, June 25, 2004 11:13 AM To: [EMAIL PROTECTED] Subject: RE: [U2] Proc There are some of us who learned proc before Pick/Basic even, back when Microdata

Re: [U2] Proc

2004-06-24 Thread Brian Leach
Would you believe it, I was actually training a client yesterday in PROC (they have a new support team for an old application). It's the first time I have taught it in at least 10 years ... and the I log in and see all these postings today! Funny old world. Brian

RE: [U2] Proc

2004-06-23 Thread Peter Olson
there on the u2 website or i have one email me off line. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steve Mayo Sent: Wednesday, June 23, 2004 4:43 AM To: [EMAIL PROTECTED] Subject: [U2] Proc I know it's a dirty word, but I am in the need of a

RE: [U2] Proc

2004-06-23 Thread Thomas Derwin
Message- From: Glenn Herbert [mailto:[EMAIL PROTECTED] Sent: Wed 6/23/2004 11:58 AM To: [EMAIL PROTECTED] Cc: Subject: Re: [U2] Proc If you need a generic PROC manual for PICK, look here: http

Re: [U2] Proc

2004-06-23 Thread Susan Lynch
Steve, Try http://www-306.ibm.com/software/data/u2/pubs/library/100univ/univ_101.html for the UniVerse Guide to ProVerb, Version 10.1 (G251-1922-00), which is a reasonably complete Proc manual - IBM calls it ProVerb rather than Proc! Susan M. Lynch F.W. Davison Company, Inc. CONFIDENTIALITY

RE: [U2] Proc

2004-06-23 Thread Glenn Herbert
At 12:31 PM 6/23/2004, you wrote: ... Maybe it got that reputation for lack of a good tutorial. Funny thing is I still have in my possession an 18 page PROC tutorial I wrote back in 1986-87 time frame that guides the reader through all the various commands and features to build a functioning

Re: [U2] Proc

2004-06-23 Thread Steve Mayo
Thank you all for the linksand to think I thought proc was dead and gone ;-) Steve, Try http://www-306.ibm.com/software/data/u2/pubs/library/100univ/univ_101.html for the UniVerse Guide to ProVerb, Version 10.1 (G251-1922-00), which is a reasonably complete Proc manual - IBM calls it

RE: [U2] Proc

2004-06-23 Thread Tom Dodds
of a dog, a book is man's best friend. Inside of a dog it's too dark to read. Groucho Marx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Mayo Sent: Wednesday, June 23, 2004 7:29 AM To: [EMAIL PROTECTED] Subject: Re: [U2] Proc Thank you all

Re: [U2] Proc

2004-06-23 Thread Scott Richardson
- Original Message - From: Glenn Herbert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 1:19 PM Subject: RE: [U2] Proc At 12:31 PM 6/23/2004, you wrote: ... Maybe it got that reputation for lack of a good tutorial. Funny thing is I still have in my possession an 18 page

RE: [U2] Proc

2004-06-23 Thread Bill H.
PROTECTED] Subject: RE: [U2] Proc At 12:31 PM 6/23/2004, you wrote: ... Maybe it got that reputation for lack of a good tutorial. Funny thing is I still have in my possession an 18 page PROC tutorial I wrote back in 1986-87 time frame that guides the reader through all the various commands