How to avoid resolving character references
Hi,
Let's say an xml content contains > -- character reference for (>). After being parsed by DOMParser and processed by XSLProcessor along with a stylesheet, in the end, this character reference is completely resolved to ">". How would I be able to stop this transformation from resolving character reference or only let it resolve to a unicode such as >.
Prompt help is highly appreciated!
Frank.
You cannot prevent character entity resolution to the best of my knowledge.
What the use case for wanting to do this?
Similar Messages
-
How to pass character references in JDOM?
Friends,
I am trying to pass a binary file over XML(over HTTP POST), as an element, like
<file>
<data>here goes the binary file</data>
</file>
This is only part of the XML, and I am trying to use JDOM to build the XML tree.
I am using Element.addContent(String binarycontent) method to set the text for the <data> element. The file has invalid XML characters(like characters less than 0x20), so I am escaping them using character references like
etc
The real problem is JDOM interprets the & character and this gets passed as &#10;
which is useless on the server side.
Is there any way to signal JDOM not to interpret the text I use in element.addContent(text) and escape them? Or is there any way to insert a character reference?
Thanks,
RamXML files can only contain text. This is a law of XML. Instead of trying to hack around it like you did, you should encode your binary data into text before you put it into the XML. Then, of course, to get the binary file back out you would need to decode it. One fairly common and well-documented way to encode binary data into text is the Base64 encoding, which is described here:
http://www.faqs.org/rfcs/rfc2045.html -
I was trying to convert some PDF documents to PDF/A-3b. Using Acrobat XI Pro on a Windows Vista PC, the conversion proceeded fine, but I noticed the size of the converted file increased from 1.91 Mb to 16.8 Mb (See spage usage audits below). I expected some increase in size due to the font embedding and such, but did not expect such a big jump. On Auditing the space usage, I noticed that the converted file had no embedded fonts, but the vast majority of space was being consumed by images. Turns out the "Convert to PDF/A-3b" profile in Preflight settings were set to convert all pages to images, if the regular conversion failed. I edited the profile to not do so, but fail on an error. This time when I passed the document through a "Convert to PDF/A-3b" pre-flight, it failed with the following errors.
CIDset in subset font is incomplete (font contains glyphs that are not listed). It appears to be referring to the Arial and TimesNewRoman fonts.
Character references .notdef glyph
How do I fix these errors? For the CIDset error, I noticed some folks in the InDesign forums mentioning you can locate the missing glyphs and then replace the fonts with other fonts in which these glyphs are present. I am wondering if this is the issue here and something similar can be done in Acrobat. As for the .notdef glyphs, I couldn't find anything. Any help would be much appreciated.
Thanks,
Ron
Note:
If I edit the conversion preflight profile to allow replacing the pages with images on regular conversion errors, the conversion goes through fine, but as shown below, there is a huge jump in size, which I would like to avoid. I have about 2GB worth of documents, and the conversion ends up using over 8 GB of space.
Regular PDF
Archival Ready PDF (PDF/A-3b)What software are you using to do OCR?
Is there a way you can adjust what font is being used by the OCR software or use a different software for OCR? This is not a standard OpenType font or one the can be mapped to Unicode.
I'm not sure exactly how OCR software places fonts in PDFs. Does it show up in the PDF Properties under Fonts? If so, what is the name of the Font.
When you examine the Tagged text in the Tags Panel, if you open up a tag and look at the content does it make sense or is it nonsense (gobbledygook)?
While OCR text is not visible to the end user directly, it can be selected using the text tool and it is recognized by Acrobat for tagging purposes. The Assistive Technology, e.g., screen reader. will be reading from this text. So if it is not understandable you do not have an accessible file.
You would probably obtain better results using the Acrobat OCR feature, preferably on a Windows machine. It's been a while since I've exchanged files between Mac and Windows, and I wouldn't trust that the encodings would be the same without testing it. -
How to avoid the message in the dashboard report
Hi,
I am developing Dashboard reports(graphs) using WAD. Query and WAD are working fine. I need to put a variable for Calendar Month or Year in the graph .I am populating the Variable with default value initially and I am getting the correct result . But if I change the Variable value second time, I am getting a message (type I(information) ) in the same screen which says that 'You cannot change variable ZCALYEAR_WT01 for charact. 0CALYEAR during query navigation' . And below is the detailed information about the error message.
The Can be changed in query navigation property has been set for variable ZCALYEAR_WT01, characteristic 0CALYEAR. However, the variable is used in the query in such a way, that the system is unable to apply this change-option.
This can, for example, occur under the following conditions:
Characteristic 0CALYEAR is filtered by additional restrictions (the restrictions must be joined using an OR-connection)
A second characteristic, which is restricted by a variable, is compounded to charcteristic 0CALYEAR.
Variable ZCALYEAR_WT01 is a hierarchy node variable, but the hierarchy has not been determined uniquely.
A variable can be changed during query navigation only if it is used exclusively in a drilldown-characteristic, and there are no further restrictions to the characteristic other than this variable. There must be no additional characteristics with variables compounded to the characteristic you are working with. For variables for hierarchy nodes, the hierarchy must be determined uniquely and agree with the set display hierarchy.
Also, if the characteristic value is moved, for example (ZCALYEAR_WT01 - 1), the variable is no longer able to be changed when navigating queries.
System Response
The entry ZCALYEAR_WT01 Can be changed during query navigation is not applied.
Procedure
I checked the query definition and it is not having any offset or any other restrictions for Calendar Year
It is used for finding the total quantity by country for the year .Hence Quantity keyfigure is added in the Keyfigures and Country is in the Rows and Calendar Year is restricted with Variable in the global filter .There are no other fields and no other restrictions .
I am still trying to figure out why the warning apprears in the DashBoard. Since this Dashboard report will be used by the Power users and this warning message will be annoying to them .Hence I need to find how to avoid this message.
Kindly do let me if anyone has faced this and solved earlier.
Thanks for your time.
Thanks & Regards,
RajaHi Nick,
Thanks for your suggestion and it worked for me I added the 'System message' web item and set the visibility to 'Hidden' .Now I am not getting any message. Thank you for both.
Thanks & Regards,
Raja -
Cheque printing. How to avoid last page in case of check printing in F110?
F-68 prints only one page whereas F110 prints 2 pages.
How to avoid last page in case of check printing using F110? Is there any other option than changing the Script.Hi,
Im also facing the same issue. Generates 1 page with F-58 but 2 pages with f110. Kindly let me know how to resolve. -
How can I resolve error code -54 in iTunes? I am using the latest iTunes. No new updates are available. I'm using iTunes 11.3 on a MacBook Pro, OS X 10.6.8. I can't save my library in iTunes, the message just keeps popping up.
From an OS9 reference, error -54 is a software lock on a file or a permissions error. (Although there is no formal list of OSX error code some of the old codes still apply to OSX .)
First, try simply restarting your computer.
Try quitting iTunes, then deleting the .xml (not .itl !) version of the library file in the iTunes folder (iTunes will generate a new one).
iTunes Library cannot be saved (Error -54) - https://discussions.apple.com/thread/1912814 - various things to try.
Unknown error (-54) while syncing ipod - https://discussions.apple.com/thread/1082953 - problem was locked files
Why does iTunes keep showing a -54 error when I sync my iPad? - https://discussions.apple.com/thread/3727114
Error -54 possibly related to Touch Copy - https://discussions.apple.com/thread/3727114 - cleared by deleting preferences on iPad.
iTunes: Missing folder or incorrect permissions may prevent authorization - http://support.apple.com/kb/ts1277
Troubleshooting permissions issues in Mac OS X - http://support.apple.com/kb/HT2963 -
LD_ASSUME_KERNEL does not work in recent distros. How to avoid?
LD_ASSUME_KERNEL=2.4.XX does not work in all recent distros.
$ export LD_ASSUME_KERNEL=2.4.20
$ ls
ls: error while loading shared libraries: librt.so.1: cannot open shared object
EBS contains very old cmponents like MWA wich not compiled without this setting. How to avoid errors?You can unset LD_ASSUME_KERNEL and EBS 11i (11.5.9 and 11.5.10) will work fine on 2.6.16 kernels (SLES-10 and RH 5.0).
The following instructions should get you going:
1) Setup the environment as you would for running Applications on RH 4 or SLES9
I.E. follow Oracle Applications Installation Update Notes, Release 11i (11.5.10.2)
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=316806.1
2) Remove any LD_ASSUME_KERNEL references in O/S /etc/profile.d files
3) Comment out LD_ASSUME_KERNEL entries in $ORACLE_HOME/appsutil/bin/adgetlnxver.sh and $AD_TOP/bin/adgetlnxver.sh
if [ ${setflag}x = "x" -a $os = "Suse" ]; then
# LD_ASSUME_KERNEL="2.4.21"
# export LD_ASSUME_KERNEL
os="Suse"
fi
if [ ${setflag}x = "x" -a $os = "RH" ]; then
# LD_ASSUME_KERNEL="2.4.19"
# export LD_ASSUME_KERNEL
os = "RH"
fi
If doing a rapid install, the database startup will fail and rapidwiz will prompt to ignore or retry. At this point, edit $ORACLE_HOME/appsutil/bin/adgetlnxver.sh as shown above and click on retry. It will then run to the autoconfig step at the end and error out. Just hit cancel, edit $AD_TOP/bin/adgetlnxver.sh and run autoconfig.
On Suse, one needs compat-gdbm for libgdbm.so.2
rpm -Uhv compat-gdbm-1.8.0-7.i586.rpm
Preparing... ########################################### [100%]
1:compat-gdbm ########################################### [100%]
Also in /usr/lib run ln -s libdb.so.2 libdb.so.3
Ref:
Note:300807.1 for Suse
create symbolic link called libdb.so.2 pointing to libdb.so.3, as follows:
$ cd /usr/lib
$ ln -s libdb.so.3 libdb.so.2 (or install db1-1.85-85.1 which does the same)
Note:294043.1 for Red Hat
As per an internal Bug 4045349, this is an issue with O/S side installation of compat-db rpm.
libdb.so.3 gets installed when compat-db rpm is installed.
- The O/S installation CD would contain compat-db
e.g compat-db-4.1.25-6.i386.rpm ( may change as per your version ).
- Manually install the compat-db rpm
e..g "rpm -ivh compat-db-4.1.25-6.i386.rpm"
OR
Note:345172.1
A library is missing: libdb.so.2 is from gnome-libs-1.4.1.2.90-34.1.i386.
This error also occurs in SLES9, same cause, slightly different resolution. SLES9 comes with libdb.so.3 and libdb.so.4 but not libdb.so.2 - need to install db1-1.85-85.1 to get libdb.so.2.
4) In order to relink cplex library executables (MSC, MSO, MSR, MST, WIP, etc), edit $AD_TOP/bin/adrelinknew.sh and add the following LD option (-Wl,--noinhibit-exec) in the LINUX section:
LINUX)
LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -ldl'
DEBUG_LDFLAGS='-g -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -ldl'
exe_line='ELF .*executable'
SHRLIB_LD='gcc'
LD='gcc'
SHRLIB_LDFLAGS='-L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -shared'
if test -f "/etc/redhat-release"; then
CPP_LIBS='/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so'
elif test -f "/etc/SuSE-release"; then
CPP_LIBS='/usr/lib/libstdc++.so.2.9'
else
CPP_LIBS=''
fi
CPP='g++'
CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs
set CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs
to CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -Wl,--noinhibit-exec'
After this chance, you can apply any MRP, ASCP patch and all executables will relink correctly. You can also use adadmin to relink all executables and it completes without error.
5) Discoverer 4.1.38.08 Follow Metalink Note 280598.1 Discoverer 4i On Linux: Required Patch and Configuration for Discoverer Server Stability to use JDK 1.3.1 and oadj. I updated the autoconfig template files with this change after applying 3895177. Discoverer viewer and plus standard BIS reports all open correctly on SLES-10 -
My Wifi doesn´t work. The Wifi icon on top menu bar states there is no hardware connected. How can I resolve this as previously Wifi connection worked perfectly. Is this something that to do with the computer hardware? Please advise.
SkyDaughter29 wrote:
My current situation: I have soooo many texts on my iphone and I haven't deleted many because I need the information contained in them for future reference and for legal purposes. I would really like to find a means and way to save them other than on the phone itself. I've done searches for various apps yet I'm not finding what I think I would need. It appears Apple does not sync the texts between the iphone and my MacBook Pro.
Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
http://www.ecamm.com/mac/phoneview/
http://www.wideanglesoftware.com/touchcopy/index.php
Best of luck. -
How to define special character in html text file used in loadvars
Hi
I'm witing some maths software and need to use the division
sign in a text file which is loaded using LoadVars().
The variable loaded is then assigned to a text area. Here's
the variable example.
&hint1=<title><b>Challenge 1: Instant recall
of any table</b></title><p>Including table
divisions eg 56 ÷ 8= </p>
the division sign is missing or a just a box. I've already
tried most options: ÷ (which works in XML loaded to
flash), ÷ %F7
Can anyone help please?Hi Michael. Thank you for your reply.
There is no declaration within sgm file itself - but while opening the file I use sgml application definition with the following settings:
Default API client: FmTranslator
SGML character encoding: ISO Latin1
XML character encoding: UTF-8
Namespace: Enable
CSS2 Preferences:
Generate CSS2: Disable
Add Fm CSS Attribute To XML: Disable
Retain Stylesheet Information: Disable
Entity locations
Entity search paths
C:\Program Files\Adobe\FrameMaker9\Structure\sgml\isoents
So as you can see, character encoding is set to ISO Latin1 (there is no way to use UTF-8 encoding in sgml files)
Typing ź or ć in sgm document and opening it with framemaker sgml application - I receive: ¿æ and message: "Non-SGML character found; should have been character reference"
Everything works fine when I type f.ex.: &x016B; and insert appropriate reference lines into isolat1.rw and isolat1.ent files
But what I would like to avoid is editing those isoent files each time new character is be needed. -
I have an sgm file which contains special characters in different languages.
<!DOCTYPE MANUAL PUBLIC "-//SWE-XXX//DTD XXX MANUAL-DTD 2.0//EN">
<MANUAL LANG="CS">
<TITEL>
Polish characters: óê¿ñæÑÆÊ¥Ó£
Czech characters: éìóïáøèíùòú&Og rave;ÌÉÓÚÙÈØÍÁÏ aacute: á</TITEL>
</MANUAL>
Is there any way to insert special character directly in sgm file, so that it won't have to be interpreted by isoents mapping rules?
isoent.rwr interpretes oacute as:
entity "oacute" is fm char 0x00F3;
But I would like to use 0x00F3 directly in fm file, so that if any additional character is needed - I won't have to update isoent files
I've tested already:
ó
&x00F3;
&0x00F3;
but with no luck
Is there anyone who could help me with it?
I will really appreciate your help
/JoannaHi Michael. Thank you for your reply.
There is no declaration within sgm file itself - but while opening the file I use sgml application definition with the following settings:
Default API client: FmTranslator
SGML character encoding: ISO Latin1
XML character encoding: UTF-8
Namespace: Enable
CSS2 Preferences:
Generate CSS2: Disable
Add Fm CSS Attribute To XML: Disable
Retain Stylesheet Information: Disable
Entity locations
Entity search paths
C:\Program Files\Adobe\FrameMaker9\Structure\sgml\isoents
So as you can see, character encoding is set to ISO Latin1 (there is no way to use UTF-8 encoding in sgml files)
Typing ź or ć in sgm document and opening it with framemaker sgml application - I receive: ¿æ and message: "Non-SGML character found; should have been character reference"
Everything works fine when I type f.ex.: &x016B; and insert appropriate reference lines into isolat1.rw and isolat1.ent files
But what I would like to avoid is editing those isoent files each time new character is be needed. -
How do I resolve licensing error 150:30 in Photoshop Elements 8 on a Mac?
How do I resolve this issue? I found some troubleshooting steps through Adobe but the files they reference I don't have on my computer and I don't think the steps I found were for my version of elements anyways. Thanks!
You need to contact Adobe about that. You will need CS6 or above.
-
How to avoid performance problems in PL/SQL?
How to avoid performance problems in PL/SQL?
As per my knowledge, below some points to avoid performance proble in PL/SQL.
Is there other point to avoid performance problems?
1. Use FORALL instead of FOR, and use BULK COLLECT to avoid looping many times.
2. EXECUTE IMMEDIATE is faster than DBMS_SQL
3. Use NOCOPY for OUT and IN OUT if the original value need not be retained. Overhead of keeping a copy of OUT is avoided.Susil Kumar Nagarajan wrote:
1. Group no of functions or procedures into a PACKAGEPutting related functions and procedures into packages is useful from a code organization standpoint. It has nothing whatsoever to do with performance.
2. Good to use collections in place of cursors that do DML operations on large set of recordsBut using SQL is more efficient than using PL/SQL with bulk collects.
4. Optimize SQL statements if they need to
-> Avoid using IN, NOT IN conditions or those cause full table scans in queriesThat is not true.
-> See to queries they use Indexes properly , sometimes Leading index column is missed out that cause performance overheadAssuming "properly" implies that it is entirely possible that a table scan is more efficient than using an index.
5. use Oracle HINTS if query can't be further tuned and hints can considerably help youHints should be used only as a last resort. It is almost certainly the case that if you can use a hint that forces a particular plan to improve performance that there is some problem in the underlying statistics that should be fixed in order to resolve issues with many queries rather than just the one you're looking at.
Justin -
How to avoid spaces in csv file at the time of spooling
Hi all,
I am spooling 30 query results into one CSV file ,I am getting two empty rows for each query.
Can any one suggest me how to avoid these spaces.
Thanks & Regards,
P Prakash
this is the script i am using to generate csv file .
SET linesize 12000
SET pagesize 10000
SET pause off
SET termout off
SET feed off
SET head off
SPOOL c:\tes111.csv replace
SELECT 'ISA01,ISA02,ISA03,ISA04,ISA05,ISA06,ISA07,ISA08,ISA09,ISA11,ISA12,ISA13,ISA14,ISA15,ISA16,GS01,GS02,GS03,GS04,GS05,GS06,GS07,GS08,ST01,ST02,ST03,BHT01,BHT02,BHT03,BHT04,BHT06,trnsctn_segment_count,included_trnsctn_sets_count,included_fnctnl_groups_count,input_acknwldgmnt_sid'
FROM DUAL;
SELECT ptr.athrztn_infrmtn_qlfr
|| ','
|| ptr.athrztn_infrmtn
|| ','
|| ptr.scrty_infrmtn_qlfr
|| ','
|| ptr.scrty_infrmtn
|| ','
|| ptr.intrchng_sndr_idntfr_qlfr
|| ','
|| ptr.intrchng_sndr_idntfr
|| ','
|| ptr.intrchng_rcvr_idntfr_qlfr
|| ','
|| ptr.intrchng_rcvr_idntfr
|| ','
|| ptr.intrchng_date
|| ','
|| ptr.intrchng_cntrl_stndrds_idntfr
|| ','
|| ptr.intrchng_cntrl_vrsn_nmbr
|| ','
|| ptr.intrchng_cntrl_nmbr
|| ','
|| ptr.acknwldgmnt_rqstd_indctr
|| ','
|| ptr.usg_indctr
|| ','
|| ptr.cmpnt_elmnt_sprtr
|| ','
|| ptr.fnctnl_idntfr_code
|| ','
|| ptr.aplctn_sndr_code
|| ','
|| ptr.applctn_rcvr_code
|| ','
|| ptr.fnctnl_grp_crtn_date
|| ','
|| ptr.fnctnl_grp_crtn_date
|| ','
|| ptr.grp_cntrl_nmbr
|| ','
|| ptr.rspnsbl_agncy_code
|| ','
|| ptr.vrsn_rls_indstry_idntfr_code
|| ','
|| ptr.trnsctn_set_idntfr_code
|| ','
|| ptr.trnsctn_set_cntrl_nmbr
|| ','
|| ptr.implementation_guide_vrsn_name
|| ','
|| ptr.hierarchical_structure_code
|| ','
|| ptr.trnsctn_set_purpose_lkpcd
|| ','
|| ptr.sbmtr_trnsctn_idntfr
|| ','
|| ptr.trnsctn_set_creation_date
|| ','
|| ptr.trnsctn_type_code
|| ','
|| ptr.trnsctn_segment_count
|| ','
|| ptr.included_trnsctn_sets_count
|| ','
|| ptr.included_fnctnl_groups_count
|| ','
|| ia.input_acknwldgmnt_sid
|| ','
FROM pa_transaction_request ptr, input_acknwldgmnt ia, input_batch_file ibf
WHERE ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
SELECT 'pa_rqst_sid,NM01,NM02,NM108,NM109'
FROM DUAL;
SELECT pr.pa_rqst_sid
|| ','
|| pr.entity_idntfr_lkpcd
|| ','
|| pr.entity_type_qlfr
|| ','
|| pr.payer_idntfctn_code_qlfr
|| ','
|| pr.payer_idntfctn_code
|| ','
FROM pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
SELECT 'meta_data_cid,data_value,iteration_number,Created_by,modified_by'
FROM DUAL;
SELECT prs.meta_data_cid
|| ','
|| prs.data_value
|| ','
|| prs.iteration_number
|| ','
|| prs.created_by
|| ','
|| prs.modified_by
|| ','
FROM pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf,
pa_request_situational prs
WHERE pr.pa_rqst_sid = prs.pa_rqst_sid
AND prs.stnl_target_table_cid = 100
AND prs.target_table_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
SELECT 'NM101 ,NM103,NM104,NM105,NM108,NM109,PER02,PER04,PER05,PER06,PER07 ,PER08'
FROM DUAL;
SELECT pr.pa_rqst_sid
|| ','
|| prpl.pa_rqst_x_prvdr_lctn_sid
|| ','
|| prpl.rqstr_entity_idntfr_lkpcd
|| ','
|| prpl.last_name
|| ','
|| prpl.first_name
|| ','
|| prpl.middle_name
|| ','
|| prpl.idntfr_type_cid
|| ','
|| prpl.prvdr_lctn_iid
|| ','
|| prpl.rqstr_contact_name
|| ','
|| prpl.cmnctn_nmbr_1
|| ','
|| prpl.cmnctn_nmbr_2
|| ','
|| prpl.cmnctn_nmbr_type_lkpcd_1
|| ','
|| prpl.cmnctn_nmbr_type_lkpcd_2
|| ','
|| prpl.cmnctn_nmbr_type_lkpcd_3
FROM pa_request_x_provider_location prpl,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE prpl.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat'
AND prpl.pa_prvdr_type_lkpcd = 'RR';
SELECT 'meta_data_cid,data_value,iteration_number,Created_by,modified_by'
FROM DUAL;
SELECT prs.meta_data_cid
|| ','
|| prs.data_value
|| ','
|| prs.iteration_number
|| ','
|| prs.created_by
|| ','
|| prs.modified_by
|| ','
FROM pa_request_x_provider_location prpl,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf,
pa_request_situational prs
WHERE prpl.pa_rqst_sid = prs.pa_rqst_sid
AND prs.stnl_target_table_cid = 102
AND prs.target_table_sid = prpl.pa_rqst_x_prvdr_lctn_sid
AND prpl.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat'
AND prpl.pa_prvdr_type_lkpcd = 'RR';
-- 4. Subscriber
NM103 Name Last or Organization Name
NM104 Name First
NM108 Identification Code Qualifier
NM109 Identification Code
DMG02 Date Time Period birth date
DMG03 Gender Code
SELECT ' NM103,NM104,NM108,NM109,DMG02,DMG03'
FROM DUAL;
SELECT prxm.last_name
|| ','
|| prxm.first_name
|| ','
|| prxm.idntfr_type_cid
|| ','
|| prxm.mbr_idntfr
|| ','
|| prxm.birth_date
|| ','
|| prxm.gender_lkpcd
|| ','
FROM pa_request_x_member prxm,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE prxm.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
-- 5. Subscriber Situational Info
NM102 Entity Type Qualifier
NM105 Name Middle
NM107 Name Suffix
REF01 Reference Identification Qualifier
REF02 Reference Identification
N301 Address Information
N302 Address Information
N401 City Name
N402 State or Province Code
N403 Postal Code
N407 Country Subdivision Code
SELECT 'meta_data_cid,data_value,iteration_number,Created_by,modified_by'
FROM DUAL;
SELECT prs.meta_data_cid
|| ','
|| prs.data_value
|| ','
|| prs.iteration_number
|| ','
|| prs.created_by
|| ','
|| prs.modified_by
|| ','
FROM pa_request_x_member prxm,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf,
pa_request_situational prs
WHERE prxm.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND prs.stnl_target_table_cid = 101
AND prs.target_table_sid = prxm.pa_rqst_x_mbr_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
-- 6. Patient Event Level
TRN02 Reference Identification
TRN03 Originating Company Identifier
TRN04 Reference Identification
UM01 Request Category Code
UM02 Certification Type Code
UM03 Service Type Code
UM04-1 Facility Code Value
UM04-2 Facility Code Qualifier
UM06 Level of Service Code
UM07 Current Health Condition Code
UM08 Prognosis Code
UM09 Release of Information Code
UM10 Delay Reason Code
SELECT 'TRN02,TRN03,TRN04,UMO1,UMO2,UM04_1,UM04_2,UM06,UM07,UM08,UM09,UM10,'
FROM DUAL;
SELECT prd.patient_event_tracking_number
|| ','
|| prd.orginating_company_identifier
|| ','
|| prd.trace_assigning_entity_idntfr
|| ','
|| prs.rqst_ctgry_lkpcd
|| ','
|| prs.rqst_crtfctn_type_lkpcd
|| ','
|| prs.x12_pa_srvc_type_code
|| ','
|| prs.facility_type_code
|| ','
|| prs.unfrm_blng_facility_type_code
|| ','
|| prs.srvc_rqd_lkpcd
|| ','
|| prs.current_health_cndtn_lkpcd
|| ','
|| prs.prognosis_lkpcd
|| ','
|| prs.rls_of_info_lkpcd
|| ','
|| prs.delay_reason_lkpcd
|| ','
FROM pa_request_service prs,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf,
pa_request_detail prd
WHERE prs.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND pr.pa_rqst_sid = prd.pa_rqst_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
--Patient Event Level situational information
SELECT 'meta_data_cid,data_value,iteration_number,Created_by,modified_by'
FROM DUAL;
SELECT prs.meta_data_cid
|| ','
|| prs.data_value
|| ','
|| prs.iteration_number
|| ','
|| prs.created_by
|| ','
|| prs.modified_by
|| ','
FROM pa_request_service prsv,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf,
pa_request_situational prs
WHERE prsv.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND prs.stnl_target_table_cid = 103
AND prs.target_table_sid = prsv.pa_rqst_srvc_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
---Diagnosis
HI01 Health Care Code Information
HI01-1 Code List Qualifier Code
HI01-2 Industry Code
HI01-3 Date Time Period Format Qualifier
HI01-4 Date Time Period
SELECT 'HI01_1,HI01_2,HI01_3'
FROM DUAL;
SELECT prd.pa_diagnosis_type_lkpcd
|| ','
|| prd.diagnosis_iid
|| ','
|| prd.from_date
|| ','
FROM pa_request_x_diagnosis prd,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE prd.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
-- Request detail
TRN02 Reference Identification
TRN03 Originating Company Identifier
TRN04 Reference Identification
SELECT 'TRN02,TRN03,TRN04'
FROM DUAL;
SELECT prd.patient_event_tracking_number
|| ','
|| prd.orginating_company_identifier
|| ','
|| prd.trace_assigning_entity_idntfr
|| ','
FROM pa_request_detail prd,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE prd.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
-- ambulance Transaportation
CR101 Unit or Basis for Measurement Code
CR102 Weight
CR103 Ambulance Transport Code
CR104 Ambulance Transport Reason Code
CR105 Unit or Basis for Measurement Code
CR106 Quantity
CR109 Description
CR110 Description
SELECT 'CR101,CR102,CR103,CR104,CR105,CR106,CR109,CR110'
FROM DUAL;
SELECT pat.weight_uom_code
|| ','
|| pat.patient_weight
|| ','
|| pat.amblnc_transport_type_lkpcd
|| ','
|| pat.amblnc_transport_rsn_lkpcd
|| ','
|| pat.distance_uom_code
|| ','
|| pat.trnsprtn_distance
|| ','
|| pat.round_trip_purpose_desc
|| ','
|| pat.stretcher_purpose_desc
|| ','
FROM pa_request_ambulance_transport pat,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE pat.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
-- 2000F SV1
SV101-1 Product/Service ID Qualifier Change values
SV101-2 Product/Service ID Need to change label to Procedure Code.
SV101-3 Procedure Modifier No change required to PA screen
SV101-4 Procedure Modifier No change required to PA screen
SV101-5 Procedure Modifier No change required to PA screen
SV101-6 Procedure Modifier No change required to PA screen
SV101-7 Description No change required to PA screen. Will map to the Remarks field on the Screen
SV102 Monetary Amount
SV103 Unit or Basis for Measurement Code
SV104 Quantity
SV107 Composite Diagnosis Code Pointer
SV107-1 Diagnosis Code Pointer
SV107-2 Diagnosis Code Pointer
SV107-3 Diagnosis Code Pointer
SV107-4 Diagnosis Code Pointer
SV111 Yes/No Condition or Response Code
SV120 Level of Care Code
SELECT 'TRN_Reference_Identif,TRN_Originating_CMP_Identif,TRN_Reference_IdentiReference Identiff,Reference_Identif,Reference_Identification,Reference_Identif,Product/Service_ID_Qualifier,Product/Service_ID,Procedure_Modifier,Procedure_Modifier,Procedure_Modifier,Procedure_Modifier,Description'
FROM DUAL;
SELECT prp.srvc_trace_nmbr_1
|| ','
|| prp.trace_asgn_enty_adtnl_idntfr_1
|| ','
|| prp.trace_asgn_enty_adtnl_idntfr_1
|| ','
|| prp.trace_asgn_enty_adtnl_idntfr_2
|| ','
|| prp.prvs_rvw_athrztn_nmbr
|| ','
|| prp.prvs_administrative_rfrnc_nmbr
|| ','
|| prp.x12_code_list_qlfr_lkpcd
|| ','
|| prp.procedure_iid
|| ','
|| prp.mdfr_code
|| ','
|| prp.mdfr2_code
|| ','
|| prp.mdfr3_code
|| ','
|| prp.mdfr4_code
|| ','
|| prp.drug_desc
|| ','
FROM pa_request_procedure prp,
pa_request_service prs,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE prp.pa_rqst_srvc_sid = prs.pa_rqst_srvc_sid
AND prs.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HHIPAA.165760000.20110518I001.278_GC04-3.dat';
SV2 SV201 Product/Service ID
SV2 SV202 Composite Medical Procedure Identifier
SV2 SV202-1 Product/Service ID Qualifier
SV2 SV202-2 Product/Service ID
SV2 SV202-3 Procedure Modifier
SV2 202-4 Procedure Modifier
SV2 SV202-5 Procedure Modifier
SV2 SV202-6 Procedure Modifier
SV2 SV202-7 Description
SV2 SV202-8 Product/Service ID
SV2 SV203 Monetary Amount
SV2 SV204 Unit or Basis for Measurement Code
SV2 SV205 Quantity
SV2 SV206 Unit Rate
SV2 SV209 Nursing Home Residential Status Code
SELECT 'Product/Service ID,Product/Service ID Qual,Product/Service ID,Product Modifier,Product Modifier,Product Modifier,Product Modifier,Description,Unit Rate,'
FROM DUAL;
SELECT prp.revenue_iid ||','||
prp.x12_code_list_qlfr_lkpcd ||','||
prp.procedure_iid ||','||
prp.mdfr_code ||','||
prp.mdfr2_code ||','||
prp.mdfr3_code ||','||
prp.mdfr4_code ||','|| prp.drug_desc ||','||
prp.srvc_line_rate ||','
FROM pa_request_procedure prp,
pa_request_service prs,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE prp.pa_rqst_srvc_sid = prs.pa_rqst_srvc_sid
AND prs.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
-- 2000F SV3
SV301 Composite Medical Procedure Identifier
SV301-1 Product/Service ID Qualifier
SV301-2 Product/Service ID
SV301-3 Procedure Modifier
SV301-4 Procedure Modifier
SV301-5 Procedure Modifier
SV301-6 Procedure Modifier
SV301-7 Description
SV301-8 Product/Service ID
SV302 Monetary Amount
SV304 Oral Cavity Designation
SV304-1 Oral Cavity Designation Code
SV304-2 Oral Cavity Designation Code
SV304-3 Oral Cavity Designation Code
SV304-4 Oral Cavity Designation Code
SV304-5 Oral Cavity Designation Code
SV305 Prosthesis, Crown or Inlay Code
SV306 Quantity
SV307 Description
select 'Product/Service ID Qual,Product/Service ID,Procedure Modifier,Procedure Modifier,Procedure Modifier,Procedure Modifier,Description,Oral Cavity Designation Code,Oral Cavity Designation Code,Oral Cavity Designation Code,Oral Cavity Designation Code,ProsthesisCrown Inlay Code,Description' from dual;
SELECT prp.x12_code_list_qlfr_lkpcd
|| ','
|| prp.procedure_iid
|| ','
|| prp.mdfr_code
|| ','
|| prp.mdfr2_code
|| ','
|| prp.mdfr3_code
|| ','
|| prp.mdfr4_code
|| ','
|| prp.drug_desc
|| ','
|| prp.oral_cavity_dsgntn2_cid
|| ','
|| prp.oral_cavity_dsgntn3_cid
|| ','
|| prp.oral_cavity_dsgntn4_cid
|| ','
|| prp.oral_cavity_dsgntn5_cid
|| ','
|| prp.prosthesis_crown_inlay_code
|| ','
|| prp.remark
|| ','
FROM pa_request_procedure prp,
pa_request_service prs,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE prp.pa_rqst_srvc_sid = prs.pa_rqst_srvc_sid
AND prs.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
-- 2000F TOO pending Prakash to Write
--Tooth Information
SELECT 'Industry Code,Tooth Surface,TOO03-1_Tooth Surface Code,TOO03-2_Tooth Surface Code,TOO03-3_Tooth Surface Code,TOO03-4_Tooth Surface Code,'
FROM DUAL;
SELECT prp.tooth_number_cid
|| ','
|| prp.tooth_surface_cid
|| ','
|| prp.tooth_surface2_cid
|| ','
|| prp.tooth_surface3_cid
|| ','
|| prp.tooth_surface4_cid
|| ','
|| prp.tooth_surface5_cid
|| ','
FROM pa_request_procedure prp,
pa_request_service prs,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE prp.pa_rqst_srvc_sid = prs.pa_rqst_srvc_sid
AND prs.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
--tooth SItuational Information
select 'Monetary Amount,Quantity' from dual;
SELECT prpt.rqst_prcdr_amt||','|| prpt.rqst_prcdr_units||','
FROM pa_rqst_prcdr_transaction prpt,
pa_request_procedure prp,
pa_request_service prs,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE prpt.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
AND prp.pa_rqst_srvc_sid = prs.pa_rqst_srvc_sid
AND prs.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
-- pa_rqst_prcdr_x_prvdr_lctn
select 'pa_rqst_prcdr_sid,pa_rqst_x_prvdr_lctn_sid' from dual;
SELECT prppl.pa_rqst_prcdr_sid||','|| prppl.pa_rqst_x_prvdr_lctn_sid||','
FROM pa_rqst_prcdr_x_prvdr_lctn prppl,
pa_request_procedure prp,
pa_request_service prs,
pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf
WHERE prppl.pa_rqst_prcdr_sid = prp.pa_rqst_prcdr_sid
AND prp.pa_rqst_srvc_sid = prs.pa_rqst_srvc_sid
AND prs.pa_rqst_sid = pr.pa_rqst_sid
AND pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
-- error Details
--Header level error details
SELECT 'pa_rqst_sid,pa_error_nmbr,pa_error_sid,reject_reason_lkpcd,follow_up_action_lkpcd,aaa_segment_loop_nmbr,run_nmbr,'
FROM DUAL;
SELECT prre.pa_rqst_sid
|| ','
|| pe.pa_error_nmbr
|| ','
|| pe.pa_error_sid
|| ','
|| ped.reject_reason_lkpcd
|| ','
|| ped.follow_up_action_lkpcd
|| ','
|| ped.aaa_segment_loop_nmbr
|| ','
|| prre.run_nmbr
|| ','
FROM pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf,
pa_request_run_error prre,
pa_error pe,
pa_error_detail ped
WHERE pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND pr.pa_rqst_sid = prre.pa_rqst_sid
AND prre.pa_error_sid = pe.pa_error_sid
AND pe.pa_error_sid = ped.pa_error_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
---Line Level Error Details
SELECT 'pa_rqst_sid,pa_error_nmbr,pa_error_sid,reject_reason_lkpcd,follow_up_action_lkpcd,aaa_segment_loop_nmbr'
FROM DUAL;
SELECT pr.pa_rqst_sid
|| ','
|| pe.pa_error_nmbr
|| ','
|| pe.pa_error_sid
|| ','
|| ped.reject_reason_lkpcd
|| ','
|| ped.follow_up_action_lkpcd
|| ','
|| ped.aaa_segment_loop_nmbr
|| ','
FROM pa_request pr,
pa_transaction_request ptr,
input_acknwldgmnt ia,
input_batch_file ibf,
pa_request_service prs,
pa_request_procedure prp,
pa_request_procedure_run_error prpre,
pa_error pe,
pa_error_detail ped
WHERE pr.pa_trnsctn_rqst_sid = ptr.pa_trnsctn_rqst_sid
AND ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND pr.pa_rqst_sid = prs.pa_rqst_sid
AND prs.pa_rqst_srvc_sid = prp.pa_rqst_srvc_sid
AND prp.pa_rqst_prcdr_sid = prpre.pa_rqst_prcdr_sid
AND prpre.pa_error_sid = pe.pa_error_sid
AND pe.pa_error_sid = ped.pa_error_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
SPOOL off
SET head on
SET feed on
SET termout on
SET pause on833560 wrote:
Hi all,
I am spooling 30 query results into one CSV file ,I am getting two empty rows for each query.
Can any one suggest me how to avoid these spaces.
Thanks & Regards,
P Prakash
this is the script i am using to generate csv file .
SET linesize 12000
SET pagesize 10000
SET pause off
SET termout off
SET feed off
SET head off
SPOOL c:\tes111.csv replace
SELECT 'ISA01,ISA02,ISA03,ISA04,ISA05,ISA06,ISA07,ISA08,ISA09,ISA11,ISA12,ISA13,ISA14,ISA15,ISA16,GS01,GS02,GS03,GS04,GS05,GS06,GS07,GS08,ST01,ST02,ST03,BHT01,BHT02,BHT03,BHT04,BHT06,trnsctn_segment_count,included_trnsctn_sets_count,included_fnctnl_groups_count,input_acknwldgmnt_sid'
FROM DUAL;
SELECT ptr.athrztn_infrmtn_qlfr
|| ','
|| ptr.athrztn_infrmtn
|| ','
|| ptr.scrty_infrmtn_qlfr
|| ','
|| ptr.scrty_infrmtn
|| ','
|| ptr.intrchng_sndr_idntfr_qlfr
|| ','
|| ptr.intrchng_sndr_idntfr
|| ','
|| ptr.intrchng_rcvr_idntfr_qlfr
|| ','
|| ptr.intrchng_rcvr_idntfr
|| ','
|| ptr.intrchng_date
|| ','
|| ptr.intrchng_cntrl_stndrds_idntfr
|| ','
|| ptr.intrchng_cntrl_vrsn_nmbr
|| ','
|| ptr.intrchng_cntrl_nmbr
|| ','
|| ptr.acknwldgmnt_rqstd_indctr
|| ','
|| ptr.usg_indctr
|| ','
|| ptr.cmpnt_elmnt_sprtr
|| ','
|| ptr.fnctnl_idntfr_code
|| ','
|| ptr.aplctn_sndr_code
|| ','
|| ptr.applctn_rcvr_code
|| ','
|| ptr.fnctnl_grp_crtn_date
|| ','
|| ptr.fnctnl_grp_crtn_date
|| ','
|| ptr.grp_cntrl_nmbr
|| ','
|| ptr.rspnsbl_agncy_code
|| ','
|| ptr.vrsn_rls_indstry_idntfr_code
|| ','
|| ptr.trnsctn_set_idntfr_code
|| ','
|| ptr.trnsctn_set_cntrl_nmbr
|| ','
|| ptr.implementation_guide_vrsn_name
|| ','
|| ptr.hierarchical_structure_code
|| ','
|| ptr.trnsctn_set_purpose_lkpcd
|| ','
|| ptr.sbmtr_trnsctn_idntfr
|| ','
|| ptr.trnsctn_set_creation_date
|| ','
|| ptr.trnsctn_type_code
|| ','
|| ptr.trnsctn_segment_count
|| ','
|| ptr.included_trnsctn_sets_count
|| ','
|| ptr.included_fnctnl_groups_count
|| ','
|| ia.input_acknwldgmnt_sid
|| ','
FROM pa_transaction_request ptr, input_acknwldgmnt ia, input_batch_file ibf
WHERE ptr.input_acknwldgmnt_sid = ia.input_acknwldgmnt_sid
AND ia.input_batch_file_sid = ibf.input_batch_file_sid
AND ibf.original_file_name =
'HIPAA.165760000.20110518I001.278_GC04-3.dat';
SELECT 'pa_rqst_sid,NM01,NM02,NM108,NM109'
FROM DUAL;
Hi ,
Save your query in a file and execute that file
SQL>@a.aqlHope this helps
Regards,
Achyut -
How to search special character in searchable PDF Document???
Hi All,
Could some one help me out, how to search special character in PDF document? I have attached the screen shot for your reference.
-Rgds,
GnanasekaranOK, I found it myself:
1. Tools - Pages - Edit Page Design - Header & Footer - Add Header & Footer.
2. Select the font and size, etc, place the cursor on the appropriate site to insert the page number, click the "Insert Page Number" button, and click OK.
That is! -
How to avoid Time out issues in Datapump?
Hi All,
Iam loading one of our schema from stage to test server using datapump expdp and impdp.Its size is around 332GB.
My Oracle server instance is on unix server rwlq52l1 and iam connecting to oracle from my client instance(rwxq04l1).
iam running the expdp and impdp command from Oracle client using the below commands.
expdp pa_venky/********@qdssih30 schemas=EVPO directory=PA_IMPORT_DUMP dumpfile=EVPO_Test.dmp CONTENT=all include=table
impdp pa_venky/********@qdsrih30 schemas=EVPO directory=PA_IMPORT_DUMP dumpfile=EVPO_Test.dmp CONTENT=all include=table table_exists_action=replace
Here export is completed and import is struck at below index building.After some time iam seeing below time out in log files
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX.
Error:-
VERSION INFORMATION:
TNS for Linux: Version 11.1.0.7.0 - Production
Unix Domain Socket IPC NT Protocol Adaptor for Linux: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
Time: 13-JAN-2012 12:34:31
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 110
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=170.217.82.86)(PORT=65069))
The above ip address is my unix client system(rwxq04l1) ip.
How to see oracle client system port number?
Please suggest me how to avoid this time out issues.Seems this time out is between oracle server and client.
Thanks,
Venkat Vadlamudi.Don't run from the client ... run from the server
or
if running from a client use the built-in DBMS_DATAPUMP package's API.
http://www.morganslibrary.org/reference/pkgs/dbms_datapump.html
Maybe you are looking for
-
How can I run an external program from a PLSQL procedure?
Is there a package to run an external program from PLSQL? or is there another way to do that? thanks.
-
Windows 8.1 - Itunes not recognising Ipod 7 gen nano
Recently upgraded to windows 8.1 from windows 8. Itunes was previously working on windows 8 with no problems. Purchased a new nano 7 gen on route to work. Attempted to connected it to my itunes repeatedly receive an error message "An ipod has been de
-
Connectivity with oracle database using web Dynpro(for java)
Hi, In web Dynpro we will connect to SAP systems by using Adaptive RFC. Then How to connect the oracle 8i/9i using webdynpro? Plese tell me the procedure to establish the connecting using enterprise portal? Thanks & Regards, Mastanvali Shaik
-
Powershell script to find number of major and minor version for a item
Is there a way to figure out to get the total major and minor version count for an item in powershell. I can get the count on basis of following "Item Versions" = $item.Versions.Count but not sure how to get number of major and number of minor versio
-
Changing .include structure does not reflect in the original Table.
Hi Experts, I have a .include structure by name SDOKLO_INC referenced for table SRMTST07. As a part of unicode conversion, I have to Uncheck the Text Lang check box of Datalement SDOK_MSLAN. Hence I opened the structure of SDOKLO_INC and did the cha