+ Reply to Thread
Results 1 to 2 of 2

Thread: Using LOCALE on AS/400

  1. #1

    Default Using LOCALE on AS/400

    I'm trying to use LOCALE on AS/400 to be able to use different date/time for remote user. For example a user in the Bahamas connected on a centralized AS/400 in Scotland want to get the date/time from the Bahamas for his transactions, not from the system (Scotland) date/time. I use the "tzdiff" parameter but it doesn't work. The *CCSID, *DATSEP, etc, work very fine. I still always have the same date and time as the centralized system. Do we need to do something more ?

  2. #2
    Guest.Visitor Guest

    Default Using LOCALE on AS/400

    Thierry, The things you have managed to affect directly are all job attributes. Time of day is not something you can set by changing a job. I'm only guessing but I think this may be the problem. A program has different options for accessing the time: eg. using the TIME opcode or retrieving the system time. Would you expect the locale setting to affect all of these the same way? If not, you would have to examine the program code before you could be sure what effect the locale settings would have. I may well be wrong but I've a feeling that the program may have to retrieve the locale, examine the tzdiff setting and make any adjustments to its time processing directly. Dave...

+ Reply to Thread

Similar Threads

  1. LOCALE source + QDECFMT issue
    By Guest.Visitor in forum IBM i (OS/400, i5/OS)
    Replies: 1
    Last Post: 05-31-2002, 04:33 PM
  2. How to use locale objects?
    By Guest.Visitor in forum Analysis
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts