Impact analysis

pts.
Tags:
Application development
AS/400
Backup & recovery
CLP
RPG
RPGLE
Hi, The user requested me to change the field length from 25 to 30 char. I want to do impact analysis on this. How do i proceed?? Thanks, Rama Krishna

Answer Wiki

Thanks. We'll let you know when a new response is added.

(1) You will have to change “25″ to “30″ in one or more places, including SQL and possibly in H or COPY files, depending on your programming languages.

(2) This will take 5 more bytes per record and per involved index entry for CHAR and VARCHAR fields, and 10 more bytes per record and per involved index entry for GRAPHIC and VARGRAPHIC fields. For most tables or files, this is trivial.

(3) For any Crystal Reports, you should re-sync to the data-base so the user won’t get a message about things having changed.

(4) Here’s the only hard part: You have to look at reports, web pages, and input forms to see if more space is required for a field.

Typically, you’re looking at about an hour’s work for this, unless #4 gets you.

Sheldon Linker (sol@linker.com)
Linker Systems, Inc. (www.linkersystems.com)
800-315-1174 (+1-949-552-1904)

========================================================

It depends on the environment.

If a decent CMS (Change Management System) or cross-reference tool is in place, either one should be able to manage or report the changes that will be made. The hope would be that elements such as fields on displays are linked to the field being changed. This is where most of your time will be saved. Determine what tools have been used to manage development and use that tool (or tools).

If not, you’ll need to manually look at every program and track all movements of data into and out of the changed field. This may take a very long time if the field is widely referenced, far more than an hour and perhaps many days in numerous cases.

Except to indicate that potential client accesses need attention, I don’t see any reason to mention Crystal Reports nor any other particular client product. It’s not clear if client processes should be included, especially if those clients are not part of normal ‘Information Services’ development. Processes that were developed without organizational standards of analysis, approval and acceptance perhaps should suffer from the original decisions to proceed without them.

The “forms” — display files, printer files or any similar objects — those do indeed represent a likely major part of the work. For example, if a display layout is crowded and there aren’t sufficient spaces to hold the expansion, then significant redesign might be necessary. The number of such pieces have to be added up.

As for where to start, it depends on what is being changed. A change to a database field length is probably the change with widest impact and, therefore, with the most complexity in tracking through.

Best starting point is probably the journal for the file. That should indicate every program that has referenced the file for however far back the receivers run. It will also keep a running track as days go by in the future. If nothing else provides clear guidance, the journal will show a trail. And if journaling isn’t active, then turn it on for the file while you’re researching it. Follow where it leads.

Tom

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Try
    Hi, If you have a 3rd party tool Hawkeye if you have that one to check for the usage of that field. Otherwise you can create a utility for yourself. Copy all the sources (source codes) to one single file and then run a query to find out the usage of that field. Secondly you can simply do WRKOBJPDM on source file where you keep sources and then use optnio 25 and F13(to repeat option for all the codes) and search for the required field. If required you can print the output to spool also. Hope this answers your question.
    35 pointsBadges:
    report
  • reg
    Years ago I developed a group of programs (using DSPPGMREF) that will create data files and display on request all program references to a file (LF, PF, DSPF or PRTF) across all specified libraries on your system. Another program will list all source code references to a select field in these programs. You can have this package free of charge.
    280 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following