Script queue CM with output for allocated, running and waiting for process

Hi all

Could someone please share the script which gives the result as below:

Script Manager simultaneous tail with output for allocated, running and waiting for processes within a single script.

Thanks for your time!

Kind regards

You can find a lot of scripts in the old nets.

Simultaneous treatment - what are the meanings of the Codes in the STATUS_CODE and the PHASE_CODE FND_CONCURRENT_REQUESTS Table columns? [152209.1 ID]
ANALYZEPENDING. SQL - analyze all applications pending [134033.1 ID]

https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+query&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+time&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+STATUS_CODE&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+PHASE_CODE&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001

Thank you
Hussein

Tags: Oracle Applications

Similar Questions

  • Oracle 10g fails to start with a 3G router running

    I don't know where to get help with this problem starting from Oracle.


    So far, I have used a HUAWEI dongle directly connected to my PC. Firstly, the operating system and Oracle start, then I connect to internet using the Huawei Mobile Partner. Any application can

    connect to Oracle on the local PC and use it properly. Everything is OK.


    Now, I added a 3G router that is connected to your PC via ethernet cable and has the Huawei dongle connected to a USB port on the router.


    Everything works fine if I followed the sequence:


    (1) to start the PC with the router powered off and wait for Oracle started well.


    (2) turn on the router and wait for 2 minutes until Windows shows the 100 MB ethernet link is open. Oracle.exe in the Task Manager is around 210 Mb and sometimes more, depending on the activity. Everything works fine.


    However, if I turn on the router first, and then start the PC, Oracle does not start correctly. It rejects requests for connection forever more, indicating the network adapter could not establish the connection: Code 17002.

    In the Task Manager Oracle.exe occupies only 145 Mb. clearly it has not begun.

    My intuition says it's something to do with the network address. When properly, started my address IP is 192.168.1.100, assigned by the router.


    What can I do so that he can properly start?  Should what changes I make TNSNAMES, LISTENER and HOSTS to get this working, or to clean them, if necessary?


    Where should I look to be able to provide additional information to any useful expert?


    Any assistance received with gratitude.


    Plomong

    ==========================================================
    Here is my TNSNAMES file. ORA, LISTENER. HOSTS files and ORE:


    # Network Configuration file tnsnames.ora

    SAILDICT_SERVICE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = PCLEKU)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = ORACLE)
    (SERVER = DEDICATED)
    )
    )

    GESTOR_CABLES_PRUEBAS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = ORACLE)
    (SERVER = DEDICATED)
    )
    )

    SAILDICT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = SAILDICT)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    #################################################################################
    # listener.ora

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = SAILDICT)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = ORACLE)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = ingeteam))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (ADDRESS = (PROTOCOL = NMP) (SERVER = PCLEKU)(PIPE = ORAPIPE))
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    )
    ###################################################################################
    HOSTS:
    127.0.0.1 localhost
    127.0.0.1 PCLEKU

    Hello

    mention the IP addresses instead of host names, and then see if it works

  • MCBUILDER. EXE running rampant, competing with updates for CPU and possibly associated with an update failed chess SP2 and the backup and restore

    Running Vista Home Premium SP1 and the system has been slow and freezing. MCbuilder appear to be using 50 to 100% of CPU, and it is a process that seems no way of killing. I disabled in Services, but again, it seems to start without any particular reason and hinders attempts to install programs or updates vista hogging resources. This can be associated with a problem that has arisen since June because I am not able to perform backups or set restore points (gives the error "0 x 81000101 the creation of a shadow copy has timed out"). I tried to install SP2 in the hope that it will not solve the problem, but the failure of installation and install KB947821 doesn't seem to work either. As the restoration of the system is defective, I would be grateful for the pointers to the resolve or completely remove this mcbuilder problem.

    You have COMODO or AVG Antii-virus installed on your system?  It is known problems with these two programs and MCbuilder.exe.  I don't have Microsoft Resource Builder Cache as a service in the Services (so I can't activate or deactivate it)-you which version of Vista to help (bit, SP-number version)?  I have 32 bit Vista Business SP2. I see no way to turn it off in order to close it with the Task Manager when it is - with the exception, but who could become annoying if it happens frequently and with multiple instances.  I could find nothing useful in Knowledge Base Microsoft on it hogging resources although I've seen a few threads using Bing (which is where I came up with COMODO and AVG anti-virus conflicts).

    You can be infected by malware (which may be the origin of the program to activate and run "without reason"). While in Test Mode safe mode (press F8 during startup and select mode safe mode with networking repeatedly) to run anti-malware programs. To resolve this problem (if it is a problem) download, install, and run the following two programs: http://www.malwarebytes.org/mbam.php and http://www.safer-networking.org/en/index.html.  You can also try a free trial of Pandasoft (www.pandasoft.com).  Before you download pandasoft, uninstall all anti-virus program you currently use (because the installation and execution of two simultaneously can cause conflicts, freezes and all sorts of problems).  Once you have uninstalled your current AV program, download, install, update and scan using Pandasoft.  I think you might be amazed at how much she notes that other software missed.  Once complete, uninstall pandasoft and re - install your current AV program (unless you decide to spend that I did when I tried about 4 years ago).  You can also try the new, free Microsoft Security Essentials http://www.microsoft.com/security_essentials/default.aspx (with the same caveat that only program AV one ALONE can be installed and running on your system at any time). Restart after finishing all the scans and see if the problem has been resolved.

    Try a system restore to a point in time BEFORE the problem started (which can be a problem if it began all the way back in June - you should have posted here then when this process would probably have worked).  Here is the procedure: http://www.howtogeek.com/howto/windows-vista/using-windows-vista-system-restore/.  Don't forget to check the box to show more than 5 days of restore points (but I doubt that you will have a pretty far back and forth to the system restore may not be a viable option).  If the first attempt fails, then try an earlier point or two.  NOTE: You will need to re - install any software and updates that you have installed between now and the restore point, but you can use Windows Update for updates.

    If the system restore does not work, do a startup repair, boot from the disk Installation of Windows Vista genuine (or one that you can borrow from someone) or a recovery disc.  Here is the procedure: http://www.bleepingcomputer.com/tutorials/tutorial148.html.  You may need to change the BIOS to do first the CD drive in the boot sequence to boot from the CD.  To do this, hold the screen that tells you the key F to push to enter the menu start or start of installation.  Push it quickly. Make the changes, save your work and exit.  Put the CD in the drive and reboot.  When you are prompted, press any key to boot from the CD.

    If you do not have a floppy disk, you can make a bootable recovery disk by using http://neosmart.net/blog/2008/windows-vista-recovery-disc-download/ with burning software like: http://www.snapfiles.com/get/active-isoburner.html and, of course, a blank CD.

    If this does not work, try to start in safe mode (repeatedly hit F8 key so that the start and go in safe mode with networking).  Then we will check some of your system files:

    Go to start / all programs / accessories / command prompt and right click on command prompt, and then click Run as administrator.

    Type sfc/scannow, go and let it run.  It will scan and try to correct some of your system files.  If all goes well it will complete with no corruption, he couldn't fix it (if there is such corrouption post here or try to analyze it to find the problem or files using http://support.microsoft.com/kb/928228.  I bet there is something involving the program or associated with this program.

    If this does not work, you will need to do a repair/system upgrade using the Windows Vista Installation disc authentic (you own or that you can borrow from someone).  Here is the procedure: http://www.vistax64.com/tutorials/88236-repair-install-vista.html as well as the upgrade from an earlier version of the Windows section of the following: http://support.microsoft.com/kb/918884.  Although this will not affect your data, settings or programs, you should always back up your data before you start just be on the safe side.

    I hope one of these procedures can solve your problem (probably the SFC command or controls anti-virus).  If this isn't the case, after return and we will try something else.  Return message anyway so we know how it turns out.

    BTW, for update of the problems you are having with SP2, post on the Forum of Windows Update to: http://social.answers.microsoft.com/Forums/en-US/vistawu/threads where the people who specialize in update issues will be happy to help you with your concerns and get SP2 running on your system (perhaps despite this particular problem).  As you say, it can even solve the problem - who knows.

    Good luck!
    Lorien - a - MCSE/MCSA/network + / A +.

  • Try to run programs .exe produces the error message "this file has no program associated with it for performing this action. Create an association in the control panel to define the Associations. "

    Hi all

    Help needed please.

    HP dx2250 microtower, running Windows Vista Home Basic Edition, recently attacked by Vista Antispyware 2010. Norton 360 V3 dealt with rather late the virus, but the fall of the remains.

    I am unable to open any .exe file (program) on the desktop, start menu, or through the browser. I can access the programs in opening a data file, for example, double-click a .doc file opens MS Word, etc.

    The error message "this file has no program associated with it for performing this action. Create an association in the control panel to define the Associations. "

    I tried an automated solution that is available via the forums (exefix_cu.reg) and also a manual suggestion to change the registry, also available through the forum.

    I also splashed by and purchased Regcure, who seems to have done no difference despite who claims to have removed 1500 odd errors. So I'll be request the refund on that one.

    I scanned the forums and found a large number of similar problems, but not one that is as complete as this.

    Any help much appreciated

    Hi all

    Thanks to anyone who has seen this link and made suggestions.

    I was looking at a similar, and is other problems came up with this very useful link, I am grateful to say has solved the problem.

    Sorry MapDrummer, but I'm not sure if it works for XP

    Follow this link to SpiritX who has the answer

    Hi Justalilkink,

    See also the post made by SpiritX on January 24, 2010 17:32 in the link http://social.answers.microsoft.com/Forums/en/vistafiles/thread/086ab3bb-d764-4fb1-a6f3-205bff708e63

    Thank you very much

  • How can I run script jsx button with photoshop, I been tried more (HTML 5)

    How can I run script jsx button with photoshop, I tried, but I get no results please someone help me in this issue that I can continue my extension and gives me the good code that I can use it.

    Thank you very much

    In the index.html file, you will need to create a button and call the function when button by clicking on:

    "button" id ="button" onclick = "getDucumentFormatFun ()" > name of the Document:

    In the js file you must set the getDucumentFormatFun() function:

    function getDucumentFormatFun() {}

    fileFormat var = "get_fileFormat()";

    evalScript (fileFormat, fileFormatCallback);

    }

    define the callback function: fileFormatCallback

    function fileFormatCallback (res) {}

    Alert ("the name of the active document is:" + res);

    }

    In jsx file:

    get_fileFormat = fileFormatFun;

    function fileFormatFun()

    {

    Return app.activeDocument.name;

    }

  • Is there a plugin that I need to download for my HP Officejet 7612 Wide Format Printer to be compatible with my MacBook Pro running my program CS6 CS6?

    Is there a plugin that I need to download for my HP Officejet 7612 Wide Format Printer to be compatible with my MacBook Pro running my program CS6 CS6?

    update the drivers of your printer.

  • Search for all the screws with a broken arrow run

    I have a VI that search all screws in memory, and I want to modify it so that it lists all the screws with a broken arrow run. How can you check by an arrow of broken execution program? I couldn't find it in the properties of the VI.

    You can use the VI 'Execution.State' property to check the status of the vi, if the VI is broken, you will get the State as 'Wrong'

  • Correspondence of time remapping with ramps for video editing of first CC 2015/output

    I would like to ask experts, which will be the best workflow...

    Location:

    I have the project with 50 + video segments where I have to slow down part of the clip to highlight some details (in my case - CIRC. enduro motorcycle - need to slow down the part where is visible some technical riding etc.).

    I use bulit Premiere Pro CC 2015 in the tools of the keyframe to select two points between where I change the speed for example at 50%. First has nice handles around the keyframes where I can create smooth ramp, so the change in speed is graduated.

    Insofar as simple here s

    But the first will not do the same with audio track associated with each clip. In the audio is for his example of the motorcycle.

    I need to have his original when the video is playing at 100% speed and its different from "lower pitch" when is slowed down and once again normal sound when is 100% video speed on the end.

    So I edited each audio segment to the points of the time remap keyframes, manually set the speed of the middle section and - it s horrible. Video slows gently while it is quite annoying audio changes.

    I need to make the same effect as what we were doing with Ribbon old VCRs in television production - smooth audio ramp corresponding to the video and return to full speed.

    As my knowledge about hearing is close to zero - I would like to ask at the front to start learning - I can do up in the hearing? What I have to do it every time from scratch or can I use existing keys from first images? Anyway how above 'automatic '? What workflow you have advice when I need to do it quite often many of these clips?

    Thank you much for the help.

    P. S. tried to find out, after a while with the help chat online too...

    Most of the discussions and tutorials is very old - there may be some new features in CC 2015 in order to do compare with 2011 toolset or almost. And in many video tutorials only covered - they talk about audio at all. But for audio track that I use, is the audio very good.

    Here is an example of a part of the timeline. I needed this project to do quickly, I decided to stretch the entire audio segments to match the new length of the video. It s not correct but it sounds better then it divides in three parts with a slow speed in the middle. Just to match audio speed changes in the Panel of video editing

    time.JPG

    Not sure about the exchange of workflow with first for this type of effect.

    However the hearing can make the effect of change of speed/not very well using effects/time and Pitch/Pitch Bender. This uses a waveform envelope on with keyframes to vary the height must therefore ideal for your needs. In order to see where on the waveform, you need to place keyframes without doubt the best way is to place markers on audio in first at beginning and end of each ramp. These should be done through when you export audio in Audition where you should be able to match Pitch Bend keyframes to markers.

  • Script MSN blocked with "hand-tweet-email" How can I remove these?

    Whenever I try to read an article on my MSN homepage I have big blocks colored with SHARE TWEET and EMAIL in the middle of the script make it impossible to read. It then becomes necessary to go to Google and open my MSN home page to read all the articles because Google updates to SHARE, TWEET, and EMAIL at the top of the page where they block all the script that I want to read.
    Is it possible for me to remove or move these intrusive elements or is it necessary for me to use Google to access my home page in the future?

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • Click the menu button

      click Help

      then select restart with disabled modules.

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • How do the last 4 paintings of a loop output For?

    Hi people,

    I'm almost at the end of my home. I really hope that someone could help me please.
    Any input would be welcome. VI attached.

    Explanation of VI:
    I initialize an array.
    The random number generator simulates my entry camera.
    According to which iteration it is, the data are added in one of the four tables of output.
    "x - y * floor(x/y) ' gives a value of remainder of 0, 1, 2 or 3.
    'Case Selector' just add 1 to "x - y * floor(x/y) ' for case 1, 2, 3, or 4.
    Pictures 1, 5, 9 etc. are added to table 1 (case 1).
    Photos 2, 6, 10 etc. are added to table 2 (case 2).
    3, 7, 11 etc. are added to table 3 (case 3).
    Shots of 4, 8, 12 etc. are added to table 4 (4 cases).
    Average output displays the average value or total divided by the number of photos stored in this table ("Set (IQ + 1)'").

    My problems are:

    (1) I would like to output only the last 4 sets of data from different average output files, 1, 2, 3, and 4 to 4 (i.e. under .csv what is displayed on the screen in indicators "average output was 1, 2, 3 and 4 at the end of all iterations.)
    Where should I put my file save the diagram disabled so that it does?

    Put outside the main loop with automatic indexing on gives me a file with all previous data. (This is not feasible under my number of shots should number in thousands)

    Put outside the main loop with automatic indexing for off gives me only the last data series. (I need the output for 4 tables, not only the last run)

    Inside of the main loop to put (as shown) gives me the same number of files as the number of iterations. (Once again not possible due to the large number of files that will be generated and slow down the camera capture)

    In order to capture fast camera, I wish that these 4 files output only once the entire image capture are over.

    2) would preferably name the file once and for the program to add "(1)', ' (2)', ' (3)' and '(4)' file name tables"output on average"but appropriate file path controls are an another big headache for me.»»»

    3) PS is the initialization of an array enough not to use the memory manager? Or should I initialize 4 Bay?

    I am using Labview 2010.

    Thank you very much
    Charlene

    Hi Laura,

    I assume that you want to store the 4 x 4 table of average production for the last 4 iterations (correct me if I'm wrong). If so, I've set up the example as shown below:

    So, basically, what I did is I created a comparison group to check if the iteration is the iteration total last 4, you have defined. I have included a number to each of the business structures to set in which case it belongs to. The comparator will pass a Boolean result to the structure of the housing that contains the algorithm for writing a file. Since you mentioned that you want to create a file for each of the case, I created as a way to build to create the customized for each case file name. You will notice that there is a concanate string.vi that allows me to customize the name of the file. Since the common file must be exit average, I take the digital constant from the structure of the deal and convert it to a string and concanate to make it in e.g. output average 1. Please note that you need to put a basic path such as in my case, I want to save in the folder named ' New folder (3) "to my office.

    The writing on the case folder occurs only if the condition is true (that is, the last 4 iterations of the loop for)

    Once done, I created the header and write it in this text file and followed by data from spreadsheet on the next line.

    I enclose the code for your reference. I would like to know if this is what you wanted.

    Thank you

    Warm greetings,

    Lennard.C

  • Photoshop script that records with different active layers?

    Greetings. Long time user of Photoshop... but looking for a way to streamline some workflows. I regularly jobs where I need to create variations of what I am working on. To do this, I have basic layers that are common to all the images of finals, can have a set of layers that have sections which vary on them. Now, I heard some Scripts that can be run in Photoshop, so I was wondering if there is a way to have such a script all variants, evolution which layers "variation" is visible, as it does. Thus, if the layers were piled up like:

    Overlay shared

    Variant 6

    Variant 5

    Variant 4

    Option 3

    Variant 2

    Option 1

    Shared content

    Shared base

    All shared layers would be visible, while the script would save the Variant 1 file with the Variant 1 layer visible also... Variant 2 with Variant 2 visible (and Variant 1 tilt turn back), etc. Such a thing is possible in Photoshop with the script? And if so... How capable is he? If the file format was more like:

    Overlay shared

    Level 2 option 3

    Level 2 option 2

    Level 2 option 1

    Variation of 1 level 3

    Level 1 Variant 2

    Variation of 1 level 1

    Shared content

    Shared base

    When I needed to save the files where the script activated level 1 Variant 1, then saved on each of the 3 files with the level 2 variants (file1 would have level 1 Variant 1 + level 2 option 1 active, then File2 should have level 1 Variant 1 + level 2 option 2 active... etc)... is it possible?

    Not necessarily need someone to provide a script, I'm pretty happy to jump in and learn, if I get an indication that I wouldn't just spinning my wheels on something that is not possible. Thank you, in advance, for all the answers.

    Yes, this would be possible. If the files have different numbers of layers, which would make it more difficult, because you'd have to this script so that the script know which layers to enable or disable. It would be just a matter of creating a 'loop' and going through the layers. It would be worth something even in the name of the layer that would leave the script to know which layer must stay all the time.

  • ACROBAT STARTUP SCRIPT NOT WORK (with extendscript Tooklkit CS6)

    Hello

    I lived in programming, but beginning in the JS script in CS6.

    I developed some scripts in the Acrobat XI Pro console, now I wan't to install this global script that can be called by a menu.

    I'm working on Windows 7, with 64-bit:

    The path of the script is:

    C:\Program Files (x 86) \Adobe\Acrobat 11.0\Acrobat\Javascripts

    the script name is Confg.js

    The script is created with editor Extendscript Tooklkit CS6

    only contains this line:

    App.Alert ("Hey, since a script running in the world");

    I expect that an alert is poping up, when I opened Acrobat Pro XI with any PDF file:

    for a change

    app.addMenuItem ({cName: 'Test Menu', cParent: 'Help', cExec: "app.alert ('Menu Item Test'); '" "});

    does not work either

    After the opening of PDF Pro XI with an arbitry PDF, I get an error in the console:

    Acrobat Version mit integrierten EScript-Funktionen 11.0

    Acrobat SOAP 11.0

    SyntaxError: illegal character

    1:folder - Level: App:Config.js

    If I created the file with a text editor, things work perfectly, as expected.

    If I change this own file with Extendscript Tooklkit CS6 editor , even after the file is corrupted. This is Jean-Claude clumsy. Any solution, so I can work with Extendscript Tooklkit CS6 editor?



    Without seeing the file 'text' produced by Extendscript Toolkit in a hex editor, it is rather difficult to say. If there is a code of control buried in the text file.

    Acrobat supports all UI development because most of the scripts are quite small.

    Another problem may be that Extendccript does not add tags suitable scripts when editing Acrobat JS in Acrobat.

    Acrobat is not one of the programs listed, which is accompanied by Extendscript.

  • With INSERT for FDM memory problem

    All-

    We have configured FDM to run a script of integration in our instance EBS at the import stage. It worked fine for awhile, then we started to run out of memory on the server FDM. At the suggestion of the Oracle, we stopped through a record set for add and update the values of strWorkTableName and instead, he began to use INSERT INTO. I admit, I never needed to use the INSERT INTO how to do, so I can miss something bery base.

    Our integration script:
    Function SQLIntegration2(strLoc, lngCatKey, dblPerKey, strWorkTableName)
    '------------------------------------------------------------------
    'Oracle Hyperion FDM IMPORT Integration Script:
    '
    'Created By:       karks
    'Date Created:       2011-10-26 13:05:18
    '
    'Purpose:
    '
    '------------------------------------------------------------------
    
    Dim strSQL     'SQL string
    Dim lngPartitionKey
    Dim strConn 'Connection string to the source data
    Set cnSS = CreateObject("ADODB.Connection")
    
    lngPartitionKey = RES.PlngLocKey
    
    strConn= "File Name=C:\Users\karksadm\Desktop\NewConnection.udl;"
    cnSS.open strConn
    
    strSQL = "Insert Into " & strWorkTableName & " (PartitionKey, CatKey, PeriodKey, DataView, Amount , Account, Entity, ICP, UD1, UD2, UD3, UD4) "
    strSQL = strSQL & "SELECT " & lngPartitionKey & ", " & lngCatKey & ", TO_DATE (TO_DATE ('30/12/1899','dd/mm/yyyy')+" & dblPerKey & "), 'YTD', EBS.YTD_BALANCE, EBS.ACCOUNT, EBS.SEGMENT1, EBS.SEGMENT5, EBS.SEGMENT4, EBS.SEGMENT5, '[None]', EBS.CURRENCY_CODE FROM "
    strSQL = strSQL & "(Select D.NAME, A.CODE_COMBINATION_ID, D.NAME LEDGER_NAME, A.ACTUAL_FLAG, C.PERIOD_YEAR, TO_CHAR (C.START_DATE, 'MON-YY') AS PERIOD, B.SEGMENT1, (B.SEGMENT2 || B.SEGMENT3) As ACCOUNT, B.SEGMENT4, B.SEGMENT5, A.CURRENCY_CODE, "
    strSQL = strSQL & "(SUM (A.BEGIN_BALANCE_DR) + SUM (A.PERIOD_NET_DR) - SUM (A.BEGIN_BALANCE_CR) - SUM (A.PERIOD_NET_CR)) As YTD_BALANCE "
    strSQL = strSQL & "FROM GL.GL_BALANCES A, GL.GL_CODE_COMBINATIONS B, GL.GL_PERIODS C, GL.GL_LEDGERS D "
    strSQL = strSQL & "WHERE 1 = 1 And A.LEDGER_ID = D.LEDGER_ID And A.PERIOD_NUM = C.PERIOD_NUM And C.PERIOD_YEAR = A.PERIOD_YEAR "
    strSQL = strSQL & "And A.CODE_COMBINATION_ID = B.CODE_COMBINATION_ID And B.SUMMARY_FLAG = 'N' AND C.PERIOD_SET_NAME = D.PERIOD_SET_NAME "
    strSQL = strSQL & "And (B.SEGMENT1 = 001 And A.CURRENCY_CODE = 'USD' And D.LEDGER_ID = 2022) "
    strSQL = strSQL & "And C.END_DATE = TO_DATE (TO_DATE ('30/12/1899','dd/mm/yyyy')+" & dblPerKey & ") " 
    strSQL = strSQL & "And B.CHART_OF_ACCOUNTS_ID = D.CHART_OF_ACCOUNTS_ID And A.ACTUAL_FLAG = 'A' "
    strSQL = strSQL & "And ((A.BEGIN_BALANCE_DR) + (A.PERIOD_NET_DR) - ((A.BEGIN_BALANCE_CR) + (A.PERIOD_NET_CR))) <> 0 "
    strSQL = strSQL & "GROUP BY A.CODE_COMBINATION_ID, D.NAME, A.CURRENCY_CODE, TO_CHAR (C.START_DATE,'MON-YY'), C.PERIOD_YEAR, A.ACTUAL_FLAG, B.SEGMENT1, (B.SEGMENT2 || B.SEGMENT3), B.SEGMENT4, B.SEGMENT5 "
    strSQL = strSQL & "ORDER BY B.SEGMENT4) EBS" 
    
    DW.DataManipulation.fExecuteDML(strSQL) 
    
    'Give success message
    RES.PlngActionType = 2
    RES.PstrActionValue = "SQL Import successful!"
    
    'Assign Return value
    SQLIntegration2 = True
    cnSS.close
    Set cnSS = Nothing
    
    End Function
    I can run the SQL less line insertion in my SQL Developer and it works fine. When I run the script in its entirety in the FDM, we get the following:

    * Start the journal entry for the Runtime Error FDM [2012-01-23 11:37:30] *.
    -------------------------------------------------------------
    ERROR:
    Code...-2147217865
    Description... ORA-00942: table or view does not exist
    Insert Into tWibison72564424799 (PartitionKey, CatKey, PeriodKey, DataView, amount, account, entity, PKI, UD1, UD2, UD3, UD4) 772 SELECT, 28, TO_DATE (TO_DATE (' N December 30, 1899 ', not dd/mm/yyyy ') + 40724), YTD', EBS. YTD_BALANCE, EBS. ACCOUNT, EBS. SEGMENT1, EBS. SEGMENT5, EBS. SEGMENT4, EBS. SEGMENT5, N "[None]", EBS. Currency_code OF (Select D.NAME, A.CODE_COMBINATION_ID, LEDGER_NAME, A.ACTUAL_FLAG, C.PERIOD_YEAR, TO_CHAR D.NAME (C.START_DATE, no MON-YY') AS the PERIOD, B.SEGMENT1, (B.SEGMENT2 |)) B.SEGMENT3) as ACCOUNT, B.SEGMENT4, B.SEGMENT5, A.CURRENCY_CODE, (SUM (A.BEGIN_BALANCE_DR) + SUM (A.PERIOD_NET_DR) - SUM (A.BEGIN_BALANCE_CR) - SUM (A.PERIOD_NET_CR)) as GL.GL_BALANCES YTD_BALANCE, GL.GL_CODE_COMBINATIONS B, GL.GL_PERIODS C, GL.GL_LEDGERS D, WHERE 1 = 1 and A.LEDGER_ID = D.LEDGER_ID And A.PERIOD_NUM = C.PERIOD_NUM And C.PERIOD_YEAR = A.PERIOD_YEAR And A.CODE_COMBINATION_ ID = B.CODE_COMBINATION_ID and B.SUMMARY_FLAG = do no AND C.PERIOD_SET_NAME = D.PERIOD_SET_NAME and (B.SEGMENT1 = 001 and A.CURRENCY_CODE 'n' USD =' and D.LEDGER_ID = 2022) and C.END_DATE = TO_DATE (TO_DATE (' N December 30, 1899 ', not dd/mm/yyyy ') + 40724) and B.CHART_OF_ACCOUNTS_ID = D.CHART_OF_ACCOUNTS_ID and A.ACTUAL_FLAG = ' and ((A.BEGIN_BALANCE_DR) + (A.PERIOD_NET_DR) - ((A.BEGIN_BALANCE_CR) + (A.PERIOD_)) NET_ CR))) <>0 GROUP BY D.NAME, A.CURRENCY_CODE, A.CODE_COMBINATION_ID, TO_CHAR (C.START_DATE, no MON-YY'), C.PERIOD_YEAR, A.ACTUAL_FLAG, B.SEGMENT1, (B.SEGMENT2 |) B.SEGMENT3), B.SEGMENT4, B.SEGMENT5 ORDER BY B.SEGMENT4) EBS
    Process... clsDataManipulation.fExecuteDML
    The component... upsWDataWindowDM
    Version.......................................... 1112
    Thread........................................... 4424

    IDENTIFICATION:
    User............................................. ibisons
    Name of the computer... HOU-HYSDEV02
    App Name......................................... SWNFDMRC
    Client App....................................... WebClient

    CONNECTION:
    Provider......................................... ORAOLEDB. ORACLE
    Database server...
    Name of the database... FDMDEV
    Trust connect... Fake
    Connect status... Open connection

    GLOBALS:
    Location......................................... EBSINTEGRATION
    Location ID... 772
    Location Seg... 25
    Category......................................... EBS2
    ID of the category... 28
    Period... - June - 2011
    Period ID........................................ 30/06/2011
    POV Local........................................ Fake
    Language......................................... 1033
    User Level....................................... 1
    All Partitions... True
    Is Auditor....................................... Fake


    * Start the journal entry for the Runtime Error FDM [2012-01-23 11:37:31] *.
    -------------------------------------------------------------
    ERROR:
    Code...-2147217865
    Description... Data access error.
    Online: 33
    Process... clsImpProcessMgr.fExecuteImpScript
    The component... upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 4424

    IDENTIFICATION:
    User............................................. ibisons
    Name of the computer... HOU-HYSDEV02
    App Name......................................... SWNFDMRC
    Client App....................................... WebClient

    CONNECTION:
    Provider......................................... ORAOLEDB. ORACLE
    Database server...
    Name of the database... FDMDEV
    Trust connect... Fake
    Connect status... Open connection

    GLOBALS:
    Location......................................... EBSINTEGRATION
    Location ID... 772
    Location Seg... 25
    Category......................................... EBS2
    ID of the category... 28
    Period... - June - 2011
    Period ID........................................ 30/06/2011
    POV Local........................................ Fake
    Language......................................... 1033
    User Level....................................... 1
    All Partitions... True
    Is Auditor....................................... Fake


    * Start the journal entry for the Runtime Error FDM [2012-01-23 11:37:31] *.
    -------------------------------------------------------------
    ERROR:
    Code...-2147217865
    Description... Data access error.
    Online: 33
    Process... clsImpProcessMgr.fLoadAndProcessFile
    The component... upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 4424

    IDENTIFICATION:
    User............................................. ibisons
    Name of the computer... HOU-HYSDEV02
    App Name......................................... SWNFDMRC
    Client App....................................... WebClient

    CONNECTION:
    Provider......................................... ORAOLEDB. ORACLE
    Database server...
    Name of the database... FDMDEV
    Trust connect... Fake
    Connect status... Open connection

    GLOBALS:
    Location......................................... EBSINTEGRATION
    Location ID... 772
    Location Seg... 25
    Category......................................... EBS2
    ID of the category... 28
    Period... - June - 2011
    Period ID........................................ 30/06/2011
    POV Local........................................ Fake
    Language......................................... 1033
    User Level....................................... 1
    All Partitions... True
    Is Auditor....................................... Fake

    I really think that the problem is that I am not tell the script where to find the Oracle tables to. I left the code wherever we use the UDL to call for the opening of the Recordset, but since we do away with the Recordset how let FDM knows where to find the Oracle tables?

    Thanks in advance - I've been struggling with this for several days.

    Thank you,
    Sarah

    Did you build a database for the GL data link? These paintings GL.GL_BALANCES A, GL.GL_CODE_COMBINATIONS B, GL.GL_PERIODS C, GL.GL_LEDGERS D are not part of the FDM and I do not see how treat you your education cnSS.open strConn sSQL binder.

  • Out of the queue of SQL * Plus for Excel

    I'm out of the queue of SQL * Plus for Excel. The code I use is down. I want that all white space to carve when I open the updated file waiting in Excel. How can I ensure this?

    I was reading on the SET TRIM command, but it says that it does not affect the output queued. (http://ss64.com/ora/syntax-sqlplus-set.html)

    Is there a way to NOT display whitespace at the beginning and the end of a column in SQL * more? In other words, if I shoot a single column of a record, and a data element is only 3 characters in length, I want to be also 3 characters instead of extending over 40 characters across the width of the column.


    The column for your troubleshooting information
    IDNUMBER is NUMBER (12)
    FIRST is VARCHAR2 (40)
    The LAST is VARCHAR2 (60)


    Code
    SET LINESIZE 100
    SET PAGESIZE 0
    SET MARKUP HTML PREFORMAT ON
    set colsep,
    coil c:\prospects.csv
    Select '' perspective ID"', '" First"',""finally" "from dual;
    Select to_char (p.idnumber), p.first, prospect_view p.last p where idnumber = 164515;
    spool off

    DataHandle wrote:
    I'm out of the queue of SQL * Plus for Excel. The code I use is down. I want that all white space to carve when I open the updated file waiting in Excel. How can I ensure this?

    I was reading on the SET TRIM command, but it says that it does not affect the output queued. (http://ss64.com/ora/syntax-sqlplus-set.html)

    TRIM affects the expressions in your SELECT clause. It has nothing to do with the padding of SQL * Plus adds to align the columns upwards.

    Is there a way to NOT display whitespace at the beginning and the end of a column in SQL * more? In other words, if I shoot a single column of a record, and a data element is only 3 characters in length, I want to be also 3 characters instead of extending over 40 characters across the width of the column.

    Here's a way to make the main request:

    SELECT        TO_CHAR (idnumber)
    || ',' ||  first
    || ',' ||  last
    FROM           prospect_view
    WHERE        idnumber     = 164515
    ;
    

    This will include spaces only if they occur in first or last. Depending on your data and your requriements, you may need to use the FILLING (first) instead of the first, and/or TRIM (finally) instead of the last.

    Using this technique, it does not matter what is COLSEP: the query produces a single column.

    Use the SQL * more order

    SET  TRIMSPOOL ON
    

    to keep SQL * more add space after this single column.

  • Problem with save for Web in Action

    We do hundreds of images to our fine print main client. As part of the work, they want to the final image through save for Web registered as file a .jpg and .png to 1000 pixels wide.

    The problem is, if you try to create an action for this, the size of the action records is a percentage and not a width in pixels. It is therefore impossible (so it seems) to record an action that sets the scale as a sizing with a fixed output of 1000 pixels wide. Since images vary in size and he insists on registration of the size as a percentage, you can not create an action that will work.

    I tried to see if there is a way to change the action to change the output of a width in pixels, but didn't see how to do it. Is it still possible? We would save TONS of not having to manually open each image twice as much work and savings for each format.

    Yes, there is a bug with this script.

    The bug got into CS5 and was not attached to the CS6.

    You can download the fixed script here...

    http://www.PS-scripts.com/BB/viewtopic.php?f=10&t=3370

Maybe you are looking for