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

Creation of Test data with clist/rexx/file-aid


IBM Mainframe Forums -> Testing & Performance
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
ibmmainframe1

New User


Joined: 26 Jul 2005
Posts: 64
Location: India

PostPosted: Fri Sep 15, 2006 8:51 pm
Reply with quote

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

Moderator


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

PostPosted: Fri Sep 15, 2006 8:53 pm
Reply with quote

Yeap u can use fileaid for this.
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Fri Sep 15, 2006 10:33 pm
Reply with quote

For Navigating between production and test we used use FTP program
Back to top
View user's profile Send private message
ibmmainframe1

New User


Joined: 26 Jul 2005
Posts: 64
Location: India

PostPosted: Sat Sep 16, 2006 3:03 am
Reply with quote

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

Active User


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

PostPosted: Sat Sep 16, 2006 10:38 am
Reply with quote

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

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Sep 17, 2006 12:35 pm
Reply with quote

You can use IEBDG (Test Data Generator).

O.
Back to top
View user's profile Send private message
ibmmainframe1

New User


Joined: 26 Jul 2005
Posts: 64
Location: India

PostPosted: Mon Sep 18, 2006 10:36 pm
Reply with quote

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

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Sep 19, 2006 11:47 am
Reply with quote

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

New User


Joined: 09 Jul 2020
Posts: 1
Location: India

PostPosted: Sat Jul 11, 2020 3:20 pm
Reply with quote

i need to accept a copybook layout as input and need to write a output with test day using REXX.can anybody please suggest me how can i achieve it..im new to rexx. Thanks in advance.
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1231
Location: Bamberg, Germany

PostPosted: Sat Jul 11, 2020 3:57 pm
Reply with quote

Ereshwari wrote:
i need to accept a copybook layout as input and need to write a output with test day using REXX.can anybody please suggest me how can i achieve it..im new to rexx. Thanks in advance.

It totally makes sense to jump on a fourteen year old thread instead of starting your own for your requirements. icon_rolleyes.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Testing & Performance

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top