Good idea. My "target" *might* be an LE program and *might* honor TZ -- I
don't know. I will run a test.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Jerry Whitteridge
Sent: Monday, September 10, 2012 11:42 AM
To: [email protected]
Subject: Re: Possible to run a jobstep with a different timezone?

Charles - I believe you may be able to use some of the LE parms to set a TZ=
variable. (Not tested here as we don't run systems on multiple timezones).
Look at the settings / overrides for LE for more information

Jerry Whitteridge
Lead Systems Programmer
Safeway Inc.
925 951 4184

If you feel in control
you just aren't going fast enough.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Charles Mills
Sent: Monday, September 10, 2012 9:03 AM
To: [email protected]
Subject: Possible to run a jobstep with a different timezone?

Is there a technique, statement or utility that will cause a program or
jobstep to "see" a different timezone? I recall you could do this in VSE. I
looked at the CBT tape and did not find anything. Is there a programming
technique that would work? The politics are such that writing code is a more
acceptable solution than a vendor product.

Here is the sort of solution I need or picture. Approach 1:

//STEP1 EXEC PGM=RUNTIME,PARM='parms for REALPROG'
//RUNTIME DD *
REALPROG PDT or REALPROG -9
/*
// DD statements for REALPROG

Where RUNTIME LINKs to REALPROG first having modified z/OS control blocks
such that REALPROG (only -- not other programs in the system) "sees" the
timezone as PDT, UTC-9.

Approach 2:

//STEP1 EXEC PGM=RUNTIME,PARM='PDT' or PARM='-9'

and subsequent steps in the job -- but not other programs in the LPAR --
"see" the timezone as PDT, UTC-9.

Was there some sort of technique to do this developed during the Y2K
excitement?

What do shops do that have LPARs that serve users in multiple time zones --
some one-off homegrown solution that works (only) for them?

Thanks,

Charles 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [email protected] with the message: INFO IBM-MAIN


"Email Firewall" made the following annotations.
----------------------------------------------------------------------------
--

Warning: 
All e-mail sent to this address will be received by the corporate e-mail
system, and is subject to archival and review by someone other than the
recipient.  This e-mail may contain proprietary information and is intended
only for the use of the intended recipient(s).  If the reader of this
message is not the intended recipient(s), you are notified that you have
received this message in error and that any review, dissemination,
distribution or copying of this message is strictly prohibited.  If you have
received this message in error, please notify the sender immediately.   
 
============================================================================
==

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to