Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to test programs without Using Xpeditor

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Testing & Performance analysis
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    Post subject: How to test programs without Using Xpeditor
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: 1187
Location: Bangalore,India

PostPosted: Thu Nov 16, 2006 1:12 pm    Post subject:
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    Post subject:
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: 1187
Location: Bangalore,India

PostPosted: Fri Nov 17, 2006 4:47 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Testing & Performance analysis All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts COOLGEN - TSO TEST FACILITY indianrajput CA Products 4 Wed Nov 02, 2016 9:28 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
This topic is locked: you cannot edit posts or make replies. How to supply called sub-program from... dchristensen JCL & VSAM 25 Wed Sep 14, 2016 11:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us