JDCB Driver not doing data transformation on Julian dates and amount fields

Hi All,
In our newly installed BI Publisher instance (10.1.3) is not doing any data transformation on JDE Julian dates and Decimals. I've read that these field values are supposed to be converted automatically. Is there some setting in the JDEJDBC driver connection that makes this happen?
While working with Oracle support I've found the following:
1. Beware of white space in the collection string.
2. Make sure the JDE user logging in goes straight to JDE and has full view privlidges on the tables you are selecting on.
3. Parameters are not supported by the JDEJDBC Driver -- this pretty much renders this application worthless. Does anyone know of any workarounds?
Database IBM DB2 UDB version 6.1
JDE Version: World A7.3
Edited by: enorton on Jun 30, 2010 2:02 PM

Lets try com.jdedwards.as400.access.JDEWJDBCDriver (download from oracle support)
JDEWorldJDBC.jar There is inbuild date conversion and decimal shift.

Similar Messages

  • How to Convert Normal XML date or Oracle date to JDE Julian Date

    We can do a simple mathematical step in XSLT :
    'xpath20:format-dateTime(xpath20:current-dateTime(),"[Y0001][d001]") - 1900000'
    Or in SQL :
    Select to_char(sysdate,'YYYYDDD')-1900000 from dual;
    Julian Date is: Year in 4 digits, YYYY, and Number of days in 3 digits, DDD
    JDE Julian Date is Julian Date -1900000 (ie it counts Julian date from 1900 Year)
    "[Y0001][d001]” returns date in Year in 4 digit + number of days in 3 digits. This is the Julian date.
    Subtracting 1900000 ( ie YR ’1900’ & DAY ‘000’) gives the required JDE Julian Date.
    Edited by: prakash.pankaj on Jul 8, 2011 2:13 PM
    Edited by: prakash.pankaj on Jul 8, 2011 4:02 PM
    Edited by: panks on Jul 20, 2011 3:43 PM

    Hi,
    getTime() (in Date) will give you that date in milliseconds since January 1, 1970 00:00:00 GMT.
    To my knowledege, this is the same as Unix date format.

  • DVD drive not recognised after initial install of software and drivers - Server 2012 R2

    Hi
    I have a SATA DVDRW drive that isnt being recognised by windows server
    It is recognised in bios, and was initially recognised by windows, until installing an AV on the server.
    Looking under device manager, it can still be seen, but only as a hidden device (greyed out).
    Both the C: drive and the DVD drive are set in IDE mode in the bios (believe that is just meaning they are sandalone, rather than RAID mode)
    If the DVD drive is moved to another SATA port it is recognised by windows, however I want to keep these ports free, so i can use them to RAID my other HDDs as and when i get round to buying them.
    System specs:
    OS - Windows Server 2012 R2 with updates (Microsoft Dreamspark)
    MB - ASUS M5A78L/M - USB3
    RAM - 1x 4GB DDR3
    DVD drive - SAMSUNG superwritemaster SH223L
    Any help would be good :)
    soz if this is in the wrong forum, just point me to the right one
    Thanks
    J
    Hi guys - thanks for the responses.....
    we just tried something simple - swapping the OS drive and the DVD drive over (DVD was in sata 5, OS in sata 6 - now the other way round)
    This seems to have worked, so we are going to keep it that way round
    Seems Silly yet simple
    Thanks again

    hi, so you say that the drive will work in another SATA port is there the potential that the SATA port you are currently using has a fault? does it work with any other hardware?
    another option is a classic windows fault regarding the corrupt registry filters that would make a CD\DVD drive disappear in explorer, however i am not sure if this problem afflicts sever 2012. you could give it a go to see if it resolves the issue
    Press the Windows logo key + R to open the Run dialog box.
    Type regedit in the Run dialog box, then press Enter. If you are prompted for an administrator password or for a confirmation, type
    the password, or click Allow
    In the navigation pane, locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}
    In the right pane, click UpperFilters. 
    Note You may also see an UpperFilters.bak registry entry. You do not have to remove that entry. Click UpperFilters only. If you do not see the UpperFilters registry entry, you still might have to remove the LowerFilters
    registry entry. To do this, go to step 7.
    On the Edit menu, click Delete.
    When you are prompted to confirm the deletion, click Yes.
    In the right pane, click LowerFilters.
    Note If you do not see the LowerFilters registry entry, go to the next resolution.
    On the Edit menu, click Delete.
    When you are prompted to confirm the deletion, click Yes.
    Exit Registry Editor.
    Restart the computer.

  • 4GB Flash Drive not loading on Mac (but on Windows and Ubuntu)

    Hello,
    I have a 4GB flash drive (probably from LG) that I bought about 3 years ago. It was working just fine all this time but now, all of a sudden, it's gone. Not working, showing up neither in Finder nor in Disk Utility. But it works just fine on Windows 7 and Ubuntu. Files are even readable there. I tried re-formatting it on Ubuntu in FAT-32 but it still won't show up on a Mac.
    Any other flash drive is showing up on my computer (tested with 2 different ones).
    Any clue?

    I don't claim to know the solution to your problem, but in your situation I would try either or both administrator install methods: 1) Right-click the downloaded install file, choose "Run as Administrator" and install the software as usual. 2) Try using a different Windows account that you are positively certain has full administrator rights or the actual Administrator login name, install with that account.
    Also, make sure you empty the browser cache before retrying the http pages. What about other browser settings, like security or privacy settings? Any add-ons or antivirus browser helper objects?
    Do you only use Internet Explorer, or is this issue the same in Firefox, Opera, Chrome and Safari?
    Good luck, hope you get the error fixed.

  • Flash Drive not mounting, shows up in sys. prof. and USB Prober

    I have a 4Gig Flash Drive that doesn't mount. It shows up in both SYstem Profiler and USB Prober. Is there any way to "fix" it? I don't need to recover any files - I just want to be able to use it.
    It used to work, maybe a year ago. Havn't touched it since.
    The port is just fine, it's definitely the drive.
    Thanks for your time!

    it doesn't show up in disk utility. unless there is a way to force mount it, disk utility can't help.

  • Filtering report data based on user login and Parameter fields

    Post Author: mronquillo
    CA Forum: General
    Hi,I am running a report that filters data based on the user login. To do this, I created a formula called @user that compares the login name (using the CurrentCEUserName field) and returns the user's name. If the user login is not a login specified in the if statements, it returns the parameter field "user_name":For example: if CurrentCEUserName = "loginname1" then "User's Name 1"else if CurrentCEUserName = "loginname2" then "User's Name 2" else if CurrentCEUserName = "loginname3" then "User's Name 3"  else if CurrentCEUserName = "loginname4" then "User's Name 4".. .else {?user_name}   In select expert, I have a condition which filters data based on the string returned from that formula:{Table.Name} = {@user}  This works fine and when the users run the report they only their own data. However, they are still prompted to choose a parameter field regardless if of the value returned by the @user formula. Oddly enough, regardless of what parameter field they choose, they will still only see their own data (i.e. if John chooses "Bob" from the parameter list, he will still only see John's data.)If I remove the "else {?user_name}" line from the @user formula, then the users are not prompted anymore. However, if they are not a "valid" user - that is, if any of the if statements in the formula are not true for their login name - then they will see no data. What I want to do is make the report ONLY prompt the user to choose a parameter field if their login name is not "valid". That is, if the @user formula is able to return a string value for their login name, then they will jump right into the report without being prompted to choose a parameter - otherwise, the user will be prompted to choose a name from the parameter list. I thought my formula would allow this (hence the "else" clause), but it seems that if a parameter field is present in any formula, then the report automatically prompts the user to choose a parameter. Is what I am trying to accomplish possible in CR (I'm using CR v10.0) or is there a better way to do what I am trying to do?Thanks in advance.

    Post Author: sharonmtowler
    CA Forum: General
    try, or something like that
    (if CurrentCEUserName ={?user_name} then true else ({Table.Name} = {@user}) )

  • SQL Loader - CSV Data file with carraige returns and line fields

    Hi,
    I have a CSV data file with occasional carraige returns and line feeds in between, which throws my SQL loader script off. Sql loader, takes the characters following the carraige return as a new record and gives me error. Is there a way I could handle carraige returns and linefeeds in SQL Loader.
    Please help. Thank you for your time.
    This is my Sql Loader script.
    load data
    infile 'D:\Documents and Settings\user1\My Documents\infile.csv' "str '\r\n'"
    append
    into table MYSCHEMA.TABLE1
    fields terminated by ','
    OPTIONALLY ENCLOSED BY '"'
    trailing nullcols
    ( NAME CHAR(4000),
    field2 FILLER,
    field3 FILLER,
    TEST DEPT CHAR(4000)
    )

    You can "regexp_replace" the columns for special characters

  • Delta Loads are not working: 0FI_GL_10 With enhancement : HR Data in source

    Hello Friends. Thanks for your answer on theory which I know, Please help me with this situation. I read all the sdn response to my message and have below for your suggestion
    QUES1: Why the 0RECORDMODE is not coming in Standard DSO and hence it is not there in Transformation in between Infosource and DSO. What do I need to include 0RECORDMODE in standard DSO. What is the correct OSS to Implement on SP 10 to solve this.
    Ques2. As suggested by you If I run the Delta loads after waiting for 1 hour of Init load. say init load was done at 11 am . i will do the delta at 12:10 am to psa via Infopack and then wait for an hour to run the DTP from PSA to DSO. Delta Records come in but it also bring in the records in DSO that are not changed from about 7 hours in ECC. and make our total Balance incorrect.
    Ques3: We have this Cocatenation of Keys in DSO since we exceeded the total number of 13 key in DSO.
    Cocatenation#1 GL ACCT and CHRT OF ACCTS
    Cocatenation#1 SEGMENT AND CONT AREA
    Cocatenation#1 Version, Value Typem, Valuation view, Currency Type.
    <b>
    Since business want to include HR Data in Keys Like Employee Number, Emp Code, EMPSPIMCODE. Payroll ID and I can not remove these fields from Key in DSO as per the business.</b>
    Also the above fields GL ACCT , CHRT OF ACCTS, SEGMENT, CONT AREA
    exist in Data FIELDS OF DSO. so what are the steps to modify the design to fix this asap.
    Please email me at [email protected] if you have any docs to resolve the above
    Thanks
    Soniya
    null

    Did the full load bring all records from sourcesystem to PSA?
    Was this an issue with the first delta you have tested ?
    Concatentaion of multiple keys into one should not be an issue here as that must have been happening in DSO and delta brings incorrect records to PSA itself.
    Are you validating delta records against FAGLFLEXT inputing the timestamp value  or RSA3 ..how ?
    <b>Check if this note helps</b>
    Note 1002272 - NewGL-DataSource 0FI_GL_10, 3FI_GL_*: Missing record.
    Is delta bringing incorrect records to PSA or DTP brings incorrect records to DSO from PSA ?
    May be you should revisit the logic behind for the enhancement of 0FI_GL_10.
    I am facing a similar issue as well but here delta doesnot even bring a single record ( ODS has 20 keys )...will update if resolves and you do the same.
    Message was edited by:
            Jr Roberto

  • How to get the today's julian date in java?

    how to get the today's julian date in java?
    hi can any one tell me how to get the todays julian date using Calender class or GregorianCalender class....
    Julian date for 2006.November.01 AD 05:54 PM : 2454041.0
    i have tryied with
    calJ.setGregorianChange(new Date(Long.MAX_VALUE));
    System.out.println(sdf2.format(calJ.getGregorianChange()));
    thanks
    Tushar
    Message was edited by:
    lad_tushar

    thanks a lot....for intrest....
    I have found some details about the Julian calendar as follows:
    The Julian date for 2006: JAN: 01:12:01:59 is 2453737.00138
    245 represent the year digits for year 2006
    3737 represent the date fir 1 Jan
    .00138 represents the time for 12:01:59
    Julian date change as per every day 12 noon it increase one digit in it.
    As per ref from
    http://www.aavso.org/observing/aids/jdcalendar.shtml
    Also chk this calendar where Julian date is 20. October 2006 for 02 November 2006
    As per ref from
    http://www.calendar.sk/julian_calendar-en.php
    I have tried the pure �GregorianCalendar� class from jdk1.4 API and its setGregorianChange method but not getting as per the expected Julian date format. Using the �setGregorianChange()� i have setting the cutover date to Long.MAX_VALUE it means GregorianCalendar now have to act as per the Julian calendar ...so after setting the cutover date it return me changed date using �getGregorianChange()� but that was not the Julian date of the current date...as expected or as per above both scenario. Even though the last two digits are nowhere equal to the actual Julian date.
    Program
    GregorianCalendar cal = new GregorianCalendar();
    cal.setGregorianChange(new Date(Long.MAX_VALUE)); // setting the calendar to act as a pure Julian calendar.
    // cal.set(Calendar.DATE, new Date().getDate()); // seting the current date
    // Date todayJD = cal.getGregorianChange(); // getting the changed date after the setGregorianChange
    Date todayJD = cal.getTime(); // getting the calculated time of today�s Julian date
    SimpleDateFormat sdfJulianDate = new SimpleDateFormat("yyDDD");
    SimpleDateFormat sdfJuliandayOfYear = new SimpleDateFormat("DDD");
    System.out.println("today Date = " + new Date());
    System.out.println("Today as julian date = " + sdfJulianDate.format(todayJD));
    System.out.println("Today as day of year = " + sdfJuliandayOfYear.format(todayJD));
    OUTPUT:
    USING : Date todayJD = cal.getGregorianChange();
    Today Date = Thu Nov 02 15:17:05 IST 2006
    Today as julian date = 94229
    Today as day of year = 229
    USING : cal.set(Calendar.DATE, new Date().getDate());
    Today Date = Thu Nov 02 15:19:22 IST 2006
    Today as julian date = 06319
    Today as day of year = 319
    USING : Date todayJD = cal.getTime();
    Today Date = Thu Nov 02 15:17:59 IST 2006
    Today as julian date = 06306
    Today as day of year = 306
    There is one another concept i found to get the Julian day of the year as per the Julian day chart mention on nasa site (http://angler.larc.nasa.gov/armsgp/JulianDayChart.html) and i m getting the moth of the year that is 306 for nov 02 2006 using getTime() method in above code then the out put is right for Julian day. But it was not as per the expected Julian date format. So in conclusion we can only able to retrieve the day of year for the Julian calendar. hope their will be a solution for this problem in java api ....else we allways have to depend upon the third party api that was not accepteble some times.....
    Kindly chk chart on the site
    http://angler.larc.nasa.gov/armsgp/JulianDayChart.html
    http://weather.uwaterloo.ca/julian.html
    http://www.fs.fed.us/raws/book/julian.shtml
    Thanks,
    Tushar Lad

  • Function module to convert calender date to Julian date format

    Hi,
    Is there any FM which can convert Calendaer Date to <b>Julian Date</b> format?
    Thanks.
    Regards,
    Madhu

    It is not a func mod... but it is pretty straight forward.
    data: julian_day(3) type n,
    date_aux type d,
    date_I_need type d.
    first day of the year
    concatenate date_I_need(4) '0101' into date_aux.
    julian_day = date_I_need - date_aux.
    julian_day = julian_day + 1.

  • MIRO issue (urgent!), amount and quantity fields are not captured from PO

    Hi,
    When we try to post thought MIRO using PO as reference, quantity and amount fields are not captured. We do MIGO first and then MIRO.
    GR based invoice verification in the vendor master is selected and the check mark GR-based in the PO is selected too.
    We're getting this MIRO issue for "all" PO and Service Entry Sheet.
    We'll appreciate your recommendation in order to fix this critical issue as soon as possible.
    Thanks in advance.

    I was looking for copy controls and other functions. Glad this is now resolved. You need to award yourself points!
    Cheers.

  • How do i repair or recover data from a corrupt USB external hard drive that does not show up on my Mac desktop or disk utility

    How do i repair or recover data from a corrupt USB external hard drive that does not show up on my Mac desktop or disk utility?
    Last night i was using my external hard drive, for some reason the folder just closed and i couldn't find it on my desktop.
    After googling solutions, i found it in the disk utilities, i clicked on the 'repair' button many times, but it said the 'error...' message.
    So i ejected it to try again, now when i connect the USB external hard drive it doesn't show up on my desktop or disk utilities.
    I really just want to either repair or recover the data on it because it literally has everything (documents, work files, photos etc) on it,
    I downloaded an application to recover my files but it needs the USB to at least show up.recognise it which mine doesn't.
    I know i should've backed it up on another USB, this definitely teaches me for next time to back up all my files.
    Are the files lost forever or can i recover them by going to a shop or using a software?

    Thank you for responding.
    This might sound stupid since i'm not really knowledgeable with Macs,
    but since all my files were moved from my mac computer to the external hard drive,
    is it possible to recover those files through my Mac - like recovering deleted files? 

  • External drive not showing up - which disk initialization method will NOT erase the data on that external hard drive?

    Hi,
    as thousands of other users, my WD Passport drive worked like a charm until yesterday and now it wont show on any computer, but does show in the Disk management and when plugged in , the Disk Management offers two ways of initialization : MBR and GPT
    i dont understand any of that and want to know if any of those two methods will make the disk initialize wITHOUT loosing the data on the drive?
    i looked on so many forums and some people say that it will and others that it will not erase the data. 
    can you please tell me what is correct?? also a suggestion is to add some more wording to that initializaiton dialog box so that we can know what initialization does and doesnt
    thank you so much

    Try connecting it to a different computer to see if you can access the data, under no circumstances should you Initialize the drive as all existing data will be lost.
    If you still can't access your files, then remove the drive from the case and connect it via an extra SATA cable and power connector (you usually need a desktop PC in order to do this if the drive is a 3.5 inch model, a 2.5in drive will fit into a laptop
    if you have a spare slot).
    J W Stuart: http://www.pagestart.com
    Never be afraid to ask. This forum has some of the best people in the world available to help.

  • I have new hard drive in macbook pro(08) and have SATA cable with external power source to old hard drive (10.5.8)via. USB port and newer drive(10.6.8) will not recognize older drive..Do I need to partition newer drive with older disk to recover data?

    I have new HD 750GB Hybrid in 2008 Macbook Pro 17" w/ Snow Leopard 10.6.8  connected to old Hard drive(250GB that had 10.5.8 on it at time of failure) via SATA cable to USB port with external power source.. Computer not acknowledging old HD at all in Disk Utility or otherwise (that I'm aware of)..Do I need to partition New HD and load old(10.5.8) onto partition to recognize older drive for data recovery? Thanks Wayno08

    You do not need to load 10.5.8 onto your new drive in order for a 10.6.8 system to see the contents of a 10.5.8 system.
    You might want to check out the hard drive troubleshooting bootk in the downloads section of this web site:
    http://scsc-online.com
    They also sell a product named Phoenix that can do OS extraction  and volume copying/cloning, but to be honest I don't know if it's appropriate in this case.
    I would suggest the following:
    Open up Terminal.app (under utilities) and type "diskutil list" without the quotes. This is the command line version of Disk Utility. If the external drive doesn't show up at all, then it's likely not connected properly, not getting power, or just plain dead. If it shows up with only a devce name like disk0s16 but no volume it means the drive is seen, the OS just can't make sense of it.
    Assuming the drive shows up, I would try to boot off the original installl disks for the system and run Disk Utility from that. I'm assuming the drive will show up. You'll want to select the option to repair the drive and then perform the option to repair the permissions.
    If the unit isn't showing up, as per step 1, try a different USB port. More importantly with your unit, try it on another side of the unit if possible. If you read the book I referenced above, some of those units have I/O boards that are separated from the logic board. If the cable from the logic board to the I/O card goes bad or has problems, which isn't all that uncommon, some or all of the ports on the I/O card may appear to be bad as well. If you use a USB port on another side, it would be routing out of a completely different I/O path, so that's a potential problem.
    If the drive is only seen with a device name such as disk0s16, it's likely either the index files are corrupt beyond Disk Utility's ability to see them. The  only thing that I think would help would be a product named DIsk Warrior, but I can't guarantee that.
    Disk Warrior can be found at:
    http://www.alsoft.com/diskwarrior/
    The company that I linked in the first link above also makes a product named Scannerz that does HD and system testing. The Scannerz/Disk Warrior combination make a good pair because the complement each other....Scannerz does what Disk Warriror can't and Disk Warrior does what Scannerz can't. However, at this point I'm not too sure getting a tool like Scannerz would be of much use because it sounds like the  damage has already been done.
    Let us know what happens.

  • How to recover I photos from hard drive?  I was told by Apple tech to reinstall my MAC OS X Install DVD, after doing so all of my data has been wiped out.

    I had an issue with my Mac and called Apple the tech told me to reinstall my MAC OS X Install DVD.  I specifically asked if I needed to do a back up before doing so, I was told that it would not be necessary none of my data would be lost.  After installation everything was wiped out.  I am most concerned about retrieving my I photos.  Any suggestions would be greatly appreciated.
    Thank you.

    You did not do a reinstall but rather an Erase and Install. If you don't have a backup, which you should have already had, then you need to see the following:
    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as MAC Data Recovery, Data Rescue II, File Salvage or TechTool Pro.  Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.  Two free alternatives are Disk Drill and TestDisk.  Look for them and demos at MacUpdate or CNET Downloads. Recovery software usually provide trial versions that enable you to determine if the software would help before actually paying for it. Beyond this or if the drive has completely failed, then you would need to send the drive to a recovery service which is very expensive.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

Maybe you are looking for

  • Can't deinstall, restore or install iTunes

    I've got a problem with deinstalling or restoring my old version of iTunes (7.0.0.70) when ever I try to deinstall or restore the old version I et an error saying: *invalid drive J:\* and after that an error saying something about an unrestorable fau

  • PDF documents for 7.0 reporting

    Hi Gurus, I dont find any PDF documents for BI 7.0 reporting on Sdn. Please provide me the links of PDF no help links. Greetings.

  • How to remove red eye from you video with adobe premiere elements?

    I would be greatful if someone could let me know how to remove red eye from a video, which I will be using for my acting reel. Thank you!

  • Anyone ever had blocks in their video?

    For those of you who have helped me in the past -- thanks, and you know I am slowly getting familiar with PrPro CS4, but I'd ask your indulgence again with this novice question! I am doing a highlight video and the raw footage is from a Sony HD camco

  • What is "Internal Muxer Error" - How to fix it???

    I'm trying to burn a simple/basic project: 5 short films (one 15min, the others under 4min) that I put into a template - and I have no additional menus save the first. I have no transistions or anything else complicated. Just the menu and the movies.