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

Running each step in a job in different environment.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Mar 20, 2012 1:19 pm
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
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: 1193
Location: Dublin, Ireland

PostPosted: Tue Mar 20, 2012 2:11 pm
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: 6966
Location: porcelain throne

PostPosted: Tue Mar 20, 2012 10:08 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
Search our Forums:

Back to Top