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

regarding the execution of set of jobs


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nandakumar
Warnings : 2

New User


Joined: 05 May 2005
Posts: 50

PostPosted: Wed Jun 29, 2005 5:30 pm
Reply with quote

hi,

Anybody can plz clear the following doubts:

How to execute a set of jobs(that is more than one job) at a time ,the main thing is the jobs are located in different members(jobs are no located in same member)?



thanks in advance
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Jun 29, 2005 5:38 pm
Reply with quote

Presuming that these are not production jobs and aren't handled by a job scheduler, then maybe I'm missing something from your question.

Wouldn't you just submit each job individually from its respective member in the library?
Back to top
View user's profile Send private message
nandakumar
Warnings : 2

New User


Joined: 05 May 2005
Posts: 50

PostPosted: Wed Jun 29, 2005 6:46 pm
Reply with quote

hi,

i dont want to submit these jobs separately,can anybody plz give me a
example program?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Jun 29, 2005 7:06 pm
Reply with quote

What, then, is it exactly that you want to do? How do you intend to run any jobs if you don't submit them? And what do you expect this example program to do? icon_mad.gif
Back to top
View user's profile Send private message
nandakumar
Warnings : 2

New User


Joined: 05 May 2005
Posts: 50

PostPosted: Wed Jun 29, 2005 8:05 pm
Reply with quote

what i am saying is:

for example:
my user-Id is TECH010 ,GROUPNAME :JOSEPH,
i want to SUBMIT three jobs namely:TECH010A,TECH010B,TECH10C.
*************************************************************
TECH010.JSOEPH.PDS(MEM1)
*************************************************************
// TECH010A JOB NOTIFY=&SYSUID
// STEP1 EXEC PGM=AAAA
-
-
-

/*
//
***************BOTTOM OF DATA******************************



*************************************************************
TECH010.JOSEPH.PDS(MEM2)
*************************************************************
// TECH010B JOB NOTIFY=&SYSUID
// STEP1 EXEC PGM=BBBB
-
-

-
/*
//

*********************BOTTOM OF DATA************************


*************************************************************
TECH010.JOSEPH.PDS(MEM3)
*************************************************************

// TECH010C JOB NOTIFY=&SYSUID
//STEP1 EXEC PGM=CCC
-
-
-
/*
//

***********************BOTTOM OF DATA************************
THE ABOVE SAID JOBS ARE LOCATED IN THREE SEPARATE MEMEBERS MEM1, MEM2,MEM3 OF PDS:


TECH010A EXISTS IN : 'TECH010.JOSEPH.PDS(MEM1)'
TECH010B EXISTS IN : 'TECH010.JOSEPH.PDS(MEM2)'
TECH010C EXISTS IN : 'TECH010.JOSEPH.PDS(MEM3)'

I WANT JCL CODINGS FOR SUBMITTING ABOVE THREE JOBS AT A TIME
AS IF A SINGLE JOB
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Jun 29, 2005 8:12 pm
Reply with quote

Try to see this topic:
http://ibmmainframes.com/viewtopic.php?t=2151&start=0
Back to top
View user's profile Send private message
baldi

New User


Joined: 16 Jun 2005
Posts: 13
Location: Amsterdam

PostPosted: Wed Jun 29, 2005 8:13 pm
Reply with quote

I think you just want to save on time,
If thats the major motive, write a REXX or COBOL program to submit all these members in different PDSs as JCLs(prefer REXX).
But they won't be submitted at the same time technically!!
Back to top
View user's profile Send private message
nandakumar
Warnings : 2

New User


Joined: 05 May 2005
Posts: 50

PostPosted: Wed Jun 29, 2005 8:44 pm
Reply with quote

hi,

hi,

i dont know rexx,can ugive me a example JCL OR COBOL
program for above situation
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Jun 29, 2005 9:02 pm
Reply with quote

If you look the link that I've been post you find this easy solution:
Code:
//SUBMIT EXEC PGM=IKJEFT01,PARM='',DYNAMNBR=50,
// REGION=4096K
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
PROF PREFIX(USERID)
SUBMIT 'LIB(JOB1)'
SUBMIT 'LIB(JOB2)'
SUBMIT 'LIB(JOB3)'

Try to search in this forum, you will find more than one solution...
This forum is well defined... and search field is well visible...
Try to search before posting!
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Thu Jun 30, 2005 6:08 am
Reply with quote

Any utility like IEBGENER, IDCAMS (repro), SORT (fields=copy) with the PDS(mem) DD's as concatenated input and output being directed to internal reader should do the trick.


Dave
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 Capturing Job Execution Information All Other Mainframe Topics 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
Search our Forums:

Back to Top