Re: pgm object/source comparison



Dave,

Thanks for the suggestion on the dates. Great idea. Sometimes you
get tunnel vision, if you know what I mean. It may not guarantee it,
but I'll sleep a heckuva lot better at night!

thanks,
ga

Dave McKenzie <x@xxx> wrote:

>For OPM pgms, one pretty definitive way is to match "Source file change
>date/time" in DSPPGM with the source member's "Change date" and "Change
>time," which you can see with option 8 of the PDM member list, or "Last
>source update date/time" in DSPFD.
>
>For ILE pgms, match date/time for each module.
>
>However, there are several ways the date/time of the source member can
>change without changing the actual source text, such as CPYF, or option
>3 of PDM.
>
>Matching size isn't very reliable, because program size can change with
>different releases (or even PTFs) of the compiler.
>
>--Dave
>
>
>George Applegate wrote:
>> Recently I installed a new iseries for a company that had been running
>> on a box around 8 years old. I moved the libraries, files and
>> programs over, and, as part of that process, it converted the programs
>> automatically - but didn't recompile them.
>>
>> I have developed a concern recently that the source code may not match
>> the programs. I recently had to recompile about 50 programs; in the
>> process, two compiles failed, for programs that were running. It
>> seems fairly obvious that the source code in those two don't match the
>> object, and who knows how many more.
>>
>> I am wondeirng if the programmer they had before, who did a lot of
>> work off-site, would occasionly send them a tape with programs to
>> load...but not always the newer source code??? Scary, huh?
>>
>> What would be the best way to tackle this project, to determine if
>> they match? I'm knd of a novice on something like this. I listed all
>> programs out that were created on a system other than the old system
>> and the new system. About 70 programs. If I would recompile those
>> programs into a new library, and compare sizes to the existing
>> program...would that be a pretty good check?? Right now my concern
>> would be over these 70 programs. I guess I feel if the program was
>> created/compiled on the old/new system...I'm fairly safe in assuming
>> the source code I have in the source file is probably okay???
>>
>> Suggestions or thoughts?
>>
>> thanks,
>> ga
>> George Applegate
>> gappleg8@xxxxxxxxxx

George Applegate
gappleg8@xxxxxxxxxx
.



Relevant Pages

  • Re: CREATEPROCESS Question
    ... this isn't just a spurious recompile. ... source code changes should normally be needed except in rare special ... commercial applications. ... For an operating system API, it can be a pretty big one. ...
    (comp.lang.fortran)
  • Re: MS Word - what a mickey mouse pile of sh!t.
    ... I like the fact that you can modify the source code, ... can recompile it with optimization flags specific to your processor. ... There are some features of Word that I may ...
    (microsoft.public.word.newusers)
  • Re: LE question about COBOL compatibility
    ... having the source code to recompile. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: VB6 Application Configuration
    ... >If I take my source code and recompile the application on my laptop running ... >receives an error when it runs on windows XP. ... >recompile the application on my xp computer, it runs ok on XP and 2000. ... >manifest information. ...
    (microsoft.public.vb.general.discussion)
  • Automating date/time input for modem/router
    ... To avoid hand keying the date/time via the modem's JS interface, I wonder if there is a way to copy the JS code to the hard drive and modify it to automatically retrieve the PC's date/time. ... The source code for the above JS form is here: http://www.users.on.net/~fzabkar/DSL-302G/PopOutPage.htm ...
    (comp.lang.javascript)