View previous topic :: View next topic
|
Author |
Message |
nandakumar Warnings : 2 New User
Joined: 05 May 2005 Posts: 50
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
nandakumar Warnings : 2 New User
Joined: 05 May 2005 Posts: 50
|
|
|
|
hi,
i dont want to submit these jobs separately,can anybody plz give me a
example program? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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? |
|
Back to top |
|
|
nandakumar Warnings : 2 New User
Joined: 05 May 2005 Posts: 50
|
|
|
|
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 |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
Back to top |
|
|
baldi
New User
Joined: 16 Jun 2005 Posts: 13 Location: Amsterdam
|
|
|
|
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 |
|
|
nandakumar Warnings : 2 New User
Joined: 05 May 2005 Posts: 50
|
|
|
|
hi,
hi,
i dont know rexx,can ugive me a example JCL OR COBOL
program for above situation |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
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 |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 420 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
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 |
|
|
|