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

Scheduling of jobs without using any schedulers


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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
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
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
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: 463

PostPosted: Mon Jul 10, 2006 4:31 pm
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: 419
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Mon Jul 10, 2006 9:20 pm
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
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
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
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: 459
Location: Belgium

PostPosted: Wed Jan 16, 2008 8:27 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
Search our Forums:

Back to Top