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: 7315

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

Active Member


Joined: 08 May 2006
Posts: 998
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: 6968
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am

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