Wouldn't it be great if you didn't have to configure default system environment variables like TZ for each and every job?
If you agree, please vote for this RFE: ------------------------------------------------------------ -------------------------------------------------------------- Notification generated at: 25 Sep 2014, 09:25 AM Eastern Time (ET) ID: 59716 Headline: Provide option for dubbed processes to inherit environment from init process Submitted on: 25 Sep 2014, 09:25 AM Eastern Time (ET) Brand: Servers and Systems Software Product: z/OS Link: http://www.ibm.com/developerworks/rfe /execute?use_case=viewRfe&CR_ID=59716 ------------------------------------------------------------ -------------------------------------------------------------- Kirk Wolf Dovetailed Technologies http://dovetail.com On Sun, Nov 2, 2014 at 12:51 PM, Tim Brown <[email protected]> wrote: > John > > Thanks!! > > Tim > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of John McKown > Sent: Sunday, 02 November, 2014 10:26 AM > To: [email protected] > Subject: Re: msg BPXF024I with EZYFS60I > > It depends on how you start the FTP server. But, basically, you need to > set the TZ environment variable to the proper value. For me, in the U.S. > Central Time Zone, I have TZ=CST6CDT . I set it in a couple of places. One > is in the LE parameters. As shown below: > > === SYS1.PARMLIB(CEEPRM00) === > /* NONCICS LE PARMS */ > CEEDOPT( > ALL31(OFF), > STACK(,,BELOW) > CBLQDA(OFF), > COUNTRY(US), > DEBUG, > DYNDUMP(*USERID,DYNAMIC,NOTDUMP), > ENVAR('TZ=CST6CDT'), > LIBSTACK(8K,4K,FREE), > STORAGE(NONE,NONE,NONE,8K) > ) > /* CICS LE PARMS */ > CEECOPT( > ALL31(OFF), > STACK(,,BELOW), > STORAGE(00,NONE,NONE,0K) > ) > /* 64 BIT GROUP */ > CELQDOPT( > ) > > === > > But, in this particular case, I have customized the FTPD started task JCL. > Example: > > //FTPD PROC MODULE='FTPD',PARMS='' > //FTPD EXEC PGM=&MODULE,REGION=4096K,TIME=NOLIMIT, > // PARM=('POSIX(ON) ALL31(ON) TZ=CST6CDT ', > // 'ENVAR("RESOLVER_CONFIG=/etc/resolv.conf","TZ=CST6CDT")/&PARMS') > //* > > You'll likely notice I have the TZ=CST6CDT in two places. That was due to > confusion on my part as to where it actually goes. I _think_ it only needs > to be within the ENVAR(...) portion. But it doesn't seem to hurt being in > both. So I cowardly left it alone once I had it doing what I wanted. > > > On Sun, Nov 2, 2014 at 8:23 AM, Tim Brown <[email protected]> wrote: > > > These messages are not showing the local Z/OS time which is this > > case was 09:18 > > > > Is there a parameter that controls this > > > > 09:18:17.75 STC09130 00000090 BPXF024I (EMS) Nov 2 14:18:17 ftps > > 16777562 : E > > 781 > > 781 00000090 CONN ends Input=223 bytes Output=0 > > bytes > > > > Tim > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, send > > email to [email protected] with the message: INFO IBM-MAIN > > > > > > -- > The temperature of the aqueous content of an unremittingly ogled culinary > vessel will not achieve 100 degrees on the Celsius scale. > > Maranatha! <>< > John McKown > > ---------------------------------------------------------------------- > 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 > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
