View previous topic :: View next topic
|
Author |
Message |
Ruchira
New User
Joined: 15 Nov 2006 Posts: 6
|
|
|
|
Hi All,
Can anyone tell me In Batch Processing what is the process behind Manual Testing (without using any tools like Xpeditor) How someone test programs with the help of Display and Accept statements ?
Regards,
Ruchira
Title changed from "Without Using Xpeditor" to "How to test programs without Using Xpeditor" : Priyesh. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Ruchira,
If Your program are updating Some db2 table then after running ur program check the data in db2 table & if files are creating by ur program tally the data in a file with db2 table data if it is populated by them use some display in ur program to see the value of variable & check it in spool. |
|
Back to top |
|
|
Ruchira
New User
Joined: 15 Nov 2006 Posts: 6
|
|
|
|
Hi Ekta,
Thanks for ur reply. I would be grateful if you will explain it in more details. If possible pls give an example. Anticipating a quick response,
Regards,
Ruchira |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi There,
Quote: |
If Your program are updating Some db2 table then after running ur program check the data in db2 table |
Suppose ur program is updating db2 table A with updation on field a, field b where extarct date is greater than 1/1/2000
Then after running ur program run the quey in SPUFI / qmf .
Quote: |
if files are creating by ur program tally the data in a file with db2 table data if it is populated by them use some display in ur program |
Suppose ur program r writing record in filea from table A where extarct date is greater than 1/1/2000
then after running ur program open the file in file manager or file aid & run the query in qmf/spufi & check whether o/p file are populated correctly.
Quote: |
use some display in ur program |
To see the value of the variable u can use display for those variable then check in spool .
Hope it will helpful |
|
Back to top |
|
|
hariavinash
New User
Joined: 04 Jan 2006 Posts: 64
|
|
|
|
use display trap statements before and after the execution of a particular step you are testing.
run queries in paralell to see the updated data in the table (if there is any).
cheers |
|
Back to top |
|
|
Ruchira
New User
Joined: 15 Nov 2006 Posts: 6
|
|
|
|
Thanks a lot |
|
Back to top |
|
|
|