Transient analysis fails: Timestep too small
I use Multisim 10.1 to assemble logic gates of transistors for an undergrad Electrical engineering class. Part of the specification is that doors should drive a 1 or 8 pF capacitor at the output in the 1nsec voltage. (I think that the circuit, which I've made available is the version 8pF).
"Circuits work very well when I test for logical functionality with a frequency of input measured in seconds, but when I try to measure the time of release of a Ghz entry, the transient analysis invariably fails with a ' no time too small" error.
I looked through the site or all kinds of possible fixes (adjustment of the values of the relative and absolute error, etc...), but no luck.
for example, the project in question are: http://dl.dropbox.com/u/4286123/callforhelp.zip
I would appreciate any advice, anyone can give me to help get the circuit able to run a transient analysis of higher frequency.
Thank you!
Brian Lojeck
Student in EE, CSULB
Hi Brian,.
I took a glance at your circuit and it seemed that your cmos_andx8_timing_test_circuit.ms10 file generates errors of convergence. I did the following two changes in the settings of your transient simulation and circuit simulated very well:
- Scan options > SPICE Options > Use Defaults Multisim
- Crawl settings > settings > no time maximum (TMAX) = 1e-13 s
As a general rule, you want to set the TMAX parameter to be substantially less than the smallest feature of your signal. In your case, the smaller is the rise in V1 (1ps) time. If possible, try to simulate with slower rise/fall times and slew rates. It is much easier for Multisim to converge semiconductor solutions if these settings were larger. I guess you do not have the luxury here, but if you were to just test the behavior of your circuit, it would be desirable.
Hope that helped.
Tags: NI Software
Similar Questions
-
Why is the too small time step?
Attached circuit, I'm having a problem with a message "not too little time." How can I fix? File is attached.
Hello
For this circuit to run without the error 'no time' too small, select simulate > Interactive Simulation settings > Analysis Options > customize > transient, changing the method of integration of 'trapeze' to 'in gear '.
For more information on this error, please see the following knowledge base:
http://digital.NI.com/public.nsf/allkb/4B99B2CD6C0C3B6A86257205005D58E0 -
I turned computer, went online and home page is so small, I can barely read. The window itself covers my screen, but the page is in the middle of the screen of the window, 10 sizes too small. I visited all the Web sites were similarly. This page also. I tried to adjust it myself, but it changed nothing. The display settings have not changed that I am aware, so with the same settings as always, I didn't really know what to change. I tried to use the system restore, but that never worked when I tried it in the past. Indicates an error has occurred and cannot complete. I'd appreciate any help. I'm an amateur, where computers are concerned, but I can get around pretty good if I have good instructions. Thanks in advance for any help!
FYI - HP desktop, Windows Vista, IE8
You might try to go in the Tools menu in Internet Explorer, then Internet Options, then advanced and select Reset.
Restores system will fail if you have Norton and do not turn off "tamper protection '.
-
Windows mail too small police in responses
All of a sudden, when I type response (s) or forwards with the police is almost too small to read the answers. This is not the case for all recipients, a part and is not the case for the new emaiols.
You have activated your antivirus software analysis of e-mail? Which is known to cause problems. See www.oehelp.com/OETips.aspx#3
Also check your settings under Tools | Options | Read | Fonts and tools | Options | Call if they are HTML messages. Also make sure view | Size of the text on an open message indicates support.
Steve
-
Hi all
I am creating an interface ODI as explained below,
I table A column 'Comments' and one other table with column B "No Comment." I create a view as shown below and use it as a source for my interface.
SELECT * FROM WC_EQM_CSAP_FS_TMP WHERE to_char (QUESTION_COMMENT) IN (SELECT NO_COMMENTS FROM WC_EQM_NO_COMMENTS_LIST).
But my interface fails with the error below
ORA-22835: buffer too small for to CHAR CLOB or BLOB to RAW conversion (real: 4108, maximum: 4000)
22835 00000 - "too small buffer tank CLOB or BLOB to RAW conversion (actual: %s, maximum: %s)) '
* Cause: an attempt was made to convert CLOB to CHAR or BLOB to RAW, where
LOB size was larger than the buffer for CHAR and RAW limit types.
Note that the widths are reported in characters if characters length isadds are in effect for the column, other widths are
in bytes.
Here QUESTION_COMMENT is of type CLOB data. NO_COMMENTS is also CLOB data type. The maximum length of the data of QUESTION_COMMENT is also 11710
Please tell us how to solve.
Thank you
Dany
IMHO, it is not good to compare CLOB, can be that it is possible to use the primary key for the comments
Is it QUESTION_COMMENT and NO_COMMENTS a PRIMARY INDEX,
may be is the best solution to create vacabulary with comments (if it does not exist) and then compare it by id;
You can simply use the left join and check for null in a CASE statement
Try this, but I don't know... as I said before I have no Oracle DB
SELECT INTEGRATION_ID, DATASOURCE_NUM_ID, QUESTIONNAIRE_ID, QUESTION_ID,
CLIENT_ID, SITE_ID, CLIENT_REP, COMMITMENT, ENGAGEMENT_TYPE, TOP_CLIENT_FLG,
INITIAL_PLANNED_DT, REVISED_PLANNED_DT, INTERVIEW_DT, RECEIVED_DT, QUESTION_SCORE,
(
CASE WHEN EXISTS (SOME T2.NO_COMMENTS OF WC_EQM_NO_COMMENTS_LIST T2 WHERE DBMS_LOB.COMPARE (TMP.) (QUESTION_COMMENT, T2.NO_COMMENTS) = 0)
THEN NULL
OF OTHER QUESTION_COMMENT
END QUESTION_COMMENT),
(CASE WHEN QUESTION_SCORE<=5 then="" 1="" else="" 0="" end)="">=5>
0 AS QWOCOMMENTS,
CREATED_ON_DT, CHANGED_ON_DT OF WC_EQM_CSAP_FS_TMP as TMP
P.S. does not use TO_CHAR (LOB) there are possible error
-
I am unable to do a restore point. There is plenty of space on both partitions.
Config: A single drive with 2 partitions, one primary and one extended logical partition with Windows 8 on logic in dual boot with Windows 7 on the primary. The restore point creation in Win7 works OK but in Win8 it never worked alhthough all parameters seem to be OK.
Device configuration:
DISKPART > select disk 0
Disk 0 is now the selected disk. NOTE: there is only 1 disc
DISKPART > list disk
Disc # status size free Dyn Gpt
-------- ------------- ------- ------- --- ---
* Online drive 0 93 GB 1024 KB
DISKPART > list volume
Volume # Ltr Label Fs Type size status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 DVD - ROM 0 B G no media
Volume 1 - D drive of W7 NTFS Partition 54 GB healthy system
Volume 2 C disc W8 NTFS Partition 39 GB Healthy Boot
DISKPART > list partition
Partition # type Offset size
------------- ---------------- ------- -------
Partition 1 primary 54 GB 31 KB
0 39 extended 54 GB GB partition
Partition 2 logic 39 GB GB 54
---> Note: I do not understand partition 0, there are only two partitions!Extract from the event log. Error ID 12289 0 x 80042306:
The volume shadow copy Service error: unexpected error
DeviceIoControl (\\?\Volume{6fae1bd1-6bbe-11e2-af9b-806e6f6e6963}
(- 0000011C, 0x0053c008, 007FB8D0, 0, 007FC8D8, 4096, [0]). HR = 0 x 80820001,
The startup file is too small to support persistent snapshots
Operation:
Treatment EndPrepareSnapshots
Context:
Execution context: System Provider
---> NOTE: occurs 4 to 5 timesCannot create (process = restore point
'C:\Windows\system32\systempropertiesprotection.exe ';
Description is W8 FDC shadow;. Error = 0 x 80042306).
---> NOTE: 1 timesVSS commands: WRITERS, WMI and MSsearch system has failed...
_________________________________________________________________________
List writers C:\Windows\System32>vssadmin
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line too
(C) copyright 2001-2012 Microsoft Corp.Author name: 'Task Scheduler Writer'
The writer ID: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
Status: Stable [1]
Last error: no errorWriter name: 'recorder VSS metadata store.
The writer ID: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
Status: Stable [1]
Last error: no errorWriter name: 'Performance Counters writer. "
The writer ID: {0bada1de-01a9-4625-8278-69e735f39dd2}
Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
Status: Stable [1]
Last error: no errorThe writer's name: "System Writer".
The writer ID: {e8132975-6f93-4464-a53e-1050253ae220}
Writer Instance Id: {b796dce1-206a-472b-bb86-5417041b341c}
State: [7] failed
Last error: Timed outAuthor name: 'ASR Writer.
The writer ID: {be000cbe-11fe-4426-9c58-531aa6355fc4}
Writer Instance Id: {eaf13613-1a24-44b5-8622-8e691f1fb074}
Status: Stable [1]
Last error: no errorWriter name: 'writer of Service MSSearch.
The writer ID: {cd3f2362-8bef-46c7-9181-d62844cdc0b2}
Writer Instance Id: {43272e0e-d81a-4aa5-abe9-f6bbbfa6f3b0}
State: [7] failed
Last error: Timed outAuthor name: 'Shadow Copy optimization Writer. "
The writer ID: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
Writer Instance Id: {20038d53-ecd7-4332-b2f5-ad9a5c465220}
Status: Stable [1]
Last error: no errorName of the author: "COM + REGDB Writer".
The writer ID: {542da469-d3e1-473c-9f4f-7847f01fc64f}
Writer Instance Id: {bf7bd8e4-5aa8-412a-a401-528d6100203a}
Status: Stable [1]
Last error: no errorAuthor name: 'Registry Writer'
The writer ID: {afbab4a2-367d-4d15-a586-71dbb18f8485}
Writer Instance Id: {77018269-1865-4b89-b810-e4a9b6a3b5ab}
Status: Stable [1]
Last error: no errorAuthor name: 'BIT Writer'
The writer ID: {4969d978-be47-48b0-b100-f328f07ac1e0}
Writer Instance Id: {6a7abc2b-e868-45cb-be06-f63e19fb1510}
Status: Stable [1]
Last error: no errorAuthor name: 'WMI Writer'
The writer ID: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
Writer Instance Id: {848fabfd-fc83-4c67-ba79-92b274dab8eb}
State: [7] failed
Last error: Timed out
_________________________________________________________________
MountvolC:\Windows\System32>mountvol
Creates, deletes, or lists a volume mount point.The possible values for VolumeName along with current mount points are:
\\?\Volume{6fae1bd0-6bbe-11E2-AF9B-806e6f6e6963}\
D:\\\?\Volume{6fae1bd1-6bbe-11E2-AF9B-806e6f6e6963}\
C:\\\?\Volume{6fae1bd6-6bbe-11E2-AF9B-806e6f6e6963}\
G:\
----------------------------------------------
Lists of C:\Windows\System32>vssadmin providers
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) copyright 2001-2012 Microsoft Corp.
The provider name: 'Microsoft Software Shadow Copy provider 1.0 '
Provider type: System
Provider ID: {b5946137-7b9f-4925-af80-51abd60b20d5}
Version: 1.0.0.7
_____________________________________________________________________C:\Windows\System32>vssadmin list shadowstorage
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) copyright 2001-2012 Microsoft Corp.Shadow copy storage association
Volume: (D :) \\?\Volume {6fae1bd0-6bbe-11e2-af9b-806e6f6e6963} \)
Shadow copy storage volume: (D :) \\?\Volume {6fae1bd0-6bbe-11e2-af9b-806e6f6e6963} \)
Memory copy ghost used space: 0 bytes (0%)
Storage space copy allocated Shadow: 0 bytes (0%)
Maximum space memory copy Ghost: 3.78 GB (7%)Shadow copy storage association
Volume: (c) \\?\Volume {6fae1bd1-6bbe-11e2-af9b-806e6f6e6963}.
Shadow copy storage volume: (c) \\?\Volume {6fae1bd1-6bbe-11e2-af9b-806e6f6e6963}.
Memory copy ghost used space: 0 bytes (0%)
Storage space copy allocated Shadow: 0 bytes (0%)
Maximum space memory copy Ghost: 3.13 GB (8%)
---------------------------------------------------------------------Material:
_________
Computer brand name: Hewlett - Packard HP Pavilion dv6000 (RG892EA #UUG)
Operating system: Microsoft Windows 8 Professional build 9200
Processor: AMD Turion64 X 2 TL - 50 (1600,0 MHz)
Motherboard: Quanta 30B 8 (nVidia GeForce Go 6100 (C51MV) + MCP51)
Memory: 2 GB (dual channel)
Hard drive: FUJITSU MHV2100BH (95 396 MB (100 GB))
Optical drive: HL-DT-ST DVDRAM GSA - 4084N (DVD + R DL)
Graphics card: nVidia GeForce Go 7200 [HP]Hard drive
--------------------------------------
Drive model: FUJITSU MHV2100BH
Variable speed drive: SATA 1.5 Gb/s
Drive serial number: NW12T662BYPM
Firmware revision: 892C
Disk capacity: 95 396 MB (100 GB)Hi Francis,.
Thanks for posting the query on the Microsoft Community Forum.
From the description, it seems that the error revceive you associated with VSS snapshot.
- What security software is installed on the computer?
- Do you have any third-party backup program installed on the computer?
To begin troubleshooting, I would suggest that you do Check Disk
- Press Windows key + R
- Type "cmd" to open the command prompt.
- Type Chkdsk/r , and press enter.
Note:
If all available hard disk data can be lost when running chkdsk, as the chkdsk attempts to repair the affected area.
Reply with more information about the issue so that we can help you further.
I had the same problem with a HP dv5000 has an Intel Dual Core processor, after installed the 10 Pro Update window cleaning, after the update sent by Windows Update Service left me with this problem.
Thank you post I did check in the menu properties C: Tools.
After that, I was able to create a Restore Point.
Thank you very much for your message.
-
"Character String Buffer too small" classic report Apex 3.2.1
Hi all
I know it's a very old version I mention here, but that's what we have in our environment, would be very grateful if anyone can help out.
I have a classic report with the sub query in this, I have added a filter using an element from the selection list (P70_GROUP).
SELECT VWS. ServerID AS Display_ID, vws. ServerID AS ID, vws. Host name, vws. ServerStatus, vws. SiteName AS Site vws. Customer, vws. CoreHours, vws. Patch_Notes, vws. PATCH_DEP, vws. Patch_Day, vws. PATCH_GROUPID, vws. PATCH_TIMEID AS VW_Live_Support FROM Time LEFT JOIN W_Patch_Groups wpg vws WE (vws. Patch_GroupID = wpg.ID) WHERE the vws. ID = ' no AND NVL (wpg. Ignore, 'n') = ' n AND ((: P70_GROUP > 1 AND vws.)) PATCH_GROUPID =: P70_GROUP) OR (: P70_GROUP = 1 AND vws.) (Patch_GroupID IS NULL) OR (NVL(:P70_GROUP,0) = 0)) AND (INSTR (UPPER (vws. Host name), SUPERIOR (NVL (: P70_SEARCH, vws.)) HostName))) > 0 OR INSTR (UPPER (vws. ServerStatus), SUPERIOR (NVL (: P70_SEARCH, vws.)) ServerStatus))) > 0 OR INSTR (UPPER (vws. SiteName), SUPERIOR (NVL (: P70_SEARCH, vws.)) SiteName))) > 0 OR INSTR (UPPER (vws. (Client), SUPERIOR (NVL (: P70_SEARCH, vws.)) Customer))) > 0 OR INSTR (UPPER (vws. CoreHours), SUPERIOR (NVL (: P70_SEARCH, vws.)) CoreHours))) > 0 OR INSTR (UPPER (vws. Patch_Notes), SUPERIOR (NVL (: P70_SEARCH, vws.)) (Patch_Notes))) > 0)
This is when I select a group in the list, I get
"error report:
"ORA-06502: PL/SQL: digital or value error: character string buffer too small.
an unusual thing, that I've noticed here is when I select "All groups", which returns the value 0, it is works well and return of 3700 lines but when I select any group that returns 10 to 20 lines I get the above error.
does not include why it is, please help me.
Kind regards
Tauceef
Hi all
I am able to solve the problem by referring to the link below:
What I am able to solve without even changing the item type. Things are working fine now, but it would be really helpful if someone could give me their expert commentary on the solution above.
Is this feasible? I'll be able to solve the problem forever, or it will cause problems again in the future?
Kind regards
Tauceef
-
My select statement fails with the error:
The ORA-19011 string buffer too small
The select statement looks like:
SELECT TO_CLOB)
XMLELEMENT ("accounts",
XMLELEMENT ("count",
XMLATTRIBUTES)
rownum AS "recordId."
To_date('20130520','YYYYMMDD') AS "datestarted."
123456 AS "previousBatchId."
56789 AS 'previousRecordId '.
),
....
.... .
.....
XMLFOREST)
SIG_ROLE AS "SignatoryRole."
To_char(TRANSFER_DATE,'YYYY-mm-DD') AS "TransferDate."
NVL(Reason,0) AS 'reason '.
) AS the 'transfer '.
)
()) AS CRDTRPT
OF ANY_TABLE;
- It looks like I can choose only 4000 characters using the SELECT statement (please, correct me if I'm wrong)
I'd use the XMLGEN package. But the environment team says no mounted drives in the future with the arrival of the EXADATA.
NO HARD DRIVE MOUNTED, NO ACCESS TO THE DATABASE DIRECTORIES
No UTL_FILE
I need to use the REEL spool the resulting XML data of the SELECT query.
SQL is a standard in my org, but I can do with a PL/SQL solution also to load data into a table (cannot use a COIL with PL/SQL)
What I do is:
- a column of type CLOB to a xml_report of the loading of the above SELECT query table
- Then using SELECT * FROM xml_report to SPOOL the data to a file report.xml
No need of XMLTYPE data behind. Xml data stream is fine for me.
In addition, I need to validate the XML file, also using XSD.
Problem is that the resulting lines of the select query are supposed to be from 15000 to 20000 bytes long.
Oracle database version: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
A Suggestion or a solution to this problem would be appreciated.
(Sorry for the use of "BOLD", just to make it more readable and highlight the imp points)
Bravo!
Rahul
It looks like I can choose only 4000 characters using the SELECT statement (please, correct me if I'm wrong)
You use the right method.
There is an implicit conversion from XMLType to the data type VARCHAR2 as expected by the function TO_CLOB, where the limitation, and the error.
To serialize XMLType to CLOB, use the XMLSerialize function:
SELECT XMLSerialize (DOCUMENT
XMLELEMENT ("accounts",
...
)
)
OF ANY_TABLE;
For the rest of the requirement, I wish you good luck trying to spool the XML correctly.
You may need to play around with the SET LONG and SET LONGCHUNKSIZE commands to operate.
-
Hello
I am getting below error while taking expdp backup table of BLOB.
ORA-31693: Data Table object 'HCLM_ADMIN '. "' SCAN_UPLOADEDFILES_TEMP ' failed to load/unload and being ignored because of the error:
ORA-02354: Error exporting/importing data
ORA-01555: snapshot too old: rollback segment number with the name "" too small
ORA-22924: snapshot too old
ORA-31693: Data Table object 'HCLM_ADMIN '. "' TPA_FAXWATCHER ' failed to load/unload and being ignored because of the error:
ORA-02354: Error exporting/importing data
ORA-01555: snapshot too old: rollback segment number with the name "" too small
ORA-22924: snapshot too old
We have already set aside retention to 50000 .table structure are:
SQL > show Cancel parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
UNDO_MANAGEMENT string AUTO
UNDO_RETENTION integer 50000
undo_tablespace string UNDOTBS1
SQL > alter table hclm_admin. SCAN_UPLOADEDFILES_TEMP modify lob (FILE_BLOB) (RETENTION);
Modified table.
SQL > select nom_de_colonne, pctversion and retention
from dba_lobs where owner = 'HCLM_ADMIN' and table_name = "SCAN_UPLOADEDFILES_TEMP";
COLUMN_NAME
--------------------------------------------------------------------------------
PCTVERSION RETENTION
---------- ----------
FILE_BLOB
50000
SQL > alter table hclm_admin. TPA_FAXWATCHER modify lob (FILEDATA_BLOB) (RETENTION);
Modified table.
SQL > select column_name, pctversion and retention of dba_lobs where owner = 'HCLM_ADMIN' and table_name = "SCAN_UPLOADEDFILES_TEMP";
Column_name PCTVERSION RETENTION
---------- ----------
FILE_BLOB
50000
CREATE TABLE HCLM_ADMIN. TPA_FAXWATCHER
(
FILENAME_VAR VARCHAR2 (50 BYTE),
DATE OF CREATED_DATE_DTE,
FILEPATH_VAR VARCHAR2 (100 BYTE),
DATE OF TIMESTAMP_DTE,
FAXNO_VAR VARCHAR2 (15 BYTE),
DEPARTMENT_VAR VARCHAR2 (50 BYTE),
REQUESTTYPE_VAR VARCHAR2 (50 BYTE),
TAGTO_VAR VARCHAR2 (50 BYTE),
REMARK_VAR VARCHAR2 (1000 BYTE),
DOCTYPE_VAR VARCHAR2 (50 BYTE),
TAGTOVALUE_VAR VARCHAR2 (50 BYTE),
DOCTYPE_OTHER_VAR VARCHAR2 (50 BYTE),
HEGIC_NO_VAR VARCHAR2 (50 BYTE),
RECORDNO_NUM NUMBER OF NON-NULL,
FILEDATA_BLOB BLOB,
DATE OF FAXLOCKDATE_DTE,
NUMBER OF FAXLOCKSTATUS_VAR
FAXLOCKBYUSER_VAR VARCHAR2 (50 BYTE)
)
(STORE AS) LOB (FILEDATA_BLOB)
TABLESPACE HCLM_ALERTSVC
ALLOW ONLINE STORAGE
8192 CHUNK
RETENTION
NOCACHE
LOGGING
INDEX)
TABLESPACE HCLM_ALERTSVC
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
))
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
))
TABLESPACE HCLM_ALERTSVC
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
ALTER TABLE HCLM_ADMIN. (ADD) TPA_FAXWATCHER
KEY ELEMENTARY SCHOOL
(RECORDNO_NUM)
USING INDEX
TABLESPACE HCLM_ALERTSVC
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
));
CREATE TABLE HCLM_ADMIN. SCAN_UPLOADEDFILES_TEMP
(
NUMBER OF TEMPID_NUM
SESSION_ID VARCHAR2 (200 BYTE),
NUMBER OF UPLOADFILE_NUM
NUMBER OF DOCNO_NUM
NUMBER OF SCANJOB_NUM
FILENAME_VAR VARCHAR2 (200 BYTE),
FILETYPE_VAR VARCHAR2 (200 BYTE),
FILE_BLOB BLOB,
VARCHAR2 (200 BYTE) FLAG,
NUMBER OF USERID_NUM
CREATED_DATE DATE
)
(STORE AS) LOB (FILE_BLOB)
TABLESPACE PHCLMDBTBS
ALLOW ONLINE STORAGE
8192 CHUNK
RETENTION
NOCACHE
LOGGING
INDEX)
TABLESPACE PHCLMDBTBS
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
))
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
))
TABLESPACE PHCLMDBTBS
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
Kind regards
Hello
First check the lob corrupt as:
SQL > create table corrupted_lob_data (corrupted_rowid rowid);
Table created.
SQL > set off concat
SQL >
declare
SQL > error_1555 exception;
pragma exception_init (error_1555,-1555);
number num.
Start
for cursor_lob in (select rowid r, & lob_column of table_owner. & table_with_lob) loop
Start
NUM: = dbms_lob.instr (. cursor_lob & lob_column, hextoraw ('889911'));
exception
When error_1555 then
insert into corrupted_lob_data values (cursor_lob.r);
commit;
end;
end loop;
end;
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17.
Enter the value of lob_column: FILE_BLOB
Enter the table_owner value: hclm_admin
Enter the value of table_with_lob: SCAN_UPLOADEDFILES_TEMP
former 6: for cursor_lob in (select rowid r, & lob_column of table_owner. & table_with_lob) loop
6 news: for cursor_lob (select rowid r, FILE_BLOB of hclm_admin loop SCAN_UPLOADEDFILES_TEMP.)
old 8: num: = dbms_lob.instr (. cursor_lob & lob_column, hextoraw ('889911'));
8 new: num: = dbms_lob.instr (cursor_lob. FILE_BLOB, hextoraw ('889911'));
PL/SQL procedure successfully completed.
SQL > select * from corrupted_lob_data;
CORRUPTED_ROWID
------------------
AAASF/AAKAABacyAAA
To resolve this problem, we have 3 options
(1) to restore and recover the LOB segment using physical backup.
(2) empty LOBs affected using the UPDATE, as mentioned in the Note 787004.1statement:
SQL > update SCAN_UPLOADEDFILES_TEMP
Set FILE_BLOB = empty_blob()
where rowid in (select corrupted_rowid
of corrupted_lob_data);
SQL > commit;
(3) perform the export, excluding the corrupt ROWID. by adding the following to export command parameter
Query =------"where rowid not in (\'AAASF/AAKAABacyAAA\'\) \ \" "
Kind regards
Alok Dwivedi
-
I put 4 ESXi on too small of a USB key...
I screwed up and put ESXi on a 1 GB USB key. It was the only one, I had that would fit vertically in a HP ProLiant DL380 Server (all my other were too high). Yes, I'm a fool
I thought that Setup ESXi complain if it was too small-, it didn't, so I thought that I was safe and with the installation on board.
Now, I am trying to upgrade to ESXi 4 U1 and if fails telling me that there is not enough space. Someone at - it suggestions? I thought about these options:
(1) install 1 4 updates at a time, hoping he removes temporary files every time and there would be enough space for at least one and then move to the next.
(2) build a new will to server ESXi 4 the same configuration (on a larger USB) and swap them? Would this work? He would recognize my existing SAS drives I use for VMDK files and allow me to import virtual machines? I use all local drives without a SAN connection.
(3) copy the USB on a new... not sure of the technical skills to do this... I'm not much more than a Linux admin
SB
I would definitely just re - install - takes only a few minutes.
Please give points for any helpful answer.
-
ORA-06502: PL / SQL: numeric or value error: character string buffer too small
Dear friends,
We have a package customized for FTP PLSQL.
I get ORA-06502: PL/SQL: digital or value error: character string buffer too small when the FTP service running.
The FTP function call the HOST function that is in fact to launch the above mentioned error.
Here is the code for FTP and HOST functions.FUNCTION HOST(text_in IN VARCHAR2, result_out IN OUT VARCHAR2) RETURN BOOLEAN IS ret boolean; drun boolean; hid number; BEGIN dbms_output.put_line('host1 begin'); ret := HOST(text_in,result_out,hid,drun,1); if not drun then dbms_output.put_line('not derun'); return false; end if; dbms_output.put_line('after if'); return ret; END HOST;
FUNCTION GET_ENV(env IN VARCHAR2) RETURN VARCHAR2 IS res boolean; out varchar2(256); BEGIN res := HOST('echo '||env,out); return out; END GET_ENV;
FUNCTION HOST(text_in IN VARCHAR2, result_out IN OUT VARCHAR2, hostid IN OUT NUMBER , demrunning IN OUT boolean, maxlines IN NUMBER DEFAULT NULL) RETURN BOOLEAN IS tempid number; tempstat varchar2(10); n number; m number; retry number; mult number; timestamp_date date; lv_result_out varchar2(200); BEGIN --result_out := NULL; --fcxh76 demrunning := true; dbms_output.put_line('host2 begin'); select XXAR_SHELL_CMD_S.nextval into tempid from dual; hostid := tempid; dbms_pipe.pack_message(tempid); n := dbms_pipe.send_message('CMD'); dbms_pipe.pack_message(abs(maxlines)); dbms_pipe.pack_message(rtrim(text_in)); n := dbms_pipe.send_message ('CMD'||rtrim(to_char(tempid)),0); m := dbms_pipe.receive_message('CMDSTAT'||rtrim(to_char(tempid)),5); if m = 1 then demrunning := false; dbms_output.put_line('m=1'); result_out := 'ERROR : GLCC0005 presumed not running'; dbms_output.put_line('result_out - '||result_out); return FALSE; elsif m = 0 then dbms_pipe.unpack_message(tempstat); end if; if tempstat = 'ERROR' then dbms_output.put_line('tempstat = ERROR'); result_out := NULL; dbms_output.put_line('after result out'); return FALSE; end if; <<CHECK_AGAIN>> m := dbms_pipe.receive_message('RSLT'||rtrim(to_char(tempid)),0); if m <> 0 then goto CHECK_AGAIN; end if; if m = 0 then dbms_pipe.unpack_message(result_out); dbms_pipe.purge('RSLT'||rtrim(to_char(tempid))); return TRUE; else result_out := 'ERROR : Call to GLCC0006 failed'; return FALSE; end if; END HOST;
Here is the PLSQL block that I will carry out and also the output on this blockFUNCTION FTP (program_name in VARCHAR2, source_file in VARCHAR2, dest_file in VARCHAR2 default NULL) RETURN BOOLEAN AS fd utl_file.file_type; res boolean; res1 boolean; out varchar2(256); out1 varchar2(256); ftp_dnsname varchar2(50); ftp_user varchar2(50); ftp_pass varchar2(50); ftp_pre_opt varchar2(150); ftp_post_opt varchar2(150); ftp_override varchar2(150); destination_file varchar2(50); ftp_command varchar2(2000); ftp_main varchar2(2000); proc_id varchar2(10); fderr varchar2(100); rec varchar2(1024); temp_buf varchar2(100); base_source varchar2(100); log_dir varchar2(100) := get_env('$APPLCSF')||'/log'; fndc_logfile_dir varchar2(100) := 'FNDC_LOGFILE_DIR'; i number ; ftp_tried boolean; begin ftp_tried := false; dbms_output.put_line('begin'); for ftp_rec in ( select attribute1, attribute2, attribute3, attribute4, nvl(attribute5,' ') attribute5, nvl(attribute6,' ') attribute6, nvl(rtrim(attribute7),'put') attribute7 from fnd_flex_values where flex_value_set_id in (select flex_value_set_id from fnd_flex_value_sets where flex_value_set_name = 'CPC_FTPS' ) and flex_value like program_name ) LOOP dbms_output.put_line('Looping'); ftp_tried := true; ftp_dnsname := ftp_rec.attribute1; ftp_user := ftp_rec.attribute2; ftp_pass := ftp_rec.attribute3; destination_file := ftp_rec.attribute4; if dest_file is not null then destination_file := dest_file; end if; if destination_file is null then destination_file := base_name(source_file); end if; ftp_pre_opt := ftp_rec.attribute5; ftp_post_opt := ftp_rec.attribute6; ftp_override := lower(ftp_rec.attribute7); dbms_output.put_line('host'); res := HOST('echo $$',proc_id); dbms_output.put_line('proc_id - '||proc_id); dbms_output.put_line('after host'); base_source := rtrim(base_name(source_file)); dbms_output.put_line('host 1'); res := HOST('> '||log_dir||'/ftpcmd.'||proc_id || ' ; chmod 777 '||log_dir||'/ftpcmd.'||proc_id,out1); dbms_output.put_line('host 2'); res := HOST('> '||log_dir||'/ftpmain.'||proc_id || ' ; chmod 777 '||log_dir||'/ftpmain.'||proc_id,out1); dbms_output.put_line('host 3'); res := HOST('> '||log_dir||'/ftplog.'||proc_id || ' ; chmod 777 '||log_dir||'/ftplog.'||proc_id,out1); dbms_output.put_line('host completed'); ...... ...... ......
Output:declare lv_ftp_result boolean; begin lv_ftp_result := u.FTP('XXAR_REV_PA', ' ' || '/u07/app/qaoa083a/data/outgoing/xxar/PARECREV' || '/' || 'REVENUE_20120319014318.dat','REVENUE_20120319014318.dat'); IF lv_ftp_result THEN dbms_output.put_line('True'); ELSE dbms_output.put_line('False'); END IF; exception when others then dbms_output.put_line('in exception - '||sqlerrm); end;
The flow of execution goes like this:host1 begin host2 begin m=1 result_out - ERROR : GLCC0005 presumed not running not derun begin Looping host host1 begin host2 begin m=1 in exception - ORA-06502: PL/SQL: numeric or value error: character string buffer too small
1 FTP function called from PL/SQL block
2 inside of the FTP service, the Sub statement calls the HOST function
3. This HOST function in turn calls another function of overloaded HOST (code shown above).log_dir varchar2(100) := get_env('$APPLCSF')||'/log';
4. in the function overloaded with the HOST, the following statements are executed successfully, and FALSE is returned by the function
5. the remaining code in the FTP service is running and the HOST function is called again using the Sub statementdbms_output.put_line('m=1'); result_out := 'ERROR : GLCC0005 presumed not running'; dbms_output.put_line('result_out - '||result_out);
6.again, this HOST function in turn calls another function of overloaded HOST (code posted above).res := HOST('echo $$',proc_id);
7. this time, in the function overloaded host, ORA-06502 is thrown when the following statement is executed and the execution stops here that this exception is unhandled.
This statement is very successfully in the previous call to the function of HOST (step 4), but it fails now.result_out := 'ERROR : GLCC0005 presumed not running';
Any idea on why this error occurs in this scenario? Because the issue of memory?
DB Info:
Kind regardsOracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production PL/SQL Release 11.2.0.1.0 - Production
Anthony
Published by: Anthony Alix on March 20, 2012 08:53Hello
HOST (1) calls the function of MODERATOR (2) with his second parameter as result_out
The first time you call the function of host (1) in the function get_env you use
... out varchar2(256); BEGIN res := HOST('echo '||env,out); ...
out is big enough varchar2 (256)
The second time you call (1) HOST of the FTP function as:
... ftp_main varchar2(2000); proc_id varchar2(10); fderr varchar2(100); ... ... res := HOST('echo $$',proc_id); dbms_output.put_line('proc_id - '||proc_id); ...
Here, use you proc_id which is varchar2 (10)
And it's not big enough!
Kind regards
Peter
-
PL/SQL: digital error or value (string buffer of characters too small)
Hi all
Here is the procedure used to send notifications. It worked very well in the previous version of DB :-10.1.0.5.0 and it has been recently upgraded to 11.2.0.2.0.
I respond very well, but when running it throws the error.
Can it please let me know if there is no problem with the code or upgrade questions?PROCEDURE PROC_STATUS_MAIL_UNADJ IS K_BOUNDARY CONSTANT VARCHAR2(1000) := 'a1b2c3d4e3f2g1'; l_analysis_report VARCHAR2(32767); --empty_clob; --clob := l_header VARCHAR2(1000); l_footer VARCHAR2(200); cnxn UTL_SMTP.connection; cursor cloc is select location_id from locations order by location_id asc; loc_id cloc%rowtype; BEGIN dbms_output.enable (1000000); FOR loc_id in cloc loop l_analysis_report := '<style type="text/css"> <!--.style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; color: #FF0000}--> <!--.sidebar1 { font-family: Arial, Helvetica, sans-serif; font-size: 10px}--> <!--.text { font-family: Arial, Helvetica, sans-serif; font-size: 12px}--> </style> <center><b><font face="Arial">Run Summary Report' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI AM') || '<br><br></font></b></center>' || ' <div align="center"><table width="95%" border="1" cellspacing="0" cellpadding="1" </div>' || '<span style="font-size: 10pt; font-family: Arial"> </span> ' || '<tr bgcolor=b4b4b4><td align="center"> <font size="3"> <b>' || 'Analysis</b></td><td align="center"><font size="3"> <b>' || 'Start Time</b></td><td align="center"><font size="3"> <b>' || 'End Time</b></td><td align="center"><font size="3"> <b>' || 'Run Duration (mins)</b></td><td align="center"><font size="3"> <b>' || 'Status</b></font></td></tr> ' || UTL_TCP.CRLF; FOR curr_refresh IN (SELECT AN.ANALYSIS_ID,AN.NAME ANALYSIS_NAME,TO_CHAR(ARH.RUN_START_TIME,'DD/MM/YYYY HH:MI:SS') START_TIME, TO_CHAR(ARH.RUN_END_TIME,'DD/MM/YYYY HH:MI:SS')END_TIME, ROUND(((ARH.RUN_END_TIME-ARH.RUN_START_TIME)*24*60),2) RUN_TIME_SECS,ARH.JOB_STATUS STATUS FROM RUN_HISTORY ARH,ANALYSES AN WHERE AN.ANALYSIS_ID=ARH.ANALYSIS_ID AND AN.CYCLE_IND_ID IN (1,3) AND ARH.RUN_START_TIME>TO_DATE(SYSDATE-30) AND ARH.JOB_NAME LIKE 'RHS_QU%' AND AN.LOCATION_ID = loc_id.location_id AND ARH.JOB_STATUS='Completed' ORDER BY ARH.RUN_START_TIME DESC) LOOP l_analysis_report := l_analysis_report ||'<tr><td align="center">'|| curr_refresh.analysis_name || '</td><td align="center">' || curr_refresh.start_time || '</td><td align="center">' || curr_refresh.end_time || '</td><td align="center">'|| curr_refresh.RUN_TIME_SECS || '</td><td align="center">'|| curr_refresh.status || '</td> </tr>' || UTL_TCP.CRLF; exit when length (l_analysis_report) > 32500; END LOOP; l_analysis_report := l_analysis_report || '</table><br><br>'; l_footer := UTL_TCP.CRLF ||'<b> Note: This is an auto generated email. Please do not reply to it. Contact the IT team for any further information.</b>'|| UTL_TCP.CRLF; FOR curr_email IN (SELECT GLOBAL_NAME INSTANCE_NAME, EU.EMAIL_USER_LAST_NAME last_name, EU.EMAIL_USER_FIRST_NAME ACNAME, EU.EMAIL_USER_EMAIL_ID,loc.LOCATION_NAME LOC_NAME, '[email protected]' MAIL_FROM FROM RHS_EMAIL_USER EU,LOCATIONS LOC,GLOBAL_NAME WHERE EU.LOCATION_ID=LOC.LOCATION_ID AND EU.LOCATION_ID=loc_id.location_id ) LOOP cnxn := UTL_SMTP.open_connection('smtprelay.inc.com', 25); UTL_SMTP.helo(cnxn, 'smtprelay.inc.com'); UTL_SMTP.mail(cnxn, '[email protected]'); UTL_SMTP.rcpt(cnxn, curr_email.EMAIL_USER_EMAIL_ID); l_header := 'MIME-Version: 1.0'||' To: ' || curr_email.last_name || ' <' || curr_email.EMAIL_USER_EMAIL_ID || '> From: ' || curr_email.mail_from || ' Subject: Un-Adjusted Analysis Report for ' || curr_email.loc_name || ' Location from' || curr_email.instance_name || ' on ' || to_char(sysdate, 'DD-MON-YYYY') || ' Reply-To: [email protected] Content-Type: text/html;' || UTL_TCP.CRLF || UTL_TCP.CRLF; UTL_SMTP.data(cnxn, l_header || l_analysis_report || l_footer); UTL_SMTP.quit(cnxn); END LOOP; END LOOP; END PROC_STATUS_MAIL_UNADJ; Error :- ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at "SYS.UTL_SMTP", line 591 ORA-06512: at "SYS.UTL_SMTP", line 497 ORA-06512: at "SYS.UTL_SMTP", line 503 ORA-06512: at "RISK_HISTORY.PKG_RHS_EMAIL_NOTIFY", line 206 ORA-06512: at "RISK_HISTORY.PKG_RHS_EMAIL_NOTIFY", line 414 ORA-06512: at line 2
Kind regards
Sunny
Published by: k_17 on October 13, 2011 12:07You must move the thread {forum: id = 75}.
-
Safari 10: too small font size
After the installation of Safari 10.0 this morning, nothing is as it used to be - printing on most websites is too small for me to read. The option to adjust the size to a minimum size by default in the Preferences window has disappeared; pages can be enlarged in 125, 150% etc but not what I want.
I no has not upgraded to the latest version of Safari to end up reading texts too small they are printed on stamps!
Do these guys at apple all this walk with a watchmakers eyepiece? All solutions (style sheets?)?
There are a number of discussions on this issue with your same concern. I agree, the issue of font size is really bad and the zoom function is NOT a way to solve this problem. As others have suggested sending back to Apple is a way of approaching the question with the hope that they give the choice of font size in preferences rather than this impassable zoom feature.
-
I can't change any settings that are shown in a popup box. The box is too small to contain the message and cannot be adjusted. I can make changes, but cannot save them. As a result, I am stuck with either save no history, or the history. My problem is to save the cookies but the problem is extensive. I am running Firefox 41.0 2 under Ubuntu LTS 14.04. This problem did not until the 41.x update. At that time, my settings in Firefox are YOU, and I had to reload all the preferences, (several times). Thunderbird doesn't seem to be affected.
The text seems important enough in the screenshot.
You have a size of upper text somewhere (Firefox or Linux settings)?
-
resolution of 4 k too small icons
I bought a 4 k (Samsung UE590) screen.
I m using a MacBook Pro of the retina (end 2013) with a DisplayPort adapter cable MiniDisplayPort (Thunderbolt) to. I m running a resolution of 3840 x 2160. He runs @60 as Hz as opposed to what support page Apple´s suggests.
I know that some people are complaining that the icons and text were too small, but I thought that Mac OS 10.10 and above solves this problem.
I have the same problem, all the icons and text are much too small. Is there a high way to end it without losing resolution 4 k?
OS X El Capitan: make it easier to see what is on the screen
Maybe you are looking for
-
How can I delete a movie from the mac pro flash drive?
Hello I want to clean flash drive my Mac Pro I see a 54.7 GB of movies and Photos and other total close to 45 GB which I do not think I need. As the pictures are supposed to be in my iCloud. I am currently left with 75,56 GB free on the 250 GB Please
-
Hello Sometimes my laptop stops at 50% load for example, and I can use it 24 hours when I realize that it is still at 50%, and then if I unplug and plug again AC adapter / CC it restarts reload in 50%. This situation can occur several times before 10
-
Replacement hard drive (HP Dv6-2155dx)
Hello everyone, my name is Aiko. A week ago, I received a notice of "SMART hard drive detects imminent failure" on my laptop. So devastating! My warranty has expired because this laptop is about 2 years old. I'm trying to understand what hard drive I
-
Dose of Windows Photo Viewer does not work! Why?
My local disk C: / was full, so I moved my default folder for programs install on my E: /. Then the folder of the Windows Photo Viewer and others have been moved automatically to the new folder. And now my windows photo viewer will not work. I don't
-
I am preparing the review of the OCA. I'm confused below question
Two tables with very restrictive search criteria, index on the common column must be attached and response time needs to be improved. What type?a. Mergeb. Nested Loopc. Hashd. cluster JoinI think it's Nester loop, but sometimes I see joining the Clus