IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Creation of Test data

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Mainframe Application Testing
View previous topic :: View next topic  
Author Message
ibmmainframe1



Joined: 26 Jul 2005
Posts: 26

Posted: Fri Sep 15, 2006 8:51 pm    Post subject: Creation of Test data  

In my shop developers are not given access to production data so we need to create the data by our self.

I have coded couple of COBOL programs and need to create data for unit testing.

Please suggest me whether I can use clist/rexx/file-aid or any other tool to create the file with cobol structure and insert the data. pls dont suggest me to write a cobol program.

If you could provide code samples that will be great.

Regards.
Back to top  
guptae



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

Posted: Fri Sep 15, 2006 8:53 pm    Post subject:  

Yeap u can use fileaid for this.
Back to top  
kgumraj



Joined: 01 May 2006
Posts: 156
Location: Hyderabad

Posted: Fri Sep 15, 2006 10:33 pm    Post subject: Re: Creation of Test data  

For Navigating between production and test we used use FTP program
Back to top  
ibmmainframe1



Joined: 26 Jul 2005
Posts: 26

Posted: Sat Sep 16, 2006 3:03 am    Post subject: Re: Creation of Test data  

Hi Guptae, i would like to know steps to create the file with structure mentioned in the cobol copy book. I know there is way as of now i dont remember. Please advise.

kgumraj. I cannot enter into production region that means even reading is ot possible. so FTP out of scope.
Back to top  
shreevamsi



Joined: 23 Feb 2006
Posts: 320
Location: Hyderabad,India

Posted: Sat Sep 16, 2006 10:38 am    Post subject:  

hi,

Creation of TEST Data should be done with utmost care. usually, client should provide the data for you.

Else....U need to hard code the input in the input-layout with valid data.(U may also need to refer databases-some times).

You can use File-Aid Edit Option to open a dataset in Edit mode in a copybook layout and hard code the positions with valid data.

~Vamsi
Back to top  
ofer71



Joined: 27 Dec 2005
Posts: 1973
Location: Israel

Posted: Sun Sep 17, 2006 12:35 pm    Post subject:  

You can use IEBDG (Test Data Generator).

O.
Back to top  
ibmmainframe1



Joined: 26 Jul 2005
Posts: 26

Posted: Mon Sep 18, 2006 10:36 pm    Post subject:  

Thanks for the input.

tools like IEBDG I want for my requirement. I know i can use fileaid, but i need some tools. Could you please give more info on IEBDG and how it works or is it shop specific.

Regards.
Back to top  
ofer71



Joined: 27 Dec 2005
Posts: 1973
Location: Israel

Posted: Tue Sep 19, 2006 11:47 am    Post subject:  

IEBDG is an MVS utility, thus it exists on any MVS machine. More details and examples can be found in the link I provided above.

O.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> Mainframe Application Testing
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM