IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to test programs without Using Xpeditor


IBM Mainframe Forums -> Testing & Performance
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ruchira

New User


Joined: 15 Nov 2006
Posts: 6

PostPosted: Thu Nov 16, 2006 11:49 am
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Thu Nov 16, 2006 1:12 pm
Reply with quote

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
View user's profile Send private message
Ruchira

New User


Joined: 15 Nov 2006
Posts: 6

PostPosted: Fri Nov 17, 2006 4:38 pm
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Nov 17, 2006 4:47 pm
Reply with quote

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
View user's profile Send private message
hariavinash

New User


Joined: 04 Jan 2006
Posts: 64

PostPosted: Fri Nov 17, 2006 5:10 pm
Reply with quote

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
View user's profile Send private message
Ruchira

New User


Joined: 15 Nov 2006
Posts: 6

PostPosted: Fri Nov 17, 2006 5:28 pm
Reply with quote

Thanks a lot
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Testing & Performance

 


Similar Topics
Topic Forum Replies
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts Zunit Test case editor error Testing & Performance 4
No new posts Copying GDG version(all/few) from pro... CLIST & REXX 13
Search our Forums:

Back to Top