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
 

 

Scheduling of jobs without using any schedulers

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
psarithan

New User


Joined: 27 Jan 2006
Posts: 11

PostPosted: Tue Jul 04, 2006 11:05 am    Post subject: Scheduling of jobs without using any schedulers
Reply with quote

hi ,
good morning.
i ahve 14 jobs to run in test region. first job should be run manually. After that jobs should automatically trigger. here we are not using any opc schedulres. can anybody please tell me how to run without using any schedulers. shall i need to change the JCLs.

thanks in advance

regards
saritha
Back to top
View user's profile Send private message

kondakonda

New User


Joined: 20 Mar 2006
Posts: 34

PostPosted: Tue Jul 04, 2006 11:59 am    Post subject: Re: scheduling of jobs
Reply with quote

Hi,

A job can be executed through a cobol program.

So the first job should execute this cobol program which contains another jcl that will be executed. (Totally two jobs are submitted)

Like this we can execute any number of jobs.

As this one procedure, please let us know the other procedures.
Back to top
View user's profile Send private message
param_rajesh_2001
Warnings : 1

New User


Joined: 23 Jun 2006
Posts: 18
Location: Bangalore

PostPosted: Tue Jul 04, 2006 12:09 pm    Post subject:
Reply with quote

Hi,
U can use IEBEDIT utility to triger the job from JOBA TO JOBB ..

uSE THE BELOW code

//JOB1
//STEP0001 EXEC PGM=IEBEDIT
//SYSUT1 DD DISP=SHR,DSN=Source job2 DSN (eX test.joblib(JOB2)
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD * DUMMY
//*
Please code end of the job1 , this will trger the job2. Smillar way you can code job3 from job2 and job4 from job2 ......
Hope it may help you for auotrigger the job without scheduler tool.
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Thu Jul 06, 2006 3:57 pm    Post subject: Hi
Reply with quote

Param,
Does the same method works for a steps inside a PROC? as what I have is a PROC which was executed using a JCL.The PROC have 10 steps(say for eaxmple).

Assuming RUNJCL executes PROC and my PROCNAME is 'PROC'

I have coded the follwoing just to execute the step01 from PROC
using IEBEDIT

//STEP01 EXEC PGM=IEBEDIT
//SYSUT1 DD DISP=SHR,DSN=XXXX.XXXX.XXXX.(RUNJCL)
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSPRINT DD SYSOUT=*
/SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=PROC.STEP01
/*

But this fails as its not recognise Operation code..

Any recommendation u have on this?

-Han.
Back to top
View user's profile Send private message
param_rajesh_2001
Warnings : 1

New User


Joined: 23 Jun 2006
Posts: 18
Location: Bangalore

PostPosted: Fri Jul 07, 2006 10:39 am    Post subject:
Reply with quote

Hi Han,
I don't thin k so we can call procs step in IEBEDIT . Bocz the utility scans the JCL steps and it does not include the proc steps while scaning the step .



- Params
Back to top
View user's profile Send private message
psarithan

New User


Joined: 27 Jan 2006
Posts: 11

PostPosted: Fri Jul 07, 2006 10:57 am    Post subject:
Reply with quote

hi all,
thanks for your replies. i ahve a small question. my onsite coordinator has given the following code to execute the jobs automaticaly without using schedulers. but where i ahve to insert this code and does it really works? the code is

//INF020 EXEC PGM=IKJEFT01,DYNAMNBR=30,REGION=4096K
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
%TESTCP
/*

how to include this code in first job to execute 2nd job?

thanks in advance

regards
saritha
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Mon Jul 10, 2006 10:50 am    Post subject: Hi
Reply with quote

Psarith,
It looks like the JCL is executing a REXX program for this.


Param,
Thanks for the update..

-Han.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Mon Jul 10, 2006 4:31 pm    Post subject: Re: scheduling of jobs
Reply with quote

HI,

Can not You use submit commnad in First job to submit the second job?

For Submit commnad you can search in forum. You will get lot of Material...

Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 239
Location: Cincinnati OH USA

PostPosted: Mon Jul 10, 2006 9:20 pm    Post subject:
Reply with quote

most shops have a run class for 'serial execution' -- in other words one and only one batch initiator has the class defined

submit all jobs in the order you want them to run specifying that same 'serial' run class for each of the jobs.
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Thu Jul 13, 2006 12:20 pm    Post subject:
Reply with quote

Hi

Param could you tell me the significance of having the SYSUT2 step in your code what does the SYSUT2 DD SYSOUT=(A,INTRDR) means.

Regards,
Diwakar

Nobody is perfect I am Nobody
[/b]
Back to top
View user's profile Send private message
dilipsvd

New User


Joined: 09 Jan 2008
Posts: 4
Location: Baskingridge

PostPosted: Wed Jan 16, 2008 8:12 pm    Post subject:
Reply with quote

SYSUT2 DD SYSOUT=(A,INTRDR) will write the file in SYSUT1 to the JES2 which will get executed
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Jan 16, 2008 8:15 pm    Post subject:
Reply with quote

You are replying to a 2 year old thread.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Wed Jan 16, 2008 8:27 pm    Post subject:
Reply with quote

As the original poster did not mention somewhere "It is very urgent" , why not ? icon_lol.gif

But it is true he mentionned " Thanks in advance" icon_sad.gif
Back to top
View user's profile Send private message
psarithan

New User


Joined: 27 Jan 2006
Posts: 11

PostPosted: Tue Jan 22, 2008 1:29 pm    Post subject: Reply to: Scheduling of jobs without using any schedulers
Reply with quote

Thank u all for your valuable replies.

regards
saritha
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm
No new posts Predicting jobs which are about to re... kpanchabhai85 DFSORT/ICETOOL 4 Thu Jun 30, 2016 7:51 pm
No new posts How to find jobs that are in schedule... anilkumar922 All Other Mainframe Topics 5 Tue Jun 28, 2016 10:01 am
This topic is locked: you cannot edit posts or make replies. Jobs At HCL Technologies - Weekend Dr... mjadwani2785 Mainframe Jobs 0 Thu Feb 18, 2016 8:31 pm


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