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

require help for creating testing Tool


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
harsh singh

New User


Joined: 11 Dec 2007
Posts: 26
Location: INDIA

PostPosted: Wed Feb 29, 2012 12:26 pm
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: 8700
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 29, 2012 5:38 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Wed Feb 29, 2012 5:41 pm
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
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: 765
Location: Whitby, ON, Canada

PostPosted: Wed Feb 29, 2012 7:06 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Wed Feb 29, 2012 7:13 pm
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Mar 01, 2012 2:45 pm
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: 8796
Location: Welsh Wales

PostPosted: Thu Mar 01, 2012 2:53 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Thu Mar 01, 2012 2:55 pm
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
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   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 Need help In Mainframe Automation AF/... CLIST & REXX 14
No new posts Creating Unix Directory using COBOL i... COBOL Programming 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Mass JCL release via IDZ tool(eclipse... CA Products 1
Search our Forums:

Back to Top