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

Tools to eliminate JCL


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sakthisiga
Warnings : 1

New User


Joined: 11 Jun 2009
Posts: 60
Location: Chennai

PostPosted: Mon Jul 13, 2009 3:23 pm
Reply with quote

Hi everyone,


Can anyone please tell me the tools that eliminate the JCL and used to post the jobs directly into MVS.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jul 13, 2009 3:25 pm
Reply with quote

<HOLY> <DEITY> where did You get such idea icon_question.gif icon_eek.gif icon_eek.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jul 13, 2009 5:28 pm
Reply with quote

Quote:
post the jobs directly into MVS
If JCL is not an option, how those jobs are created at first place?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 14, 2009 12:24 am
Reply with quote

Hello,

Quote:
Can anyone please tell me the tools that eliminate the JCL and used to post the jobs directly into MVS.
Never execute a batch job of any kind. . .

If you explain whatever kind of business requirement prompted such a question, someone may have a more usable reply. . .
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jul 14, 2009 12:49 am
Reply with quote

Please explain the possibility of how the operating system will execute a batch job without JCL.

WOW, I echo Enrico's astoundment. Or was a colleague playing a joke on you ???
Back to top
View user's profile Send private message
mtaylor

Active User


Joined: 20 Feb 2009
Posts: 108
Location: Kansas City

PostPosted: Tue Jul 14, 2009 8:54 am
Reply with quote

Isn't there a TSO 'run' command that will execute a load module? That could conceivably qualify for what the op is asking if it exists.... Although 'job' indicates there's more than one program involved.

From some online tso tutorial. I've never used these maybe someone else has:

call load and execute the specified load module.
loadgo load and execute program.
run compile, load, and execute program.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jul 14, 2009 2:01 pm
Reply with quote

Yes, that may be one way to answer the OP, but it does rather limit any other use of the terminal session.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 14, 2009 7:56 pm
Reply with quote

Hello,

If Sakthivel were to present better info about some specifics rather than only mentioning a general desire to "eliminate the JCL", someone might be able to provide a more usable reply. . .
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Jul 14, 2009 8:23 pm
Reply with quote

With REXX you can execute programs without using jcls, that could be what Sakthivel means.
or it could be REXX again, where the jcl is "hidden" as a skeleton and a job can be submitted without you seeing a single line of jcl.

More info definitely needed...
Back to top
View user's profile Send private message
sakthisiga
Warnings : 1

New User


Joined: 11 Jun 2009
Posts: 60
Location: Chennai

PostPosted: Mon Jul 20, 2009 3:53 pm
Reply with quote

Thank you all for your kindly reply..
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jul 20, 2009 5:26 pm
Reply with quote

You're welcome. But what's the final choice you "pick" from here?
Back to top
View user's profile Send private message
Alex Bruzzone

New User


Joined: 18 Aug 2010
Posts: 4
Location: Ottawa

PostPosted: Sat Oct 02, 2010 6:50 pm
Reply with quote

I work for a large Canadian Government Agency and I have implemented JCL generators for the maintenance of DB2 and IDMS databases.

There is always the choice for an organization to purchase a tool that will "hide" the real processes (JCL) behind some fancy window full of buttons you can click on.

Instead, I develop generators of JCL, that way database administrators can look at and review the JCL. When the generator is put to work nothing really changes other than the elimination of the tediousness of the repetitive work.

For instance, my JCL generator for IDMS reads the PUNCHed Segment definitions and DB table to create the JCL. That way nothing is ever missed. A few years back we had a big crash with our IDMS databases. At the time all the JCL was being done by hand. Errors were made in the JCL and of course that delayed the recovery which took 9 days. Now JCL for any IDMS maintenance can be done in seconds.

For DB2 I have implemented a JCL generator for moving data from one database to another using DSN1COPY. Anyone who has used DSN1COPY would know how tedious it is to build this JCL. Special DBIDs and OBIDs need to be collected and placed in the JCL. The problem is that if the numbers are wrong, you don't discover it until you try to access the data in the target DB.

For all the JCL (and COBOL) generators I use a tool that I also developed which uses sparse dynamic arrays to pass the data to populate skeletons. It works very well and I have successfully used it for all my projects. It's all done using COBOL.

There is merit in developing in-house tools. Usually tools that are purchased require a change in the way the organization operates.
In-house tools can be made very easy to use.

The following JCL creates all the DSN1COPY JCL for a MSTR DB2 database which will move the data from Production to its testing environment using a backup (COPY) from September 19, 2010:

Code:
//MSTR     EXEC PGM=DB1DS1CP,PARM=(PMSTR#1,TMSTR#3)           
//INPUT DD *                                                     
!USE BACKUP DATE 2010-09-19                                     
!GENERATE BY TABLESPACE                                         
//SKEL DD DISP=SHR,DSN=ALEX.BRUZZONE.DSN1COPY(#SKEL)           
//SYSIBM DD SYSOUT=*                                             
//SYSOUT   DD SYSOUT=*                                           
//SRCSPUFI DD SYSOUT=*
//TARSPUFI DD SYSOUT=*
//RUNJCL   DD SYSOUT=*


SYSOUT will contain all the instructions on how to continue.
Back to top
View user's profile Send private message
mtaylor

Active User


Joined: 20 Feb 2009
Posts: 108
Location: Kansas City

PostPosted: Sun Oct 03, 2010 8:53 pm
Reply with quote

JOL was intended to be a JCL replacement, it never gained wide spread adoption. The developer made a new release some time ago:

newsgroups.derkeiler.com/Archive/Comp/bit.listserv.ibm-main/2010-03/msg01010.html

I think the chances of any organization with non trivial, 40+ year old mainframe applications migrating off of JCL are essentially zero. JCL is ugly and difficult for beginners, but it's well understood and entrenched. Really it's pretty good at what it does.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Tue Oct 12, 2010 7:33 pm
Reply with quote

VSAM was supposed to replace JCl and we all know how far that got.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Oct 12, 2010 7:58 pm
Reply with quote

Okay, pardon my ignorance and my little experience - but I read the similar statement on other board too. I'm confused, how VSAM could replace JCL - one is access method and other is "control language"!
Back to top
View user's profile Send private message
Sys Edwin

New User


Joined: 18 Oct 2010
Posts: 7
Location: Canada

PostPosted: Mon Oct 18, 2010 10:18 pm
Reply with quote

sakthisiga wrote:
Hi everyone,


Can anyone please tell me the tools that eliminate the JCL and used to post the jobs directly into MVS.


This requires dynamic allocation of datasets and invocation of the program. This can be done inside the address space of a worker program or a new address space can be created. We use an event automation/job scheduling program called AutoMan. It has a command language called GAL in it when events occur or scheduled activity is needed you can code a command to invoke an external program. It comes with a TSO program called AutoMate which runs an external compiler. This compiler is normally run by JCL but can also be dispatched without JCL. Take a look at this and if it does what you think you want, I can describe for you the process by which the job is run without JCL.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Products/Tools to Optimize Adabas Dat... Compuware & Other Tools 2
No new posts Can I use Tableau/PowerBI kind data a... All Other Mainframe Topics 2
No new posts eliminate dups in VB file DFSORT/ICETOOL 6
No new posts Do we have any Modern tools to replac... Compuware & Other Tools 4
No new posts SSHD - Ported tools All Other Mainframe Topics 5
Search our Forums:

Back to Top