Invalid date format form Spool PDF
Hi,
When iam excuting a program thourgh batchjob iam getting Spool PDF there iam getting the invaid date format as 11-05-2283 78:42:87 .I feel this may be problem from output device.
Please let me know where should we check the same.
Thanks
Hi,
The job is running for a custom program.Not only the particular Job some of the other Jobs also giving the same date format.
If it is spool attributes problem then where should we check this? or Printer settings problem? even that time format is not exist every where in world .
Thanks..
Similar Messages
-
I have a acrobat reader, can I import text delimited data format to a PDF Form so that it can auto fill into forms that was created? If not, what about FDF and XML data
Yes, you can do all of that via Tools - Forms - More Form Options - Import Data, if you have Acrobat.
If you only have the free Reader then you can still do it, but it requires a script. -
Invalid date format after APEX upgrade
We are currently working on upgrading our applications from 1.6 to the new APEX 3.2 version. After the upgrade of one of our systems I have a tabular form that is returning the error 'Invalid date format found'. The date that is getting entered into the system is being displayed and choosed via a sql popup. The code for the pop up is
SQL CODE
create or replace view next_weeks as
with t as (
select
trunc(sysdate) + (rownum - 1) / 2 d
from
dual
connect
by rownum <= 28)
, call_info as (
select
c.call_identifier, c.callback_date, c.callback_cancelled
from uid_csr_schedule c
select
to_char(d, 'fmDy MM/DD/YYYY AM') l
, to_char(d, 'dd-mon-yy hh:mi:ss AM') v
,to_char(d, 'mm/dd/yy hh:mi:ss AM') o
from
t
where
((select count(callback_date) from call_info ci where ci.callback_date = t.d
and (ci.callback_cancelled is null or ci.callback_cancelled !='Y'))) <
(select csr_calls_per_period from uid_sch_system_default)
minus
select
to_char(d, 'fmDy MM/DD/YYYY AM') l
, to_char(d, 'dd-mon-yy hh:mi:ss AM') v
,to_char(d, 'mm/dd/yy hh:mi:ss AM') o
from
t
where
(select count(callback_date) from call_info ci where ci.callback_date = t.d
and (ci.callback_cancelled is null or (ci.callback_cancelled !='Y')))
=(select override_amt from uid_sch_call_override
where (to_char(begin_date,'dd-mon-yy') || ' ' || upper(period)) = to_char(t.d, 'dd-mon-yy AM'))
union select
to_char(d, 'fmDy MM/DD/YYYY AM') l
, to_char(d, 'dd-mon-yy hh:mi:ss AM') v
,to_char(d, 'mm/dd/yy hh:mi:ss AM') o
from
t
where
((select count(callback_date) from call_info ci where ci.callback_date = t.d
and (ci.callback_cancelled is null or ci.callback_cancelled !='Y'))) >=
(select csr_calls_per_period from uid_sch_system_default)
and
(select count(callback_date) from call_info ci where ci.callback_date = t.d
and (ci.callback_cancelled is null or (ci.callback_cancelled !='Y')))
<
(select override_amt from uid_sch_call_override
where (to_char(begin_date,'dd-mon-yy') || ' ' || upper(period)) = to_char(t.d, 'dd-mon-yy AM'))
order by o
The form then has the item set as a popup with a date format mask of dd-MON-yy hh:mi:ss AM. The popup displays fine and the date is shown in the field but the error is received when I try to save the information. If I change the application global setting of date format mask to dd-MON-yy hh:mi:ss AM then this error goes away however, it creates problems on all the rest of my pages that use this date in the where clause of the queries. Is there a way to solve the problem above without having to change the globalization parameter or do I need to change this parameter and then redo those queries?
Thanks for your help!
AmberAmber,
It's interesting that the problem goes away if you set the global date format to be the same as the column level. The column level should trump the global setting. What process is returning the error? Are you sure it's the MRU or could it be something custom?
You could consider adding a process before the MRU fires that uses alter session to change the date format.
Regards,
Dan
Blog: http://DanielMcGhan.us/
Work: http://SkillBuilders.com/ -
We migrated Packages from SSIS 2008 to 2012. The Package is working fine in all the environments except in one of our environment.
SSIS 2012 is intermittently failing with below error while importing data from a source table into a Destination table with same exact schema.
Error: 2014-01-28 15:52:05.19
Code: 0x80004005
Source: xxxxxxxx SSIS.Pipeline
Description: Unspecified error
End Error
Error: 2014-01-28 15:52:05.19
Code: 0xC0202009
Source: Process xxxxxx Load TableName [48]
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Invalid date format".
End Error
Error: 2014-01-28 15:52:05.19
Code: 0xC020901C
Source: Process xxxxxxxx Load TableName [48]
Description: There was an error with Load TableName.Inputs[OLE DB Destination Input].Columns[Updated] on Load TableName.Inputs[OLE DB Destination Input]. The column status returned was: "Conversion failed because the data value overflowed
the specified type.".
End Error
But when we reorder the column in "Updated" in Destination table, the package is importing data successfully.
This looks like bug to me, Any suggestion?Hi Mohideen,
Based on my research, the issue might be related to one of the following factors:
Memory pressure. Check there is a memory challenge when the issue occurs. In addition, if the package runs in 32-bit runtime on the specific server, use the 64-bit runtime instead.
A known issue with SQL Native Client. As a workaround, use .NET data provider instead of SNAC.
Hope this helps.
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
AD 11g Trusted Recon is failing due to invalid Date format for Start Date
We are using OIM 11g with AD 11g connector.
we have mapped "whenCreated" attribute of AD to "Start Date" in OIM. We ran Trusted Recon, the recon failed due to invalid date format.
we got the following error :
Caused By: oracle.iam.reconciliation.exception.InvalidDataFormatException: Invalid data - 10/19/2012 10:33:30 AM against Date format yyyy/MM/dd HH:mm:ss z for key Start Date
at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.convertReconFieldsToOIMFields(ReconOperationsServiceImpl.java:1610)
at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEvent(ReconOperationsServiceImpl.java:548)
at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEvent(ReconOperationsServiceImpl.java:535)
at sun.reflect.GeneratedMethodAccessor9326.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
Thanks.Caused By: oracle.iam.reconciliation.exception.InvalidDataFormatException: Invalid data - *10/19/2012 10:33:30 AM* against Date format yyyy/MM/dd HH:mm:ss z for key Start Date
Error is because of invalid date format.
You need to bring data in required format. As I remember you can configured it in one of the AD configuration lookup. -
Invalid date format causes system to crash
Hello experts. I'm not sure where to even start looking to resolve this problem.
In the shopping cart if a user changes the delivery date to an incorrect format it causes the system to hang. For example if the user enters a date in the past such as 03/01/2006 the correct error msg is returned. However, if they enter an invalid format like <b>0/28/2006, 0328/2006</b> a pop-up box with the "invalid date" msg continuously appears. Even after pressing "ok" it pops up over and over again.
The only way out is to terminate the application. Any help will be appreciated. Thank youHi Jocelyne,
SP contains a lot of notes including the one you want.
If you do not want to test back all impacts generated by all the notes you do not want, you have to use option 2 which corrects only the bug you have now.
Kind regards
Yann -
XIR2 - Date format problem in pdf file when scheduled to refresh
We have a number of Deski reports that are scheduled to refresh daily and then be saved as pdfs to a network drive. Despite the date format being correctly displayed in the reports stored in the respository, when the scheduled jobs save the reports as pdfs, it is changing the date format to the American format, i.e. 11/13/2007 instead of 13/11/2007. I've checked both the Date/Time and Regional Settings on the server and they are set correctly. If I log into Deski on the server and open a report and manually save it as a pdf, it saves it with the UK format.
So what do I need to change to get the scheduled job to use the UK date format?Hi Anne,
If you schedule reports through Infoview then please perform below steps.
- Login to Infovinfoview -> go to Preferences.
- Change the My interface locale is to "English (UK)" and My current Timezone to appropriate time zone under Genera tab.
- Log off and login again.
- Try to schedule the report to PDF or any other format and check the issue.
If you schedule reports through CMC, then change Timezone setting to appropriate timezone in Preferences and schedule the reports.
Thanks and Regards,
Purna. -
Invalid date format for 'Created' field in the getVersions web service Response.
Hi all,
I am trying to get all versions for selected document by calling getVersions method Versions.asmxweb service, but getting ‘Created’ date attribute value is in the format "29-05-2012 12:01"
but I am expecting either one of the following date formats.
1. yyyy-MM-dd HH:mm:ss or yyyy-MM-ddTHH:mm:ssz
2. MM/dd/yyyy HH:mm a (a means AM/PM)
3. MM/dd/yyyy
4. yyyyMMdd HH:mm:ss
where do I need to change?
what are all the formate will be support by SharePoint?
please find attached response xml of getVersions call.
<results xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<list id="{6A6F6CD1-2E9C-44CC-B1F5-56G7JB5C8778}"/>
<versioning enabled="1"/>
<settings url="http://hbngjfgj47s20/reg/_layouts/LstSetng.aspx?List={7S6F6CD1-2E9C-44CC-B1F5-KO9J8Y7Y6H78}"/>
<result version="@0.3" url="http://vmesxsrv47s20/register/Shared Documents/Parent/child/my_doc" created="29-05-2012 12:01" createdRaw="2014-12-02T12:46:02Z" createdBy="my_dom\agi_sharepoint"
createdByName="AGI_Sharepoint" size="288" comments=""/>
<result version="0.1" url="http://hbngjfgj47s20/register/_vti_history/1/Shared Documents/Parent/child/my_doc" created="29-05-2012 10:01" createdRaw="2014-12-02T10:55:18Z" createdBy="my_dom\my_sharepoint"
createdByName="my_sharepoint" size="288" comments=""/>
<result version="0.2" url="http://hbngjfgj47s20/register/_vti_history/2/Shared Documents/Parent/child/my_doc.txt" created="29-05-2012 11:01" createdRaw="2014-12-02T10:59:25Z" createdBy="my_dom\my_sharepoint"
createdByName="my_sharepoint" size="288" comments=""/>
</results>
Kindly help me on this.Hi,
According to your post, my understanding is that you want to change date format for ‘Created’ field in the getVersions web service.
Per my knowledge, you can get the date format for ‘Created’ field as “MM/dd/yyyy HH:mm a”.
For more information, you can refer to:
Versions.GetVersions Method (Versions)
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Hi All, My issue is that I download data to excel from a web report and then I try to use the date fields to do some calculations, but when I do so, the fomula doesn't accepts the formats. When I check the format it shows 'Text format' for these fields. Then to do the calculation I have to convert the date fields in excel to date format and then use them. Is there a way I can get the dates downloaded in date format and then I can do the calculations without doing any processing in excel. Thanks
PuneetDear Peri,
This is a common problem, when carrying out BDC.
For example, while recording you met with the field --> MKPF-BUDAT.
Go to SE11 --> MKPF --> Search for BUDAT --> Double click on the Data Element i.e. BUDAT --> Double Click on the domain DATUM --> You can see under the block Output Characteristics : Output Length = 10.
While declaring the TYPES Structure, make it CHAR(10).
Consider this technique as the Rule-of-Thumb while doing BDC.
Regards,
Abir
Don't forget to award points *
Regards,
Abir
Don't forget to award Points * -
Custom error message for invalid date format
Hi,
I am using af:selectInputDate component for date. When i enter wrong date format it comes up follwoing pop up error message:
The value "12/13/2009" is not a valid date. Valid example ""29/11/2005".
However i dont want to show this standard message but a customised error message like "the value is not in correct format...".
Can anyone help me how can i show customised message.Hi Kiran
Try these options
1) Change your <b>Internet Explorer</b> [The Browser which you are using] language
2) In Application Level, ie in Webdynpro
a)Go to <b><Your project name>>Webdynpro>Applications--><Your Application>
Double click on your Application name</b>b) Go to Application Properties TAB, Add a New Application Property
c) Click on "<b>Browse</b>" and Select <b>DefaultLocale</b> and mention the Value as
<b>en_US</b> [If you didnt mention any thing here by default it will take browser's language]
3)In your Portal check the language setting of particular user in identity management
Warm Regards
Chaitanya.A -
Invalid data format on EXPORTING table to SQL-FLAT FILE (Insert type)
Hi there!
Writing from Slovenia/Europe.
Working with ORACLE9i (standard version) on Windows XP with SQL-deloper 1.0.0.015.
FIRST SQL.-DEVELOPER IS GOOD TOOL WITH SOME MINOR ERRORS.
1.) Declare and Insert data EXAMPLE
drop table tst_date;
create table tst_date (fld_date date);
insert into tst_date values (sysdate);
insert into tst_date values (sysdate);
2.) Retriving date with SQLPLUS
SQL> select to_char(fld_date,'DD.MM.YYYY HH24:MI:SS') FROM TST_DATE;
23.10.2006 11:25:23
23.10.2006 11:25:25
As you see TIME DATA IS CORRECT.
When I EXPOPRT data TO SQL-insert type I got this result IN TST_DATE.SQL file:
-- INSERTING into TST_DATE
Insert into "TST_DATE" ("FLD_DATE") values (to_date('2006-10-23','DD.MM.RR'));
Insert into "TST_DATE" ("FLD_DATE") values (to_date('2006-10-23','DD.MM.RR'));
As you seel I lost TIME DATA.
QUESTION!
HOW CAN I SET PROPER DATE FORMAT IN SQL-DEVELOPER BEFORE I EXPORT DATA TO FLAT FILE.
Best regards, Iztok from SLOVENIA
Message was edited by:
DEKUSA DATE-Field, is a DATE-Field and not a
DATE-TIME-Field.
The export-tool identifies a DATE-Field and exports
the data into date-format.This is not true. Oracle DATE fields include a time element.
To the original poster - I believe this is a bug in the current version.
See this thread for possible workarounds Bad Export format --- BUG ???
Message was edited by:
smitjb -
Date format in report PDF plase
Hi all,
in my report in ver. report 10g on filed is type date
1- in type html output report the format dd-mm-yyyy
2- in type PDF output report the format yyyy-mm-dd
I need view in type PDF (dd-mm-yyyy)
Please help me to achieve this.
thanksUse .... to_char(your_date_col, 'DD-MM-YYYY') my_date_fmt .... in your report query.
-
Invalid data format error for CLOB
I am trying to migrate a piece of code from WLS 8.1.2 to WLS 8.1.5.
WLS 8.1.2 has ojdbc14.jar with version "Oracle JDBC Driver version - 9.0.2.0.0"
WLS 8.1.5 has ojdbc14.jar with version "Oracle JDBC Driver version - 10.1.0.4.0"
In the older version, I am storing an encrypted string value in a clob and saving in the db.
When I try the same in the new code, it displays an error that the data is not of the proper format.
If I read any data entered using the older application, in the new one, it is still valid.
But, if I enter a new value using WLS 8.1.5, only those are invalid.
I even tried deploying the application with the old and new ojdbc14.jar files with it. In either case, it still gives an error. If I use the later version of ojdbc14.jar, the method getAsciiStream() is deprecated.
How can I make my code independent of the version of ojdbc14.jar and store and read the clob?Rohit B wrote:
I am trying to migrate a piece of code from WLS 8.1.2 to WLS 8.1.5.
WLS 8.1.2 has ojdbc14.jar with version "Oracle JDBC Driver version - 9.0.2.0.0"
WLS 8.1.5 has ojdbc14.jar with version "Oracle JDBC Driver version - 10.1.0.4.0"
In the older version, I am storing an encrypted string value in a clob and saving in the db.
When I try the same in the new code, it displays an error that the data is not of the proper format.
If I read any data entered using the older application, in the new one, it is still valid.
But, if I enter a new value using WLS 8.1.5, only those are invalid.
I even tried deploying the application with the old and new ojdbc14.jar files with it. In either case, it still gives an error. If I use the later version of ojdbc14.jar, the method getAsciiStream() is deprecated.
How can I make my code independent of the version of ojdbc14.jar and store and read the clob?Hi. You are suffering with the evolution of Oracle's driver. If you can make a standalone
program that contains some data, inserts it and extracts it an compares it and proves
the bug, we can open a case with Oracle. In general you want to use their latest driver,
but if you can't keep up with their bugs/fixes, you can always keep using the same version
of the driver everywhere. The way to do that is not to put the driver in you packages,
but simply to keep the version you want in the weblogic installation's server\lib
directory (ojdbc14.jar)
Joe -
When i set italiano as language in portal, instead of current date a see 'Maschera formato data non valida'.
Where is the problem?Fabio,
this bug appears in several languages. A workaround is described in this thread: http://forums.oracle.com/forums/message.jsp?id=497167
Hth,
Ton -
Hw can I generate XY graphs directly in a vector data format for printing ie pdf
A further question re. Printing of Graphs
There are many similar questions but none where the answers are acceptably adiquite or two or three were the link was broken,
"Developer exchange forums have been moved" and a pointer to the new
site, unfort it was hard to find or guess the rest of the link.
So here is my angle on this problem;
So far I have tried;
Using property node: "App. Printing.Default Printer" to select the printer to use, then
Using Report Functions to print controls;
New Report, to generate a new report reference
Set Report Orientation
Set Report Margins
Set Report Font
Set Report Header Text
Set Report Font
Set Report Footer Text
loop for each page
Set Report Footer Text, With page number
Append Control Image to Report, several times
New Report Page
Until the end of the last page
Print Report
Dispose Report
Initially using existing XY-Graph controls from the front panel. These
are on a page of a Tab control to hide these controls while not in use
and allow them to be hidden while generating the printout.
Unfortunately when this page is hidden any graph scales set to
autoscale don't, (normally don't need to and would otherwise be a waste
of processor time), resulting in graph plots going off scale or
becoming a line along the axis.
An issue is that what is printed appears to be read from the screen, so resolution is much
lower than required for for printing, resulting in rather pixellated
printed versions. These prints will usually be emailed, so tried the
pdf995 "printer driver" but the resulting pdf file size is rather large.
Currently trying Plot-XY on a much larger picture so as to get
adequate resolution for printing, however suspect this will result in
much larger pdf files and probably cause other problems.
The preferred solution in this case will probably be to generate print
output, instead of based on raster images (ie jpg or png), but on a
vector format, maybe via postscript or directly in pdf format.
Similar graphs currently printed from Excel via pdf995
(or OpenOffice) result in files around 20 kb per page. these can be printed at any size
(at least upto 64 times) without becoming pixellated, so assume these
are vector based.
Currently a page with 4 XY Graph controls uses around 40 to 45 kb per
page but resolution is poor and overcoming that may push file size up
to 150 to 200 kb per page, and the whole job can be 50 to 100 pages.
Are there any functions to generate XY graphs directly in a vector data format preferably in pdf or via PostScript format.
Cheers
DarrylHi Darryl,
I was able to reproduce the issue you were seeing, in which a report generation was taking up a large amount of space per page in a PDF utility. I found; however, using my attached VI (notice that it is set to *.png) and the CutePDF utility (free download at http://www.cutepdf.com/) I was able to get a per page size of about 10 KB. Also using the png I found that the image quality seemed to be quite high.
Please try incorporating this solution into your application and see if it reduces your file sizes.
Thanks and have a good evening!
Cheers,
Jonah
Applications Engineer
National Instruments
Jonah Paul
Marketing Manager, Embedded Software
Evaluate the LabVIEW RIO Platform! - ni.com/rioeval
Attachments:
print_XY Graph.vi 23 KB
Maybe you are looking for
-
Currency translation problem for calculated key figure
Hi All I have a problem with the currency translation for a calculated key figure. I have a requirement to show the MM consignment stock value in the specified currency from the selection screen. For consignment stock, there is no value maintained in
-
I have 32 bit itunes on a 64 bit Windows. Can't install 64 bit itunes because the 32 bit willl not uninstall.
-
IPod touch troubleshooting with restoring.
The other day my iPod stopped working. I went to turn it on the screen flashed white several times and I ended up with it asking me to connect it to iTunes. I connected it to iTunes and it said that my iPod could not be restored (40) I've done all of
-
Direct production in collective order network, automatic 261...
hi all, i have a problem in a schenario with collective order network. i have order B part of collective order network of order A. and material of order B has special procurement key 52 maintained in it. and colletive order of goods movement is selec
-
How to create partner link with CreditRatingService running on other Server
In case my credit rating service ( say some service) deployed and running on some other server. In my bpel process i am trying to create a partener link with that the services (wsdls) running and available on other servers(say bea/tomcat...)! can i a