Problem solve Get help with specific problems with your technologies, process and projects.

Make the creation time current

When I copy a file to QDLS using CPYTOPCD, the creation time on the file is five hours behind the current time....

Why does this happen and how can I make the creation times current?

Check this system value and set it to equal your offset from GMT.

System value . . . . . : QUTCOFFSET
Description . . . . . : Coordinated universal time offset

Offset . . . . . . . . : -07:00 -24:00 to +24:00

I'm in the Pacific Time Zone, which is offset seven hours from GMT during the summer when we are on daylight savings time. In the winter, when we go back to standard time I reset this value to -08:00.

Take your system to a restricted state (ENDSBS *ALL *IMMED), make this change and then start up your system again. This will insure that all system services get the correct offset.


The Best Web Links: tips, tutorials and more.

Ask your OS/400 questions--or help out your peers by answering them--in our live OS/400 discussion forums.

This was last published in September 2002

Dig Deeper on Past Releases

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.