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
 
Running each step in a job in different environment.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
gokuldass

New User


Joined: 18 Mar 2005
Posts: 48
Location: india

PostPosted: Tue Mar 20, 2012 12:55 pm    Post subject: Running each step in a job in different environment.
Reply with quote

Hi,

I have a requirement in which I am running a job which has 3 steps.
Step1 : extract data from db2 tables
Step2 : process the data ( doing some validation through rexx routine)
Step3 : FTP the output from step2 to server.

I have to run these 3 steps in 2 different jes2 environment - SDEV (development) and SIBM (production). Step1, Step3 should run in SIBM environment and only step2 should run in SDEV environment.

Could you please suggest/provide some guidance on how to achive it.

I tried with /*Jobparm s=(SDEV,SIBM) but it takes the environment from which I am submitting the job.

Thanks in advance.

Regards,
Gokul Dass
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Tue Mar 20, 2012 1:19 pm    Post subject: Reply to: Running each step in a job in different environmen
Reply with quote

So, why don't you, or someone authorised, submit it from production?
Back to top
View user's profile Send private message
gokuldass

New User


Joined: 18 Mar 2005
Posts: 48
Location: india

PostPosted: Tue Mar 20, 2012 1:33 pm    Post subject:
Reply with quote

It is actually not the production job. I am just extracting some contents from prod db2 tables with UR. But the thing is, my rexx routine in step2 runs for 2 hours which will consume some cpu time. If I run it in prod environment, it will be counted for CPU cost but if I do it in test, it is not counted.

Regards,
Gokul Dass
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1005
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Mar 20, 2012 2:11 pm    Post subject:
Reply with quote

Run as separate jobs on the separate systems.

Garry.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Tue Mar 20, 2012 10:08 pm    Post subject:
Reply with quote

gokuldass wrote:
my rexx routine in step2 runs for 2 hours which will consume some cpu time


or use a COBOL or ASM routine and run in 2 min.
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 Xpediter: STEP OVER cobol section Auryn Compuware & Other Tools 0 Thu Feb 22, 2018 9:30 pm
No new posts OLDS frozen in BACKOUT status when On... lind sh IMS DB/DC 3 Tue Feb 13, 2018 7:12 pm
This topic is locked: you cannot edit posts or make replies. DB2 for Z/OS(set up environment) Pavan kumar chauhan DB2 1 Tue Dec 05, 2017 8:03 pm
No new posts Job is running with no response!!! Vignesh Sid DB2 3 Fri Oct 27, 2017 6:28 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am

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