RE: [U2] INCLUDE weirdo

2008-03-10 Thread Tim Stokes
I would not say pre-historic. Those items mentioned are not that far removed. Remember how quickly vinyl left the shelves when CDs came into being. >>You do realize that you are showing U2 to be a sport of the pre-historic? / --- u2-users mailing list u2-users@listserver.u2ug.org To unsubsc

RE: [U2] INCLUDE weirdo

2008-03-10 Thread Charles_Shaffer
ECTED]> Sent by: [EMAIL PROTECTED] 03/08/2008 03:21 AM Please respond to u2-users To: cc: Subject:RE: [U2] INCLUDE weirdo You do realise that you are showing U2 to be a sport of the pre-historic? >>My first experience with computers was paper

RE: [U2] INCLUDE weirdo

2008-03-08 Thread Dennis Bartlett
You do realise that you are showing U2 to be a sport of the pre-historic? >>My first experience with computers was paper tape. >>Version control was performed with a pencil on the leader of the tape. >>How many remember punch cards. >>How about a half a day turnaround to see if your program co

RE: [U2] INCLUDE weirdo

2008-03-07 Thread David Murray
Of Tim Stokes Sent: Friday, March 07, 2008 3:47 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] INCLUDE weirdo We must remember that programming and computers in general has changed much since the beginning. How many remember punch cards. Can programmers today relate to a time when

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Norman Morgan
> We must remember that programming and computers in general > has changed much since the beginning. > > How many remember punch cards. > Can programmers today relate to a time when programmers submitted > their code to be placed on punched cards? Sure can. I usually had to do my own keypunching

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Jerry Banker
ubject: RE: [U2] INCLUDE weirdo > > We must remember that programming and computers in general has changed > much since the beginning. > How many remember punch cards. > > Can programmers today relate to a time when programmers submitted there > code to be placed on punche

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Tim Stokes
We must remember that programming and computers in general has changed much since the beginning. How many remember punch cards. Can programmers today relate to a time when programmers submitted there code to be placed on punched cards? How about a half a day turnaround to see if your program co

Re: [U2] INCLUDE weirdo

2008-03-07 Thread Rex Gozar
Jerry, Doing this kind of stuff doesn't take a lot of time; *learning* what to do and how to do it takes a whole lot more. Your programmers have probably already lost more productive hours than it takes to clean the trash up. You'll also spot bugs a whole lot faster, furthering your product

Re: [U2] INCLUDE weirdo

2008-03-07 Thread Louie Bergsagel
With more than 25 years in IT, this is what I have learned: *People remember quick for a day; they remember dirty forever.* - When I talked to a former CIO about quality and documentation, he said management expects best practices, and it is up to us programmers to deliver them. -

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Brian Leach
> All I can say is, you must have a lot of free time. I'm reminded of the old saying - if you want something doing, ask the busiest person. Brian --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Jerry Banker
ROTECTED] > Sent: Friday, March 07, 2008 8:16 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] INCLUDE weirdo > > Dennis, > > I've started to document the steps I've taken to cleanup bad code. You > or anyone else interested can read them at: > > ht

Re: [U2] INCLUDE weirdo

2008-03-07 Thread Rex Gozar
Dennis, I've started to document the steps I've taken to cleanup bad code. You or anyone else interested can read them at: http://www.pickwiki.com/cgi-bin/wiki.pl?Project_Cleansweep I'm not done since there is a lot to cover. I hope to add more over the next few weeks. rex Dennis Bartle

RE: [U2] INCLUDE weirdo

2008-03-07 Thread Dennis Bartlett
Welll I use Notepad++ to edit, on a LIVE system, making every error instantly visible in 11 branches across a 300km range... yes, of course I'm using version control, its called "panic 101", aka The Fire Station... Rex Gozar WROTE: >You ARE using source code control tools (i.e. not home gr

Re: [U2] INCLUDE weirdo

2008-03-06 Thread Kevin King
While I believe there's ample blame to go around, it remains up to each person to choose how they approach the obstacles of this profession. As a consultant I am periodically assigned to tasks where cutting a few corners might be the only way to achieve the improbable objective on the impossible t

Re: [U2] INCLUDE weirdo

2008-03-06 Thread Charles_Shaffer
Kevin said >>I don't think the shoddy programming issue is localized to Pick/MV people >>only. Shoddy programming has eroded the confidence in our entire profession >>irrespective of language, database, tools, etc. and yes, application >>development is a profession - and all that implies - not a

RE: [U2] INCLUDE weirdo

2008-03-06 Thread Norman Morgan
, March 06, 2008 10:42 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] INCLUDE weirdo > > I don't think the shoddy programming issue is localized to > Pick/MV people only. Shoddy programming has eroded the > confidence in our entire profession irrespective o

Re: [U2] INCLUDE weirdo

2008-03-06 Thread Kevin King
I don't think the shoddy programming issue is localized to Pick/MV people only. Shoddy programming has eroded the confidence in our entire profession irrespective of language, database, tools, etc. and yes, application development is a profession - and all that implies - not a career nor merely a

RE: [U2] INCLUDE weirdo

2008-03-06 Thread Mark Eastwood
As someone once told me; The great thing about Pick is you can sit down at your kitchen table and write an entire application. The bad thing about Pick is people sit down at their kitchen tables and write applications :) -Original Message- I firmly believe that shoddy programming has

Re: [U2] INCLUDE weirdo

2008-03-06 Thread Rex Gozar
Dennis, I'll try to post my utilities to www.PickWiki.com for you and anyone else interested. There may be similar utilities there, but I was striving to get the programs here to conform to a specific coding standard (already posted on PickWiki). Your standards may be drastically different,

RE: [U2] INCLUDE weirdo

2008-03-06 Thread Brian Leach
Susan >> her RPL code was very easy to read and maintain Suspending disbelief... >>I actually liked RPL! Nooo..!! I wrote an RPL compiler for UniVerse. I still have nightmares. Whoever introduced KSUB should be tarred and feathered. And that's without some of the 'undocumented

RE: [U2] INCLUDE weirdo

2008-03-06 Thread Dennis Bartlett
Well, THANKS for that - because that is precisely what I'm doing right now... looping thru dicts to create attribute equates... Perhaps we should have an area we can post all these utilities so we don't have to reinvent the wheel every time... Anyone? -Original Message- Rex Gozar wrote:

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Rex Gozar
Dennis, I inherited similar bad code. It too used F1, F2... for file variables, hardcoded attribute numbers, etc.. Over 10% of the programs would not compile without some warning or error. I wrote a utility to generate INCLUDE files for attribute equates. Then I wrote another utility to r

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Charles_Shaffer
>>Susan Wrote: >>Now, now, now - you can write bad code in any language... You're right there. I've proved it many times. >>I actually liked RPL! So you're the one! Charles Shaffer Senior Analyst NTN-Bower Corporation --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe pl

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
: Re: [U2] INCLUDE weirdo When I see difficult UNIBASIC code, I just remember RPL. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Susan Lynch
Wednesday, March 05, 2008 12:10 PM Subject: Re: [U2] INCLUDE weirdo When I see difficult UNIBASIC code, I just remember RPL. Charles Shaffer Senior Analyst NTN-Bower Corporation Whatever salary you're making, it's not enough! :) -Dianne Dennis Bartlett wrote: Currently the syste

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Robert Houben
From: "Dennis Bartlett" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 04, 2008 8:11 PM Subject: [U2] INCLUDE weirdo >I have an INCLUDE statement that brings in code from a snippets file called > SNIPPETS. > > INCLUDE SNIPPETS GIVE.FEEDBACK > > If I compile the compiler

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Jerry Banker
Dianne is correct. Your code looks like it was built by a CASE tool. Jerry Banker > -Original Message- > From: Dianne Ackerman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 9:28 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] INCLUDE weirdo >

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Charles_Shaffer
When I see difficult UNIBASIC code, I just remember RPL. Charles Shaffer Senior Analyst NTN-Bower Corporation Whatever salary you're making, it's not enough! :) -Dianne Dennis Bartlett wrote: >Currently the system uses the following coding structure: > >OPEN 'HPMAST.FILE' TO F1 ELSE STOP >OP

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Marc Harbeson
EQU False TO 0 EQU ThatName TO HPMAST.REC<1> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Bartlett Sent: Wednesday, March 05, 2008 9:57 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] INCLUDE weirdo Currently the system uses the

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Dianne Ackerman
Whatever salary you're making, it's not enough! :) -Dianne Dennis Bartlett wrote: >Currently the system uses the following coding structure: > >OPEN 'HPMAST.FILE' TO F1 ELSE STOP >OPEN 'HPCONTRACT' TO F2 ELSE STOP >OPEN 'HPTRANS.FILE' TO F3 ELSE STOP >READ F1R FROM F1, KEY THEN... >READ F2R FROM

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
> It is a maintenance nightmare from the 1980s that needs to be corrected. Agreed. I started here on Jan 7th. I've so far been assigned 97 tasks, each in some state of investigation / repair before the next one hits. At this rate, with no hope of time to do a thorough overhaul, I had to find a mea

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
Hey, in a normal world I would agree. No religious war needed... ;-) Thanks for the heads up - its something I'll put a bit more thought into... Its just the magnitude of what I have to achieve that's pushing me this way. I'm currently getting around a hour to work on a particular source code be

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
2008 06:00 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] INCLUDE weirdo Hi Dennis, Have you solved this? When I have run into trouble with INCLUDE, I have copied the code into my program and compiled. The problem then usually becomes obvious. Have you tried this? Cheers, Kate

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
Currently the system uses the following coding structure: OPEN 'HPMAST.FILE' TO F1 ELSE STOP OPEN 'HPCONTRACT' TO F2 ELSE STOP OPEN 'HPTRANS.FILE' TO F3 ELSE STOP READ F1R FROM F1, KEY THEN... READ F2R FROM F2, KEY THEN... READ F3R FROM F3, KEY THEN... F1R<36,X> = F2R<13> / F3R<82> * F1R<8> + F3R<

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Ron Hutchings
It is a maintenance nightmare from the 1980s that needs to be corrected. > Date: Wed, 5 Mar 2008 12:14:57 +0100 > From: [EMAIL PROTECTED] > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] INCLUDE weirdo > > Womack, Adrian skrev: > > Does anyone else think it's

Re: [U2] INCLUDE weirdo

2008-03-05 Thread Mats Carlid
Womack, Adrian skrev: Does anyone else think it's bad practice to have code in INCLUDES? I do !Warning this is a classical religious war issue! Surely it would be much better to have the INITIATE.FEEDBACK & GIVE.FEEDBACK routines written as subroutines, and then simply call them from th

RE: [U2] INCLUDE weirdo

2008-03-05 Thread Dennis Bartlett
You're a genius...!!! Thanks for that - added a blank line and all is happy! dennis David Beaty wrote: > Does the BP version of this item have a blank line at the end? We've > experience problems with INCLUDES that don't have that. Dennis Bartlett wrote: > > 0033 WRITESEQ LOG.FILE ON

Re: [U2] INCLUDE weirdo

2008-03-04 Thread Kate Stanton
OTECTED]> To: Sent: Tuesday, March 04, 2008 8:11 PM Subject: [U2] INCLUDE weirdo I have an INCLUDE statement that brings in code from a snippets file called SNIPPETS. INCLUDE SNIPPETS GIVE.FEEDBACK If I compile the compiler hangs as it hits the include statement. If I then change it to include

RE: [U2] INCLUDE weirdo

2008-03-04 Thread Womack, Adrian
Does anyone else think it's bad practice to have code in INCLUDES? Surely it would be much better to have the INITIATE.FEEDBACK & GIVE.FEEDBACK routines written as subroutines, and then simply call them from the appropriate spots. If the code in either of those routines needs to be changed, you'll

RE: [U2] INCLUDE weirdo

2008-03-04 Thread David Beaty
Does the BP version of this item have a blank line at the end? We've experience problems with INCLUDES that don't have that. Dennis Bartlett wrote: > > 0033 WRITESEQ LOG.FILE ON F.FEEDBACK ELSE STOP 'DISK FULL' > 0034 RETURN > 0035 * > > --

RE: [U2] INCLUDE weirdo

2008-03-04 Thread Brian Leach
Dennis If you're using BLAT I assume you're on Windows. I've seen an INCLUDE hang if the included file doesn't have a terminating CRLF. Go into the editor and file it again and see if the problem persists. Brian I have an INCLUDE statement that brings in code from a snippets file called SNIP

RE: [U2] INCLUDE weirdo

2008-03-04 Thread Dennis Bartlett
EDBACK file sent, using BLAT, via email to me every morning... feedback.bat blat p:\INTEGRITY\FEEDBACK -to [EMAIL PROTECTED] and finally feedback.bat is automated to happen at 6AM every morning. Voila! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray W

RE: [U2] INCLUDE weirdo

2008-03-04 Thread David Jordan
Check that the SNIPPETS file is type 1 or 19 I use $INCLUDE also. Regards David Jordan --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] INCLUDE weirdo

2008-03-04 Thread Ray Wurlod
ED]> > To: u2-users@listserver.u2ug.org > Subject: [U2] INCLUDE weirdo > Date: Tue, 4 Mar 2008 09:11:35 +0200 > > > I have an INCLUDE statement that brings in code from a snippets file called > SNIPPETS. > > INCLUDE SNIPPETS GIVE.FEEDBACK > > If I comp

[U2] INCLUDE weirdo

2008-03-03 Thread Dennis Bartlett
I have an INCLUDE statement that brings in code from a snippets file called SNIPPETS. INCLUDE SNIPPETS GIVE.FEEDBACK If I compile the compiler hangs as it hits the include statement. If I then change it to include from BP INCLUDE BP GIVE.FEEDBACK it works fine. What am I doing