Avoid pause in gc

hi i am trying to run weblogic server in jdk 1.4.2_10
with the heap settings
-XX:NewSize=192m -XX:MaxNewSize=192m -XX:SurvivorRatio=8 -Xms1
280m -Xmx1280m -XX:MaxPermSize=256m -server
there is long pause in the gc how to avoid this

you can totally avoid it by using concurrent gc (google it). it's basically a garbage collection algorithm that runs low priority in the background and is ESSENTIAL for apps that can't deal with the big pause. check it out

Similar Messages

  • How to avoid pauses in Garbage Collection

    While doing performance test on a full load we found pauses. We captured GC and here are few instances of Full GC. We are running JVM 1.5, JBoss 4.2.x on RedHat Linux. Could some one guide me in avoiding those 17 secs and 10 sec pauses. Thanks
    3643.602: [Full GC   [PSYoungGen: 23948K->0K(155328K)] [PSOldGen: 1819363K->728226K(1864192K)] 1843311K->728226K(2019520K) [PSPermGen: 58042K->58042K(60928K)] 17.8018000 secs]
    51867.636: [Full GC   [PSYoungGen: 1176K->0K(165824K)] [PSOldGen: 230161K->227209K(1864192K)] 231337K->227209K(2030016K) [PSPermGen: 58577K->58091K(58496K)] 4.1231000 secs]
    5862.403: [Full GC   [PSYoungGen: 41791K->0K(126400K)] [PSOldGen: 1843013K->421307K(1864192K)] 1884805K->421307K(1990592K) [PSPermGen: 58161K->58161K(58624K)] 10.8445660 secs]
    62677.562: [Full GC   [PSYoungGen: 1192K->0K(166528K)] [PSOldGen: 229211K->230214K(1864192K)] 230403K->230214K(2030720K) [PSPermGen: 58466K->58466K(58752K)] 2.8801950 secs]

    In general you need to use double buffering if you want to avoid flickering. That means that instead of painting directly to the window you paint to a bitmap and then paint that bitmap to the window.
    There are probably plenty of articles on the internet about the subject, here's one I found on a quick search:
    http://www.codeproject.com/Articles/33/Flicker-Free-Drawing-In-MFC
    One thing that may be worth noting is that in some cases most of the flicker comes from the default painting of the window background. In some cases simply avoiding that (see the OnEraseBkgnd change in that articles) removes most of the flicker.

  • Looping videos in a quicktime export

    I have 6 videos on a single slide, each of which has a different duration. So I loop all of them to avoid paused videos, which works very nicely in the Keynote presentation mode. However, when I export the slide to a quicktime movie, the videos don't loop! Very annoying. Does anyone know how to fix this?
    thank you very much --
    -- Todd

    Hi. I'm having this exact same issue as well.
    Also, my audio files loop in Keynote, but again, not when exported.
    Anyone know how to get around this?

  • Why do US companies assume streaming works outside the US?

    Or more to the point - *** was the 'load complete preview before playing' feature removed in iTunes a few versions back? I have so-called fullspeed/fullspeed ADSL here in New Zealand. I can download many files from international servers at rates exceeding 500kbps, or faster during offpeak times. But whatever the time of the day, iTunes previews fail to stream fast enough to avoid pausing up to eight times to re-buffer a single 30 second preview.
    It makes me think that Apple simple never tests iTunes outside the US, or why else would they think previews pausing eight times during playback to rebuffer is acceptable for the user?
    Still, I'm used to this ignorance/arrogance/whatever. Since the dawn of broadband and high quality streams becoming popular, QuickTime, WMP, RP, various news website video players, etc have all utterly failed for me when they insist on streaming without substantial or complete caching before playback. In the early years it was simply amusing to see how badly streaming failed outside the US. But in 2011 I expect better. It is simply an extremely poor customer experience and Apple should be doing better.

    Oh well. As it goes music videos on my own system stutter for the first 30 seconds or so. I guess I'm just resigned to the mismatch between expectation & reality. If iTunes Feedback doesn't seem to pay off you could always open a free ADC account and use BugReporter. It may get closer to someone who can direct future action...
    tt2

  • GC Cause: 'Artifical: Cleaning up Finished Threads' (strange behaviour)

    Hi everybody,
    we have experiencing an strage issue after increasing our heap size and nursery in Production from
    -Xms2816M -Xmx2816M -Xns550M to -Xms4096M -Xmx4096M -Xns1024M
    We need to resize this because a new application is being promoted, and we have tested it in Pre-PRO
    The thing is that after the new size and before deploying the new app,
    all the 'Old Collection Reasons' are due to 'Artifical: Cleaning up Finished Threads' and the top of the HEAP (4GB) is never reached
    A sample:
    [gcpause][Wed Feb 27 22:29:26 2013][01719] [OC#621] [---] 1498,525 ms (611967,663000-611969,161000) OC
    [gcpause][Wed Feb 27 22:29:26 2013][01719] [OC#621] [con] 0,004 ms (611967,663000-611967,663000) OC:PreGC
    [gcpause][Wed Feb 27 22:29:26 2013][01719] [OC#621] [pau] 1453,742 ms (611967,663000-611969,116000) OC:Main
    [gcpause][Wed Feb 27 22:29:26 2013][01719] [OC#621] [con] 43,411 ms (611969,118000-611969,161000) OC:PostGC
    [memory ][Wed Feb 27 22:29:26 2013][01719] [OC#621] 611967,663-611969,161: OC 2982855KB->1227524KB (4194304KB), 1,499 s, sum of pauses 1453,742 ms, longest pause 1453,742 ms.
    After examinig the correponding JFR we haven't any issue or hotspot in the code that could justify this behaviour, in fact the same that works right with 2,8 GB HEAP
    Googling hasn't given us any answer and the Support mates are requiring us some more information, but they say this is normal (something that I don't agree at all)
    Any suggestion will be welcome ... thanks in advance
    We're running:
    java version "1.5.0_26"
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_26-b03)
    Oracle JRockit(R) (build R28.1.1-14-139783-1.5.0_26-20101206-0241-linux-x86_64, compiled mode)
    and:
    HT is: not supported by the CPU, not enabled by the OS, not enabled in JRockit.
    CPU: Intel Core 2 SSE SSE2 SSE3 SSSE3 SSE4.1 Core Intel64
    Vendor: GenuineIntel
    Family: Core 2
    Model: Core 2
    Name: Intel(R) Xeon(R) CPU X7460 @ 2.66GHz
    Sockets: 4
    Cores: 24
    HWThreads: 24
    Supports: On-Chip FPU
    Supports: Virtual Mode Extensions
    Supports: Debugging Extensions
    Supports: Page Size Extensions
    Supports: Time Stamp Counter
    Supports: Model Specific Registers
    Supports: Physical Address Extension
    Supports: Machine Check Exceptions
    Supports: CMPXCHG8B Instruction
    Supports: On-Chip APIC
    Supports: Fast System Call
    Supports: Memory Type Range Registers
    Supports: Page Global Enable
    Supports: Machine Check Architecture
    Supports: Conditional Mov Instruction
    Supports: Page Attribute Table
    Supports: 36-bit Page Size Extension
    Supports: the CLFLUSH Instruction
    Supports: the Debug Trace Store feature
    Supports: ACPI registers in MSR space
    Supports: Intel Architecture MMX Technology
    Supports: Fast Float Point Save and Restore
    Supports: Streaming SIMD extensions
    Supports: Streaming SIMD extensions 2
    Supports: Self-Snoop
    Supports: Hyper Threading
    Supports: Thermal Monitor
    Supports: Streaming SIMD Extensions 3
    Supports: 64-bit DS Area
    Supports: MONITOR/MWAIT instructions
    Supports: Virtual Machine Extensions
    Supports: Enhanced Intel SpeedStep technology
    Supports: Thermal Monitor 2
    Supports: Supplemental Streaming SIMD Extensions 3
    Supports: CMPXCHG16B
    Supports: xTPR Update Control
    Supports: Perfmon and Debug Capability
    Supports: Direct Cache Access
    Supports: Streaming SIMD extensions 4.1
    Supports: LAHF/SAHF instruction support
    Supports: SYSCALL/SYSRET
    Supports: Intel 64 Architecture
    [memory ][Wed Feb 20 20:29:57 2013][01719] Running with 32 bit heap and compressed references supporting 32GB heap.
    [memory ][Wed Feb 20 20:29:57 2013][01719] GC mode: Garbage collection optimized for throughput, strategy: Generational Parallel Mark & Sweep.

    "as I understand GcTrigger only applis for concurrent GC, and in fact we are having genpar (parallel)"
    Yep, "The garbage collector ignores the -XXgcTrigger value when it runs both parallel mark and parallel sweep, for example if you specify -Xgc:singlepar or -Xgc:genpar on the command line."
    Why not set a dynamic collection scheme (http://docs.oracle.com/cd/E15289_01/doc.40/e15062/optionx.htm#i1011879):
    throughput - The garbage collector is optimized for application throughput. This means that the garbage collector works as effectively as possible, giving as much CPU resources to the Java threads as possible. This might, however, cause nondeterministic pauses when the garbage collector stops all Java threads for garbage collection.The throughput priority should be used when non-deterministic pauses do not impact the application's behavior.
    pausetime - The garbage collector is optimized for short pauses. This means that the garbage collection works concurrently with the Java application when necessary, in order to avoid pausing the Java threads. This inflicts a slight performance overhead to the application, as the concurrent garbage collector demands more system resources (CPU time and memory) than the parallel garbage collector that is used for optimal throughput. The target pause time is by default 500 msec. To change the default pause target, see -XpauseTarget.
    On an application server going for throughput gives good results, when you want to reduce the stop-the-world times it might be beneficial to use pausetime with an appropriate pausetarget.
    "...we need to increase HEAP size to cover application expectations"
    It should be fine to increase the heap size (we are running JRockit with 16G in certain environments, with the pausetime as the dynamic garbage collection setting), i.e.,
    -Xms16g -Xmx16g -Xns1024m -Xgc:pausetime -XpauseTarget:200ms (in this case the application contains a lot of session data which is placed in the old generation hence
    the choice for 16G) as long as you keep the live data below 2/3 of the heap, the collection time introduced should be near the 200millis.
    http://middlewaremagic.com/weblogic/?page_id=7132 (contains a bunch of posts on JVM tuning)

  • What is the best Radio app for Iphone with poor Signal

    hi folks
    i live in rural shropshire, UK and where there is a poor signal reception and no 3G so i was hoping if someone could tell me what is the best radio app with about 2-3 bars of signal on O2 please can someone help thx

    Well, 2(.(7)5)G (GPRS/EDGE) is still sufficient for a lot of (mostly HE-AACv2) streams - they're between 24 and 40 kbps, . That is, first, check out whether there are favorite stations in the station directory of the HE-AACv2-specific radio app "Tuner2 Hi-Fi Radio". Note that there are other HE-AACv2-capable clients but this one is the best.
    Below is an excerpt from the dedicated section of my all-in-one iPhone radio article, just discussing these questions. Sorry, there are no links or not any kind of formatting in the text - I just couldn't paste it by keeping them.
    2.1 3G vs. 2.(7)5G vs. Wi-Fi
    Whenever possible, deactivate 3G (if you have a second- or third-generation iPhone used in a compatible 3G network, that is). Why? It’s easy: I’ve made some very thorough experiments with power consumption when streaming over cellular (mobile phone) connections. For this, I’ve listened to a 31 kbps VBR HE-AACv2 stream in Pocket Tunes. I’ve measured the battery life decrease of 0.6%/minute when streaming in 3G and 0.3%/minute when doing the same in 2.75G (EDGE) and 2.5G (GPRS). This means streaming 3G consumes two times more battery than in 2.75G with a stream that, when streamed over Wi-Fi, consumes 0.18% power a minute.
    This also means that, even if you have an unlimited Internet data plan, try using Wi-Fi whenever possible because it’s almost two times more battery-friendly than even 2.75G (EDGE) / 2.5G (GPRS) – and 3.3 (that is, 60/18) times more so compared to 3G.
    Having to rely on pre-3G stream speeds means the following:
    - If you only have GPRS connection (but not EDGE), select a station broadcasting at less than 35-40 kbps to avoid pauses and stuttering. You can easily see if your phone is in GPRS only: then, to the right of the name of your network, there is a circle and not the capital letter ‘E’ (it’s '3G' when in 3G mode and it’s here that the Wi-Fi signal is shown when operating over Wi-Fi.)
    Note that, with some networks (for example, Vodafone in some? all? countries) there’s no EDGE at all. There, you either use 3G or GPRS. The latter rules out all stations with speeds over 40 kbps. If this is the case, you will most probably have to rely on HE-AACv2 (also known as AAC+) streams, should you want good audio quality and stereo sound. The other formats, MP3, AAC-LC (the two formats natively supported by the built-in QuickTime player) and WMA are completely unable to deliver good, stereo audio quality under 40 kbps; OGG is able, but around 36-38 kbps, which may result in stuttering over lower-quality GPRS connections or congested network.
    You can find a lot of AAC+ streams at http://dir.xiph.org/by_format/AAC+ and http://yp.shoutcast.com/. Note that, with the latter, you will want to click radio stations with AAC+ type (see the last column). Unfortunately, unlike with collecting with MP3 stations only, you will not want to tap the header of the last, “Type” column, to order them to collect all AAC+ stations at the end of the list because it’s not possible to easily jump to the end of this list. (Tapping will only order the stations in a way that the list starts with MP3 ones; that is, stations well above 40 kbps - and the few that broadcast under 40kbps, do so with awful audio quality.)
    Note that moodio.fm (which, as with the former two, stream directories, that is, xiph.org and shoutcast.com, has been introduced in section 1. Built-in capabilities: QuickTime), by default, also uses AAC+. As with the former two stations, in order to play back these AAC+ streams in an AAC+-capable radio player (the built-in QuickTime isn’t one of them) like Pocket Tunes Radio or FStream, you’ll want to copy these links to the clipboard and, then, paste them into a custom, user-defined station in these apps (as long as you don’t find a station of your liking in the built-in station directories of these radio clients). To do so,
    1. in Safari, long-tap the link and, then, select “Copy” from the context menu
    2. Switch to the radio station, go to its dedicated custom station entry dialog (with FStream, Favorites / Edit / Add new webradio at the bottom; with Pocket Tunes, Favorites / Edit / +) and tap the URL field a bit longer after cleaning it entirely (if there’s a http:// in it; with FStream, there isn’t). You’ll see a Paste flag (icon) as in this screenshot
    3. Just tap it; the station URL will be pasted to the field
    4. You can also give your station a name
    (Note that you can also manipulate the favorite list of FStream via Wi-Fi, from a desktop Web browser. It offers a far faster way of adding and deleting favorites.)
    Note that Pocket Tunes Radio also has a built-in Web browser. If you navigate from it to, say, m.moodio.fm or yp.shoutcast.com, you won’t need to do any copy / pasting like explained in the previous section. FStream (my other pick for HE-AACv2 playback) doesn’t have a Web browser. Note that several other (except for ooTunes, not that recommended) players also have a built-in browsers. You can do exactly the same in all of them except for eingrad’s RadioBOX, which, currently, has bugs in its Web browser: when you tap a link, the playback (if the built-in QuickTime is compatible with it) will start in QuickTime and not in the built-in player. (The developers stated they would fix this bug some time.)

  • My iphone 4 keeps switching songs, playing and pausing by itself especially when I use my headphones

    Ever since I installed the iOS 7.1 update, my iPhone 4 keeps playing, pausing, switching to the next song, fast forwarding by itself. Especially when I use my headphones. It's getting really frustrating because not only is it when I listen to the music player, but also on youtube videos and then it pause the video and then play the music from the music player or it would pause music on soundcloud by itself too. This mostly happens when I use my headphones but when I don't use my headphones I don't see it happening.
    A friend called me and I was using my headphones and the conversation kept getting hanged up by itself it wasn't until I stopped using the headphones that I could have a normal converstation, but I only talked for less than a minute without the headphones so it wasn't enough to tell me that it is the headphones that is the problem. So is it my phone or my headphones? Is this a software problem because of the update because my headphones were not doing this before, HOW CAN I MAKE THIS STOP. (This has been happening for almost a week now)
    BTW: I also noticed that if I am listening to music on the music player or youtube and its in my pocket or hand and Im jumping to the song or shaking (lol) the songs pause and plays then switches to the next song aaaaurrrrrruuuuuuuggggggghrrrrrghhhhhhh WHATS GOING ON

    Hello alplease,
    It sounds like your touch screen is acting erratically and seems to be exacerbated when you have your earphones in. I recommend the information in the following article named:
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Restart your device
    Hold the On/Off button until "slide to power off" appears. Slide to power off your device. When it is off, press the On/Off button to turn it back on.
    If you can't restart your device, reset it by pressing and holding the Sleep/Wake button and the Home button at the same time for a least ten seconds, until the Apple logo appears.
    Clean the screen with a soft, slightly damp, lint-free cloth.
    Avoid using the device while wearing gloves, with wet hands, or immediately after applying hand lotion.
    If you have a protective case, or if you are using a plastic sheet or film on the display, try removing them and testing the device without it.
    If the steps above don't resolve your issue, please schedule a service appointment with an Apple Retail Store for evaluation. If an Apple Retail store is not an option, contact Apple to find out your best service option or see theService FAQ for your product.
    You can also try closing all the open apps:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that and restart the phone and test the issue again:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • How can I pause a slide until the user clicks a button?

    I wish to pause a slide until the user clicks a button (which I've created out of a Smartshape). The thing is that I haven't added a click box object over the smartshape but have only set the smartshape properties to "Use as Button". If I were to add a clickbox object, I would get a "Pause project until user clicks" in the options section of the properties. However in using a smartshape as a button, I cannot find this option. I am using Captivate 6. Seems strange as I would have expected to see the same checkbox option even if I were to use a smartshape as a button but I dont. Can't someone help me and let me know if I'm missing something.
    Of course I could use a clickbox over my smartshape to achieve what I want, but I want to avoid thsi for two reason:
    I want to avoid adding another object when I dont need it.
    My smartshape is a right arrow (indicating "Begin"), and I dont want a squarish click box sitting on top of a triangle because that just shows the hand pointer even if the cursor isn't exactly over the arrow button because it enter the clickbox area.
    Thanks,
    Sean

    Select the Smart Shape button , go to Properties > Timing accordion > Pause After and set the number of seconds from the beginning of the slide for it to pause.

  • I have a iPhone 4S and when watching videos on the internet sound cuts out as the video is playing. The rest of the video plays with no sound. Sometimes when I pause It and play again sound comes back but not all the time. can anyone help?

    I have a iPhone 4S and when watching videos on the internet sound cuts out as the video is playing. The rest of the video plays with no sound. Sometimes when I pause It and play again sound comes back but not all the time. can anyone help?

    The "restore disk" is built into the Mac. See About Recovery.
    Need more specifics about what error messages you got while installing Adobe Flash.
    However, you can almost avoid Flash altogether by setting YouTube to play the HTML5 version instead.
    Click the Try something new! link at the bottom of the YouTube page.
    I don't know about the sound issue. Might be hardware as you think. Try other headphones to check.

  • How to avoid OCM reinstall through OPatch when using EM Harvester?

    Currently running OEM Grid Control 11g (11.1.0.1.1GC PSU) on an infrastructure repository database (11.2.0.1.2). Previously had OCM installed in every ORACLE_HOME in our environment. I removed all existing OCM installations and OCM Instrumentation in each database.
    I then installed OCM (10.3.3.2.2) into the OMS_HOME in order to begin using the EM Harvester for all configuration uploads rather than multiple OCM installs. This went fine, and I began to see targets in MOS indicating GC as the data source rather than OCM. Good so far.
    I then installed PSU 11.2.0.1.3 to the infrastructure repository database. During the patch installation, OPatch re-installed OCM into the database ORACLE_HOME without my knowledge. This caused some targets to appear in MOS with OCM as the data source again. At this point I had two sets of OCM processes running. I've confirmed that the patch caused the OCM reinstall by checking the opatch logs from $ORACLE_HOME/cfgtoollogs, where I can see the fresh OCM install occur.
    I then installed patch 9431704 to the MW_HOME/oracle_common ORACLE_HOME to resolve the 'FMW Welcome Page Application' target showing down in Grid Control issue. The patch went fine, but OPatch again reinstalled OCM, this time to MW_HOME/oracle_common and MW_HOME/utils. So at this point I had four sets of OCM processes running, which caused many duplicate targets to appear in MOS, again with OCM as the data source. Confirmed yet again that the OPatch session led to the new OCM installs by reviewing the logs.
    I would like to exclusively use the EM Harvester to upload configuration details to MOS. Per the whitepaper in note 848962.1, "The only prerequisites for using an EMGC system to collect and upload configuration data to Oracle Support are that the EMGC OMS must be at least version 10.2.0.5, and there must be an OCM instance configured (and running in connected mode) in the Oracle Home of the OMS."
    So this leads to my question. How can I continue to patch OMS, the repository database, and the target databases, while preventing OPatch from reinstalling OCM in every ORACLE_HOME it finds?
    I understand that whitepaper's comment to mean that I only require OCM in the OMS_HOME and it should not run out of any other ORACLE_HOMEs in our environment. Should I simply allow OPatch to install OCM anywhere it wants, then pause them by running '$ORACLE_HOME/ccr/bin/emCCR hold'? Is there a flag I can include when running 'opatch apply' to tell it skip OCM installation?

    Thanks EricvdS, I think that will work. I plan to try it with my next PSU patch. It's not exactly what I wanted, since I'd prefer to avoid having OPatch installed at all (and thus have no ORACLE_OCM user and no OCM instrumentation in the database), and I believe the initial OPatch install will submit OCM data to MOS even before pausing it and setting it to disconnected mode, and I'd like to avoid that too.
    I also have the feeling that I may be able to skip the OPatch install by not providing my email address and MOS password or CSI number when applying patches. I'll try that too.

  • After recent updates, my speeds have dropped off. My iTunes pauses and buffers frequently during a song. Apple has kindly replaced my Apple TV, but the problem remains. I have spent big money on the latest WiFi router (Netgear), but no change. What gives?

    I am using Apple TV, linked to my computer network via a NetGear WiFi router. After the latest apple updates, it now takes forever to load my library from my computer. Music pauses frequently to buffer before continuing, and pictures take a long time to load. Apple has replaced my apple tv on warranty, but nothing has improved.

    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.

  • 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 on

    833560 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

  • Background audio not adjusting after project is paused when published to Flash. Any suggestions?

    Hello,
    I'm working with:
    Captivate 6
    Mac OS X 10.8.2
    Flash Player is updated to most recent version
    My project contains background audio music set to adjust to slide audio. When I publish to Flash the background audio adjusts appropriately until I pause the video and then resume. Once the video resumes the background audio no longer adjusts to slide audio. So basically anytime a learner pauses the video and then resumes the background audio drowns the slide audio out. I've tried this with multiple projects and get the same result.
    When I publish in HTML5 it works fine. But I cannot use HTML5 because my project contains necessary rollover objects and captions, slide transitions, text animations, and other effects that HTML5 does not support.
    I've to remove and re-add the background audio, uninstall and reinstall Captivate, adjust the background and slide volume levels, uncheck loop audio, and pretty much any audio settings and publish settings I can think of.
    Can someone else with the same OS and Captivate version try and see if they encounter the same problem when publishing to Flash?
    Or does anyone have a solution/workaround?
    Thank You!

    Hi folks
    Sorry, I don't have a fix to offer. Only an observation. I'm rather surprised to see this many folks actually USING background audio. I say that, because I have facilitated hundreds of Captivate classes over the years. And there are lots of folks with Instructional Design background that attend. And in so many of the classes, when we reach the audio section and we cover how to use Background Audio, the same comment is made.
    The comment is that generally speaking, it is their opinion that from an Instructional Design standpoint, background music is a "no no" and should be avoided because it detracts from the learning objective.
    Perhaps the link below will help.
    Click here
    Cheers... Rick

  • Why was the pause button removed from the download bar?

    I know about the pause option in the context menu, but the question is simply, why??? And the pause option is greyed out for me in the context menu, and yeah I've looked at https://support.mozilla.org/en-US/questions/980832 and https://support.mozilla.org/en-US/questions/981703 but the suggestions don't solve it for me.
    My question is, why just remove some functionality that a lot of users are used to having? Why do you want to make people use an add-on for what seems to be one of the simplest and most fundamental functionality of a web browser? What do you hope to accomplish?

    ''cor-el [[#answer-663735|said]]''
    <blockquote>
    Did you try Safe Mode?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Create a new profile as a test to check if your current profile is causing the problem.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    </blockquote>
    Did you try reading my question?

  • HT204370 I paused the movie download but did not turn off my IPad.  When I returned to restart, it has said "waiting" for over an hour.

    I paused the movie download but did not turn off my IPad.  When I returned to complete the download, the "waiting" message has been on the screen for over an hour.  How can I complete the download?

    I recommend purchasing lion on a USB drive at Apple Store. This will avoid all of the downloading hassles.
    Also, be sure you clone your hard drive first. A lot of people want to go back to Snow Leopard and if you choose to do this cloning will make the process very easy.

Maybe you are looking for

  • Automatically name computers using existing computer name

    In my environment, I have brand new computers to be imaged.  The computer name needs to consist of the room number and the serial number. I am utilizing the Collection Variables within All Unknown Computers collection to define the room number.  And

  • Samba on Solaris 10 x86

    I tried to install Samba (samba-3.0.10-sol10-intel-local.gz) on my Solaris 10 OS that is running on VMWare5. Samba reports an error message: ld.so.1: ./smbd: fatal: libiconv.so.2: open failed: No such file or directory Killed. Prior to Samba installa

  • Using Weblogic Commerce server as a web server

    Hi , We have a requirement to display the MSWord documents in the browser. As per the documentation(of standard MIME types) ,Weblogic does not support the files with extension .doc to be displayed in the browser. Please let me know how to go about th

  • When I load Businesscatalyst scrolling and other Wigdet not work.

    Hi there, Musette-themes I downloaded from the themes, businesscatalyst to nothing works except bridges when I install. I've updated the assets but scrolling features, widgets do not work. Now everyone mentioned on the site to try and present a runni

  • Crashing after updating to itunes 8

    Have just updated to itunes 8 and as soon as I plug in my ipod (classic) my system crashes and I get a blue screen. I have tried un-installing and re-installing itunes but it happens all over again. Any suggestions?