Ask the Expert

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 first published in September 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: