Re: (forte-users) DateTimeData and time zones, I need amagictrick !

You might try externalizing as textdata whenever its passed between partitions.
kelsey.petrychynsasktel.sk.ca on 04/26/2000 03:45:28 PM
To: "Guylain Rochon" <GRochonInfluatec.ca>
cc: kamranaminyahoo.com (bcc: Charlie Shell/Bsg/MetLife/US)
Subject: Re: (forte-users) DateTimeData and time zones, I need a magic trick !
I haven't done a lot of work with time zones, but I have some ideas that just
may work. If it is important for this object to pass in and out of time-zones
untouched by the destination try passing it by reference. The idea is that the
actual object will remain in one time zone. You may need to "anchor it down"
somehow where it resides (Make it private, READ_ONLY or ??).
Another thing to try is: If it is passed via a method set the mechanism as
"input". I believe this will stop the destination from changing it. (i.e. It
will receive it as input only).
Just some ideas. Good luck.
Kelsey PetrychynSaskTel Technical Analyst
ITM - Technology Solutions - Distributed Computing
Tel (306) 777 - 4906, Fax (306) 359 - 0857
Internet:kelsey.petrychynSasktel.sk.ca
Quality is not job 1. It is the only job!
Guylain Rochon <GRochonInfluatec.ca> on 04/26/2000 01:15:47 PM
To: "\[FORTE\] Maling list" <kamranaminyahoo.com>
cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
Subject: (forte-users) DateTimeData and time zones, I need a magic trick !
Help, I'm drowning and Fort

I haven't done a lot of work with time zones, but I have some ideas that just
may work. If it is important for this object to pass in and out of time-zones
untouched by the destination try passing it by reference. The idea is that the
actual object will remain in one time zone. You may need to "anchor it down"
somehow where it resides (Make it private, READ_ONLY or ??).
Another thing to try is: If it is passed via a method set the mechanism as
"input". I believe this will stop the destination from changing it. (i.e. It
will receive it as input only).
Just some ideas. Good luck.
Kelsey PetrychynSaskTel Technical Analyst
ITM - Technology Solutions - Distributed Computing
Tel (306) 777 - 4906, Fax (306) 359 - 0857
Internet:kelsey.petrychynSasktel.sk.ca
Quality is not job 1. It is the only job!
Guylain Rochon <GRochonInfluatec.ca> on 04/26/2000 01:15:47 PM
To: "\[FORTE\] Maling list" <kamranaminyahoo.com>
cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
Subject: (forte-users) DateTimeData and time zones, I need a magic trick !
Help, I'm drowning and Fort

Similar Messages

  • Re: (forte-users) SAXParser and InputSource

    Michael Beaulieu wrote on Mon November 8:
    Hello,
    I was wondering if anyone has any experience using the XMLParser
    Library!? in Forte. I have no problem parsing a file using the
    forte parser but when I try to parse a message/TextData object I get
    the error " element not found " ( which is not due to my xml file )
    The class InputSource has a method that takes SeekStream in its
    setCharacterStream method:
    str : MemoryStream = new();
    str.open(SP_AM_READ_WRITE);
    str.WriteText(myMessage);
    theSource : InputSource = new();
    theSource.setCharacterStream(str);
    myParser.parse(theSource);Add this line after you're done writing to the MemoryStream:
    str.Seek(position=0);
    When the SAX parser is reading, it's reading from the current position
    forward; after writing to the stream the current position is at the
    end, so you have to rewind it to the beginning before giving it to the
    SAX parser.
    Cliff Draper
    Forte Engineering
    Forte Software, a subsidiary of Sun

    Why not this:
    while myText.moveToString(' ') do
    myText.ReplaceRange('-', myText.Offset, myText.Offset+1);
    end while;
    or if you prefer verbosity:
    while myText.moveToString(source=' ') do
    myText.ReplaceRange(source='-', startOffset=myText.Offset,
    endOffset=myText.Offset+1);
    end while;
    -----Original Message-----
    From: FatchJeBAM.com [mailto:FatchJeBAM.com]
    Sent: Wednesday, January 12, 2000 2:51 PM
    To: Troy.Burnsvacationclub.com; kamranaminyahoo.com
    Subject: RE: (forte-users) search and replace within a TextData
    How about this?? May have to play with start/end on ReplaceRange as I
    didn't really test this
    Anybody got a better way??
    -- replace space with underscore
    For x in 1 to myTextdata.LengthToEnd() do
    If myTextData.IsSpace() then
    MyTextdata.ReplaceRange('_'. Startoffset=myTextdata.offset,
    endoffset=myTextdata.offset+1);
    End if;
    MyTextdata.MoveNext;
    End for;
    Jerry Fatcheric
    -----Original Message-----
    From: Burns, Troy [mailto:Troy.Burnsvacationclub.com]
    Sent: Wednesday, January 12, 2000 9:40 AM
    To: kamranaminyahoo.com
    Subject: (forte-users) search and replace within a
    TextData
    Hello all,
    I need to search within a textdata object, replacing all
    occurrances of a
    space
    with another character. Can you give a quick code example
    of how I would do
    this?
    Thanks in advance,
    Troy
    Troy Burns
    Marriott Vacation Club Intl.
    E-mail: troy.burnsvacationclub.com
    Phone: (941) 688-7700 ext. 4408
    For the archives, go to: http://lists.sageit.com/forte-users
    and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.sageit.com
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

  • Sales Office Master - Country, Region and Time Zone

    Dear All,
    In one of the Project, for some config-settings, I need to create Sales Offices. Here, Sales Offices is basically the Countries, to which business is happening.
    For example,
    Jordan
    Mexico
    Colombia
    etc...
    Now, while maintaining Sales Office records, System prompts for Sales Office Address. Initally, i maintained Country as per the Sales Office, for example:
    For Sales Office Nepal, Country Nepal
    For Sales Office Mexico, Country Mexico
    etc...
    Now, when i checked previously maintained entries in to System, I found that:
    For Sales Office New Hampshire, Country India
    For Sales Office California, Country India
    etc...
    When, I inquired about the same to concern Persons, within particular Organization, they are unable to explain, as these entries are maintained by Previous Implementation-Partner.
    Can anyone explain, what entry needs to be maintained as Address - Country, Region and Time Zone, for International Offices? Is there particular logic for the same?
    Best Reagrds,
    Amit

    Dear All,
    Thanks for the Support, provided.
    Let me explain, my scenario, in detail.
    I am maintaining Profit Center, in Sales Order, based upon Substitution Rule.
    For that, I have to maintain Profit Center, based upon Sales Area and Sales Office combination.
    suppose, If my combination is:
    1. if Sales Area is 10100107 and Sales Office is Colombia, then Profit center would be X
    2. if Sales Area is 10100107 and Sales Office is Mongolia, then Profit center would be Y
    Now, Important aspect is all Sales Organizations are maintained under Company Code ABC; and Company ABC is maintained under Country INDIA. Whereas, Sales Offices are both, Domestic, as well as International.
    My queries are:
    1. What effect has gone be made, if Sales Org is maintained under India and Sales Office, under some other country, in Sales Order?
    2. Also, based upon Sales Office, System must pick the Transaction Currency, in Sales Order?
    Best Regards,
    Amit

  • RE: (forte-users) search and replace within aTextData

    Welll, you're both right. The MoveToChar makes it unnecessary (if a little
    sloppy) to MoveNext as long as you've changed the character. thus,
    outStr: TextData = new;
    outStr.SetValue(inStr);
    while (outStr.MoveToChar(' ')) do
    outStr.ReplaceRange('_', outStr.Offset, outStr.Offset+1);
    end while;
    return outStr;
    works fine to change blanks to underscores.
    Regards,
    David
    -----Original Message-----
    From: Campbell, Dave [mailto:DCampbellpurolator.com]
    Sent: Friday, 14 January 2000 0:58
    To: 'Matthew Middleton'
    Cc: kamranaminyahoo.com
    Subject: RE: (forte-users) search and replace within a TextData
    If you do not use the MoveNext method to skip beyond the "found" character,
    a subsequent invocation of MoveToChar will find the same character, located
    at exactly the same offset.
    If there is no match, MoveToChar returns FALSE and the current offset does
    not change.
    ----- Original Message -----
    From: Matthew Middleton <mathew.middletonlawpoint.com.au>
    To:kamranaminyahoo.com
    Unless I'm missing something here...you needn't go through every
    character...use MoveToChar()...as per Help...
    while (TextdataObj.MoveToChar (' ')) do
    end while;
    Regards,
    Dave Campbell
    Consultant,
    Caro Systems Inc.
    Mailto:Dave.CampbellCaroSys.com
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

    Why not this:
    while myText.moveToString(' ') do
    myText.ReplaceRange('-', myText.Offset, myText.Offset+1);
    end while;
    or if you prefer verbosity:
    while myText.moveToString(source=' ') do
    myText.ReplaceRange(source='-', startOffset=myText.Offset,
    endOffset=myText.Offset+1);
    end while;
    -----Original Message-----
    From: FatchJeBAM.com [mailto:FatchJeBAM.com]
    Sent: Wednesday, January 12, 2000 2:51 PM
    To: Troy.Burnsvacationclub.com; kamranaminyahoo.com
    Subject: RE: (forte-users) search and replace within a TextData
    How about this?? May have to play with start/end on ReplaceRange as I
    didn't really test this
    Anybody got a better way??
    -- replace space with underscore
    For x in 1 to myTextdata.LengthToEnd() do
    If myTextData.IsSpace() then
    MyTextdata.ReplaceRange('_'. Startoffset=myTextdata.offset,
    endoffset=myTextdata.offset+1);
    End if;
    MyTextdata.MoveNext;
    End for;
    Jerry Fatcheric
    -----Original Message-----
    From: Burns, Troy [mailto:Troy.Burnsvacationclub.com]
    Sent: Wednesday, January 12, 2000 9:40 AM
    To: kamranaminyahoo.com
    Subject: (forte-users) search and replace within a
    TextData
    Hello all,
    I need to search within a textdata object, replacing all
    occurrances of a
    space
    with another character. Can you give a quick code example
    of how I would do
    this?
    Thanks in advance,
    Troy
    Troy Burns
    Marriott Vacation Club Intl.
    E-mail: troy.burnsvacationclub.com
    Phone: (941) 688-7700 ext. 4408
    For the archives, go to: http://lists.sageit.com/forte-users
    and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.sageit.com
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

  • RE: (forte-users) XML and XSL in Forte

     

    We too (at Viking Freight) would also be very interested to see if anybody
    has produced such a useful series of classes...
    Frank Lees, Developer
    -----Original Message-----
    From: Amin, Kamran [mailto:kamran.aminframeworkinc.com]
    Sent: Wednesday, January 19, 2000 12:11 PM
    To: 'Forte User'
    Subject: (forte-users) XML and XSL in Forte
    Has anybody integrated an XSL parser with Forte. I know Forte provides us
    with an XML parser but that does not help with parsing XSL. There a lot of
    parsers written in JAVA but that will not integrate well with Forte. We
    need something that will be easy to integrate with Forte. This parser will
    take our XML and XSL to give us a result set. If anybody can comment on the
    subject or share some information I would appreciate it.
    thanks in advance.
    ka
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

  • Since loading mavericks my calendar posts events one hour late.  That is, if mtg invite is for 9am it posts at 10am.  my pc clock and time zone are correct.

    Since loading mavericks my calendar posts events one hour late.  That is, if mtg invite is for 9am it posts at 10am.  my pc clock and time zone are correct.

    Hey Armando Stettner,
    Thanks for the question, and what a great question it is!
    With time zone support on, you can edit an individual event and change the time zone for that event. This list will include options for your default time zones, UTC, and "floating" - the latter of which is what you are looking for. Floating changes the event to occur at the specified time, local time.
    For information on changing an event's time zone, see the following resource:
    Calendar: Change an event’s time zone
    http://support.apple.com/kb/PH11531
    I look forward to hearing how this works for you.
    Cheers!
    Matt M.

  • Capturing User Id and Time

    Hi All,
    I need to keep track of the user ID and Time for the data entered through a web interface.
    Please suggest the way to achieve this.
    Thanks,
    Deepthi.

    Hi Deepthi,
    there is a how to paper: How to Line Items in SEM-BPS.
    It describes how to add user and time to each dataset enterd/changed.
    Best regards
    Steffen

  • How to change date format and time zone from the client.

    In order to change time zone, you need to go Administration-> Access Management (Step 1), and select your name on the right (Step 2).
    Then select Edit tab at the bottom of the screen, and change both Time Zone and Regional Setting.

    Thanks for sharing, Agnes.

  • R: (forte-users) ASP and Forté

    Hi Kenny,
    I suggest you to use XML in order to publish your Fort&eacute; services.
    There is a Fort&eacute; Library called HTTPDC that let you start up a listener that
    answer to HTTP Request.
    So you will have a ASP/Fort&eacute; integration via HTTP/XML
    Hope this helps.
    ----- Original Message -----
    From: BOLIVARD Kenny <BOLIVARDPREVIADE.FR>
    To: <forte-userslists.xpedior.com>
    Sent: Friday, February 23, 2001 8:43 AM
    Subject: (forte-users) ASP and Fort&eacute;
    Hi everybody!
    I'm a new Fort&eacute; developer, so i have some question about it, speciallyone:
    I want to access Fort&eacute; service objects through an ASP script. To be more
    precise, I want to get back some informations (like, for exemple, the
    information of a customer's account) from the Fort&eacute; world and to make-upthe
    web page in my ASP script.
    Is it possible writing an ASP script (in VisualBasic for example) witch
    calls Fort&eacute; service objects?
    How can I do that? Maybe by using Web Enterprise's libraries, but itseems
    to me that Web access service objet returns only HTLM pages.
    Any suggestions and explanations would be appreciated.
    Thank's in advance for your replies,
    Kenny,
    PREVIADE.
    France.
    Ps: Sorry for my bad english. ;))
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Sorry for the mistake... I talked about the notification patner.
    Daniel Nguyen a &eacute;crit:
    Hi,
    Use the Notication patner. You can find a sample and some explanation on
    http://perso.club-internet.fr/dnguyen/
    Hope this helps,
    Daniel Nguyen
    DARTIGUENAVE Antoine a &eacute;crit:
    Bonjour,
    la gestion d'un cache de donn&eacute;es de r&eacute;f&eacute;rence dans une application TP
    serveur permet le raffraichissement
    du cache quand l'appli a signifi&eacute; un update .
    Or un batch ( appli distincte ) mettra aussi &agrave; jour ces donn&eacute;es.
    Comment signifier &agrave; l'IHM qu'une donn&eacute;e a &eacute;t&eacute; updat&eacute;e ce qui lui permettra
    de rafraichir le cache &agrave; la lecture ?
    merci d'avance pour toute id&eacute;e sur ce sujet !
    Antoine Dartiguenave
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • My husband gave me his iPod touch, even after resetting all settings, and even though I have a user name and password whenever I need to update apps it shows his previous user name,  and is asking for his password.  How do I fix that?

    My husband gave me his iPod touch, even after resetting all settings, and even though I have a user name and password, whenever I need to update apps it shows his previous user name,  and is asking for his password.  How do I fix that?

    dom59 wrote:
    Ok, when I go into my Apple ID account, everything looks right.  It does show my user name.  It's only on the iPod that it shows my husband's previous user name, and it asks for his password.  Everything in iTunes and my account looks right.  The issue only seems to be with the actual device, iPod Touch 4th gen.
    There is more than one way to access the Apps Store and the iTunes store.  One is via iTunes on your computer, and the other is via the apps on your iPod.
    Just because you are logged in on your computer does not mean you are logged in on your iPod.
    The reason your husband's user name comes up is because he was the last one to log on.  You can change that by going to Settings>Store.  Tap the Apple ID, Tap Sign Out, Tap Sign In, Tap Use Existing Appel ID, enter your e-mail address and Apple ID password, and tap OK.

  • Same user has different time zone setting in Analytics & BI Publisher

    Hi All,
    i am using OBIEE 11.1.1.3.0 now,
    1) when login to http://localhost:9704/analytics, the time zone setting is (GMT+08:00) Taipei,
    2) when login to http://localhost:9704/xmlpserver, the time zone setting is [GMT-11:00] Midway Island, Samoa,
    it is different, why? and i can't even modify the time zone setting in BI Publisher.
    Regards,
    Makson

    do you know how does the default time zone setting come from?It comes with the installation itself default. or it will be related to some database timezone that will be taken by BI.
    default time zone values can be changed with variables that have been newly introuduced system session variables like TIMEZONE in OBIEE 11g
    TIMEZONE --> Contains the time zone of the user, typically populated from the LDAP profile of the user.
    By,
    KK
    Edited by: KK on Oct 29, 2010 3:07 AM

  • Cisco ISE users self-registration Time Zone

    Hello, everyone!
    I'm configuring ISE Guest portal and I wonder why I need to choose time zone while in self-registration? Where is it used? And how can I disable this parameter from the self-registration page?

    Time profiles provide a way to give different levels of time access to different guest accounts. Sponsors must assign a time profile to a guest when creating an account, but they cannot make changes to the time profiles. However, you can customize them and specify which time profiles can be used by particular sponsor groups. Beginning with Cisco ISE 1.2 time profiles are referred to as the account duration in the Sponsor portal.
    Cisco ISE 1.2 includes these default time profiles, which replace the profiles available previously:
    DefaultFirstLoginEight—the account is available for 8 hours starting when the guest user first successfully connects to the Guest portal. This replaces the DefaultFirstLogin time profile.
    DefaultEightHours—the account is available for 8 hours starting when sponsors first create the account. This replaces the DefaultOneHour time profile.
    DefaultStartEnd—sponsors can specify dates and times on which to start and stop network access.

  • Location Manager and Time Zones Feature Request

    I use my Powerbook for consulting - and travel extensively.
    Location Manager handles my network setups, but, to the best of my knowledge, NOT the time zone information.
    I'd like to have the option to set the time zone from my location manager, so that when I get to a customer site, and attach to the network, files, iCal, Mail, and other timestamped files are correctly in sync with the location.
    I could probably write an automator script to do this, but it would be best supported directly in Location Manager.

    Hi, Kirk. Welcome to the Discussions.
    For Mac OS X feature requests, submit a Mac OS X Feedback. These Discussions are user-to-user communications only. Feedback is the formal mechanism for submitting feature requests.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Exchange/Outlook and iPhone 1 hour off, and Time Zone Support is OFF

    Hi, in reading thru the threads about Accepting an appointment in an iPhone shifting the appointment 1 hour ahead in the iPhone and Outlook 2003, the consensus is that the issue is with a bug in the Time Zone Support setting in Mail, Contacts and Calendars, and that either refreshing this setting or disabling Time Zone Support fixes the sync. At our facility there were 2 iPhone 3GSs that had this issue and the refresh fixed only one of them. The other persists in moving the appointment forward 1 hour after accepting on the iPhone; if the user accepts from Outlook, the correct time is reflected on the iPhone. The strange thing is that the appointment time is correct when it shows up in the calendar inbox, you can watch it move the appointment forward after pressing accept on the iPhone!
    I've double-checked everything on the Outlook/Exchange side, the time zone and DST settings are correct. This user has noticed this behavior after DST in March.
    Anything I'm missing?

    they are not always on the same time due to daytime saving time changes twice a year in Israel which are not syncronized with any changes in Gaza, Beirut, etc.

  • ISE 1.3 - Multiple ADs and time zone

    Hi all,
    I have a question regarding time zone settings, AD interaction and ISE PSN.
    Assuming the following deployment:
    - ISE distributed deployment with 3
    - Each PSN is joined to a AD at a specific site (example: one in USA, one in Europe, one in Asia)
    If the DCs at each site have different clocks (same UTC time source, but different time zone) I'll probably run into issues, right?
    Because:
    First fact:
    Set correct time and timezone. Kerberos needs to be within 5 mins of the DCs you use
     (Source: Cisco Live Breakout BRKSEC-2132)
    Second fact:
    Also, it is important to have all the nodes in a single ISE deployment configured to the same
    time zone. If you have ISE nodes located in different geographical locations or time zones, you should
    use a global time zone such as UTC on all the ISE nodes.
     (Source: ISE 1.3 admin guide)
    So the first recommendation is, that the ISE PSN has the same clock as the local DC - on the other hand the time zones in one distributed deployment should be the same on all nodes.
    What to do?
    Big thanks in advance!
    Johannes

    Not yet - In my lab environment I'm not having a multi-tier CA (and I'm not very good when it comes to Microsoft Active-Directory stuff :) )
    Edit:
    I did one very limited test in my testlab. In my testlab I'm having one DC and two ISE appliances.
    Test1: I removed the AD join of the ISE appliances. The ISEs are configured for CET and I reconfigured the time zone of the DCs to UTC-7:00.
    ISE and DC clocks are correct (synced against NTP), but the absolute time is different due to different time zones.
    Then I joined the ISEs again - and it worked.
    Test2: I removed the AD join of the ISE appliances. The ISEs are configured for CET and I configured an incorrect static time to the DCs (some weird time).
    ISE join won't work
    Error Description: Clock skew detected with active directory server
    Support Details...
    Error Name: LW_ERROR_CLOCK_SKEW
    Error Code: 40087
    Perfect - different time zones are obviously ok...

Maybe you are looking for

  • Could not get exact contents from pdf using adobe acrobat professional

    Hi, I am using acrobat professional to extract contents from a pdf into HTML. During extraction of pdf into HTML some contents are getting rendered as images. But with pdf to xml extraction i can get the exact contents. But i need HTML file from pdf.

  • Modifying static variable in 1object dosent effect value in another object

    Hi, I have a simple class that declares a static variable x... class DeclareStatic      static int x = 10; }I have another class that modifies this static variable (x)... class ModifyStatic      public static void main(String[] Args)           Declar

  • Strange behavior of kMoveStoryRangeCmdBoss and kCopyStoryRangeCmdBoss

    Hi All, I use ITextUtils::QueryMoveStoryCommand with ignoreAttributes = kFalse to move text between text frames, while preserving text formating. But there were some cases when  text formatting was not preserved. I have tryed ITextUtils::QueryCopySto

  • Digital Booklet Won't Stop Downloading

    a few weeks ago i purchased an album on itunes that included a digital booklet...the album downloaded fine, and it began to download the booklet..it got to 99% and failed because of an error..since then, every single time i open itunes (literally) it

  • A jpeg marker segment length is too short

    While imaging with my Canon T1i last night with my astro club I took probably 75 or 80 pics.  Halfway through the session, my battery low indicator came on, so I changed the battery but may not have turned off the camera....I can't remember.....as I