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
 

 

require help for creating testing Tool

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Testing & Performance analysis
View previous topic :: :: View next topic  
Author Message
harsh singh

New User


Joined: 11 Dec 2007
Posts: 26
Location: INDIA

PostPosted: Wed Feb 29, 2012 12:26 pm    Post subject: require help for creating testing Tool
Reply with quote

Hi All,

We use Control-M as our scheduling tool and when we do any changes in our source code, we re compile the component and execute our job through Control-M Schedule.

every time we get the defect we follow the above order.

I am thinking of developing a script based tool like Bat or EXE which can help me to test the part of the code I have changed.

Please advise me if it is feasible or suggest me with bright ideas.

Thanks in advance for the help.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Wed Feb 29, 2012 5:38 pm    Post subject:
Reply with quote

The rule of thumb I learned from one of my college professors is that writing tools is three times harder than coding application programs, and writing operating systems is three times harder than writing tools. So your first task is to find out how much tolerance your site has for you spending (possibly a great deal of ) time doing something completely unrelated to your primary job.

If you decide to proceed, you need to write a specification document that details everything about your tool. While this is not, strictly speaking, a requirement -- it prevents you from spending a month developing code only to have to rewrite everything because you missed something at the beginning.

Questions to consider in writing your spec doc:
- How will your tool be invoked?
- Will the tool run in batch, TSO, both?
- What interfaces to other products does your tool need?
- Are there defined interfaces for those products, or will you have to figure out a way to pass data back and forth yourself?
- What data do you need to pass through each interface?
- What data do you need to get back from each product?
- Are your development skills up to the task?
etc
etc
etc

The question of writing tools comes up -- frequently -- on this forum and the general response is this is a bad idea. I'm not sure WHY people want to write tools so badly, but I do know it is nowhere near as easy as people seem to think it is.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Feb 29, 2012 5:41 pm    Post subject: Reply to: require help for creating testing Tool
Reply with quote

Quote:
'm not sure WHY people want to write tools so badly, but I do know it is nowhere near as easy as people seem to think it is.


it looks good in the resume ( CV )
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Feb 29, 2012 5:54 pm    Post subject:
Reply with quote

most good 'tool creators' have the intelligence and initiative to research manuals,
search for and learn/understand published 'tools' on the web,
look at the ibm supplied libraries contained on their own systems,
and spend the extra time experimenting and learning.

most of the jerks that post 'i gotta write a tool' threads here
just want someone to give them code,
so they can show their boss their 'tool' (after they have shown their ass here)
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 641
Location: Whitby, ON, Canada

PostPosted: Wed Feb 29, 2012 7:06 pm    Post subject:
Reply with quote

IMO, no one should create tools unless they are so skilled at their regular job that they always finish their tasks ahead of schedule and find they have extra time on their hands.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Feb 29, 2012 7:13 pm    Post subject: Reply to: require help for creating testing Tool
Reply with quote

Quote:
they always finish their tasks ahead of schedule and find they have extra time on their hands.


Snoopy and CB
why are You eating
because I am nervous
why are you nervous
because I do not get enough food
ant the roles keep switching day after day

... if I had the tools I would finish ahead of schedule and I would have the time to develop them (the tools ) icon_biggrin.gif icon_biggrin.gif icon_biggrin.gif
Back to top
View user's profile Send private message
harsh singh

New User


Joined: 11 Dec 2007
Posts: 26
Location: INDIA

PostPosted: Thu Mar 01, 2012 11:35 am    Post subject:
Reply with quote

Hi All,

I neither need the ready code nor to impress my boss.. I work my own way for my learning. I had few things in mind just thought i will be advised few more from experts.

Thank you

Rgds,
Harsh
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7232

PostPosted: Thu Mar 01, 2012 2:45 pm    Post subject: Reply to: require help for creating testing Tool
Reply with quote

Well, you didn't give enough away to allow us to make that determination.

You want ideas, set out the requirement complete enough to be understood, set out how you are currently approaching it and the error/problem/bad feelings that route is giving you.

If you intend writing a script language, you'd be better off with a "language" forum rather than here for that task. If you just want a mainframe equivalent of a ".bat" or shell-script, that is some JCL. You have been sufficiently unclear that I can't determine which of these you are looking for.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 01, 2012 2:53 pm    Post subject:
Reply with quote

Why would you want to test a z/OS program on a PC icon_confused.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Mar 01, 2012 2:55 pm    Post subject: Reply to: require help for creating testing Tool
Reply with quote

again for the umpteenth time
if somebody has the skills to write a <tool>
he/she should not have the need to ask on a forum AMEN

the only thing that can reasonably be asked is to help debug some obscure error,
naturally posting the offending code

NO CODE ==> NO HELP


Quote:
Why would you want to test a z/OS program on a PC

by IPLing a pirated ADCD copy under hercules icon_wink.gif
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Thu Mar 01, 2012 8:21 pm    Post subject:
Reply with quote

My #1 rule for tool making is to NEVER TELL ANYONE ABOUT IT!!!

Make the helper app to do what you need, then keep it to yourself. A few projects later, you can work twice as fast using the tool.

Once someone else sees it, they will want it too. Then you have to stop tinkering with it,and it becomes obsolete.

Now, for the OP, when you say you submit it through Control-M, do you mean the execution of the compiled code? Do you men just the one program, or the entire section of a batch flow?

Do you do your development on the PC or on the mainframe? Asking because if it's all mainframe, I'd suggest a mainframe helper app.

If it's a Control-M schedule to kick off jobs that turn around and exercise some sort of Java/SOAP code that you just changed, then I get it. There are easy ways to submit Control-M jobs in batch, from an FTP job. I just did it last month when I wrote a helper app to download test data.
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 Interface from Mainframe to Confluenc... hblun CLIST & REXX 4 Tue Sep 20, 2016 5:47 pm
No new posts Creating an 'Enter' event with IMS MF... dileep chirasani Java & MQSeries 1 Sat Aug 06, 2016 2:23 am
No new posts Require help in DB2 Query Shruti Takkar DB2 3 Wed Aug 03, 2016 10:57 pm
No new posts Creating a dynamic sort card in JCL u... ChitraChhabra DFSORT/ICETOOL 4 Wed Aug 03, 2016 6:15 pm
No new posts creating a physical sequential file i... Shaheen Shaik JCL & VSAM 8 Wed Jun 29, 2016 3:46 pm


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