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
 

 

two procs should run in different systems with same jobcard

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
triloknathreddy

New User


Joined: 13 Nov 2007
Posts: 10
Location: hyderabad

PostPosted: Thu Sep 23, 2010 2:42 pm    Post subject: two procs should run in different systems with same jobcard
Reply with quote

Hi,

the job card calls to two procs, two procs shouls run on different systems.

//BLTK00WW JOB (45034,2120,00000,1111),'TERA..COBRA',
// CLASS=A,MSGCLASS=J,REGION=6M,NOTIFY=BLTK00
/*JOBPARM SYSAFF=SYSE
// JCLLIB ORDER=(BATCH.LO.M418366.JOBCARDS.TEST.TEST)
//*
//TRILOK EXEC TRILOK
/*OUTPUT CODE SYSAFF=SYSD
//TILLU EXEC TILLU
//

The above one is not working, can any one help me on these.
SYSAFF parameter decides the system.
Back to top
View user's profile Send private message

Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1770
Location: Bloomington, IL

PostPosted: Thu Sep 23, 2010 2:57 pm    Post subject:
Reply with quote

Why do you think that the procs should run on different systems?
Back to top
View user's profile Send private message
triloknathreddy

New User


Joined: 13 Nov 2007
Posts: 10
Location: hyderabad

PostPosted: Thu Sep 23, 2010 3:39 pm    Post subject:
Reply with quote

i have existed proc which contains teradata and sas, teradata needs to run on cyst and sas no longer runs on cyst, becoz they expired sas on sysd, hence i have to spilt the proc in to two procs.

Two methods to solve these
1)we can have to job cards , one job runs on sysd for teradata and sas on syse.---> Need to change the dependencies
2). one job card which calls these two procs and runs on two different systems, hence no need of changing the dependecies.

if i have job card which runs these two procs, i no need to change the dependencies.

Let me know ur thoughts on these.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1770
Location: Bloomington, IL

PostPosted: Thu Sep 23, 2010 4:07 pm    Post subject:
Reply with quote

Let me rephrase the question:

Given that you claim over three years experience in using JCL, what in that experience makes you think that a single job can somehow run programs on different LPARs?

It's been decades since I last worked on a JES2 system, but that OUTPUT card doesn't look as though it has the proper syntax. If you can get assistance from a senpai in your shop, I strongly urge you to do so.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2435
Location: Netherlands, Amstelveen

PostPosted: Thu Sep 23, 2010 4:12 pm    Post subject:
Reply with quote

Quote:
1)we can have to job cards , one job runs on sysd for teradata and sas on syse.---> Need to change the dependencies


Lazy huh?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Sep 23, 2010 4:31 pm    Post subject:
Reply with quote

So if my understanding is correct here, you want your job to start off on one LPAR, finish the process of PROC1 and then take a stroll over to another LPAR to process PROC2.

You are joking, aren't you

36_2_18.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Thu Sep 23, 2010 4:59 pm    Post subject:
Reply with quote

Oh, my. icon_cry.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Sep 23, 2010 7:29 pm    Post subject: Reply to: two procs should run in different systems with sam
Reply with quote

Quote:
the job card calls to two procs, two procs shouls run on different systems.

As the Rolling Stones once told:

"You can't always get what you want. . ."

Quote:
if i have job card which runs these two procs, i no need to change the dependencies.
Let me know ur thoughts on these.
Create 2 jobs and schedule appropriately. . .

d
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Sep 24, 2010 4:00 pm    Post subject: Re: two procs should run in different systems with same jobc
Reply with quote

triloknathreddy wrote:
the job card calls to two procs, two procs shouls run on different systems.
To start with, you run (execute) Jobs not the PROCs. (okay...just being picky.).

I believe, if you tell us what is that you want to achieve, possibly there can be alternate solutions instead of telling us what do you think can be a solution in itself.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Sep 24, 2010 7:26 pm    Post subject:
Reply with quote

Hi Anuj,

TS explained that there is currently a process that runs on one machine. Due to some changes, the goal is now to run one part of the job on one machine and the other part on a different machine.

TS also explained that one of their alternatives is to split this into 2 jobs and run each job on the appropriate system.

In order to get around documenting/promotinig the second job TS wants this to be "automagic" . . .

As TS already recognized and as has been suggested, 2 jobs should be used/scheduled - one for each system/machine.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. BAE Systems - Recruitment Open Days -... Express Mainframe Jobs 0 Fri Apr 22, 2016 8:19 pm
This topic is locked: you cannot edit posts or make replies. Job Offer: Information systems consu... Express Mainframe Jobs 0 Thu Mar 10, 2016 7:18 pm
This topic is locked: you cannot edit posts or make replies. Canada mainframe systems programming ... Gary Jacek Mainframe Jobs 0 Sat Jan 30, 2016 4:26 am
No new posts How to select multiple systems in AFO... rabiswas CA Products 8 Fri Feb 13, 2015 10:13 pm
No new posts Symbolic vaiable in procs instream data bhavya_sha JCL & VSAM 3 Fri Jan 16, 2015 4:45 pm


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