|
|
| Author |
Message |
ibmmainframe1
New User
Joined: 26 Jul 2005 Posts: 26
|
|
|
|
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 |
|
 |
References
|
Posted: Fri Sep 15, 2006 8:51 pm Post subject: Re: Creation of Test data |
 |
|
|
 |
guptae
Moderator
Joined: 14 Oct 2005 Posts: 989 Location: Bangalore,India
|
|
|
|
| Yeap u can use fileaid for this. |
|
| Back to top |
|
 |
kgumraj
Active User
Joined: 01 May 2006 Posts: 156 Location: Hyderabad
|
|
|
|
| For Navigating between production and test we used use FTP program |
|
| Back to top |
|
 |
ibmmainframe1
New User
Joined: 26 Jul 2005 Posts: 26
|
|
|
|
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
Senior Member
Joined: 23 Feb 2006 Posts: 320 Location: Hyderabad,India
|
|
|
|
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
Global Moderator
Joined: 27 Dec 2005 Posts: 1862 Location: Israel
|
|
|
|
You can use IEBDG (Test Data Generator).
O. |
|
| Back to top |
|
 |
ibmmainframe1
New User
Joined: 26 Jul 2005 Posts: 26
|
|
|
|
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
Global Moderator
Joined: 27 Dec 2005 Posts: 1862 Location: Israel
|
|
|
|
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 |
|
 |
|
|