As400 testing

5 pts.
Tags:
AS/400 performance
AS/400 testing
Hi, what are the steps to test programs in AS400 and loading data into it without affecting production. Also how to view errors when running the programs.
ASKED: August 21, 2008  1:53 PM
UPDATED: August 21, 2008  3:04 PM

Answer Wiki

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

Generally we make a copy of the data into a test library

The library list that is in effect when the program is run usually (except for overrides ) determines which library(s) are used.

Testing can be done using the interactive debugger: STRDBG (F4 to prompt the display)
identify the program. You will notice that it contains the option
Update production files . . . . *NO
With no set the debugger will not change values in any library of type PROD.
Infact this option will abort when your program trys to open anyfile for update or output in a library of type PROD.

++++++++++++++++++++++++++++++++++++++++

If you are using InforZA you can just create another environment specifically for testing. We do this using the PowerLink GUI.

-Schmidtw

Discuss This Question: 3  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
  • Gilly400
    Hi, The best and safest way is always going to be to use another machine, but we haven't all got that luxury. Using a test data library and controlling access via the library list (as already mentioned) is a good alternative. Watch out for OVRDBF's and embedded SQL with "hardcoded" library names, you may need to have test versions of some programs where library names are hardcoded. You will also need to be careful with any external interfaces from your application (for example if you use FTP to send or retrieve files or DDM to access an external database). If you want some basic as/400 info, this website is quite useful. Regards, Martin Gilbert.
    23,730 pointsBadges:
    report
  • Nimi
    Hi...im new to AS400 ..can anyone please help me with testing documents and sample templates to my email nimidavid@gmail.com
    10 pointsBadges:
    report
  • TomLiotta
    ...to my email...   No. This isn't a 'personal research for free' site.   And you really should never put your e-mail address into a public forum, especially a forum that may be scanned by technical professionals. It's not an asset that you should give away for free.   Tom
    125,585 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