problem in ftp

Post anything related to mainframes (IBM & UNISYS) if not fit in any of the above categories

problem in ftp

Postby mehi1353 » Sat Sep 07, 2013 5:41 pm

When I use ftp to transfer a file from pc to a pds in mainframe in ascii mode, If a member with the same name exist in pds, the "changed time" of member will be set to "UTC time", instead of "local time"!

How I can force ftp to set the "changed time" in "local time"?

(here in my country, local time = utc time +4:30)
Posts: 35
Joined: Sun Jan 11, 2009 4:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: problem in ftp

Postby Ed Goodman » Sun Sep 08, 2013 8:03 pm

If you change the PDS manually on the mainframe, which time do you get?

Are you logging in to the mainframes FTp server or are you running the FTP client on the mainframe and logging in to the network/pc FTP server?

I don't see anything in my old FTP mainframe manual that speaks to this issue.
Ed Goodman
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Re: problem in ftp

Postby MrSpock » Sun Sep 08, 2013 9:56 pm

User avatar
Global moderator
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: problem in ftp

Postby Robert Sample » Fri Sep 13, 2013 4:52 am

Since FTP on a z/OS system is a TCP/IP function, does the user id used for the FTP have a .profile -- and if so, is there an export TZ= line? If there is no export TZ= line in the .profile for the user id, or there is no .profile for the user id, then what is the export TZ= line in /etc/profile -- if this is controlling the FTP time value, you may have to define a .profile or add a line with export TZ= to the existing .profile for the user id.
Robert Sample
Global moderator
Posts: 3682
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 274 times

Return to All other Mainframe Topics


  • Related topics
    Last post