Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
regarding the execution of set of jobs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: regarding the execution of set of jobs
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

Moderator Team Head


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

PostPosted: Wed Jun 29, 2005 5:38 pm    Post subject: Re: regarding the execution of set of jobs
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    Post subject:
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

Moderator Team Head


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

PostPosted: Wed Jun 29, 2005 7:06 pm    Post subject: Re: regarding the execution of set of jobs
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 252
Location: Cincinnati OH USA

PostPosted: Thu Jun 30, 2005 6:08 am    Post subject:
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    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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts self-restarting jobs in OPC jzhardy IBM Tools 1 Mon Aug 21, 2017 10:15 am
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us