Joking aside, that looks almost like something written by someone who
was accustomed to writing mainframe COBOL where actual file assignments
were made outside the program code in JCL.  That doesn't excuse the
internal naming style, but the technique harks back to my "misspent
youth" as a COBOL programmer.

> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Timothy 
> > Snyder
> > Sent: Friday, June 29, 2007 8:21 AM
> > To: u2-users@listserver.u2ug.org
> > Subject: Re: [AD] [U2] Basic developments "reverse 
> engineering" tool ?
> > 
> > > One of my clients has procs like this:
> > > 
> > > HRUN BP SOP1500
> > > STON
> > > HORDER<
> > > HCUSTOMER<
> > > HPRODUCT<
> > > HVENDOR<
> > > P
> > > 
> > > whereby the program (BP SOP1500) has the corresponding INPUT 
> > > statements
> > for
> > > the file names and opens them as F1, F2, F3 which is a real
> > bear when
> > > reading the code.
> > 
> > Wow - that's just plan mean!  There may have been a thought that it 
> > was a way to avoid hard-coding file names in case they ever changed 
> > (though that would be a weak argument), but then they're 
> hard-coded in 
> > the PROC, so I can't see any benefit at all, other than 
> obfuscation.  
> > The person that created it must have had a future grudge against 
> > whoever came along to maintain the code.  "Take my job from me, did 
> > you?
> > I'll teach you a lesson."  :-)
> > 
> > Tim Snyder
> > Consulting I/T Specialist
> > U2 Lab Services
> > Information Management, IBM Software Group
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to