As400 testing

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.

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.


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.
  • 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:
  • Nimi new to AS400 ..can anyone please help me with testing documents and sample templates to my email
    10 pointsBadges:
  • TomLiotta 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:

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.

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


Share this item with your network: