The arbitrary parameter data

Hello

A small question about adding multiple arbitrary parameters.

You create a single struct/class containing all your data for ALL your params of the arb, or do you have a struct/class by arb param?

for example

Unique struct with data for two arbitrary parameters

struct AllMyArbsData {}

A_long arb_1_fooL;

PF_FpLong arb_1_barF;

A_char arb_2_textC [128];

}

or... Two structures with the data for each arb param separately

struct Arb1Data {}

A_long arb_1_fooL;

PF_FpLong arb_1_barF;

}

struct Arb2Data {}

A_char arb_2_textC [128];

}

It is difficult to example projects how to manage several arb params. Dephault setting reminders, print, etc. do not check for a given parameter code. Of course in the examples, there is only the parameter an arb... I'm not at my computer dev in this moment so impossible to verify, but, for example, CreateDefaultArb has an extra parameter, so there is no way to verify what arb is referenced.

Thank you, C

Yes, some of the functions of the Manager could be the same for all types of the arb. I have

personally found that, with the exception of the 'create new' function, I almost never

change anything between the managers of the different era.

with regard to storing the value of arb in the Manager of arb class. You can do this, but

Why? you create the data and send it on AE to store either you get

EI data to process and return. Why would you want to store the data

the Manager?

which also has to do with your next question. (we will swing towards the)

back soon)

where can I create and store managers? I'm doing this for the whole installation,

and store them in the overall structure data. then during the installation of param, I

Pass the pointer to these managers.

in this case, you will need to create a handle for these classes, initialize

'placed again' help and keep the Manager locked throughout of the

session, so that the handles are not moving.

Return to the previous question. If you allocate a handler that can serve as a

little MACAW, then store the value in the handler class would not allow you

to use the same handler for all.

If the Manager is 'neutral', so you can reuse. I found this collage

with the widespread CREF Manager and re-use it saved a lot of time.

Tags: After Effects

Similar Questions

  • We can dynamicaly fill the store parameter data in OEDQ?

    Is there a way where we can dynamically fill in the parameters of data store that varies from env to env to OEDQ, in reading common file of param.

    This will avoid the hassle of conflict and maintenance for all future password or port changes.



    Kind regards

    Goutam

    Yes, you can do so by Instant exteriorization and exports, because these are executable tasks that use the data store settings. You can then replace the settings stored with the real settings needed to run using command line parameters or run profiles.

  • How to get input on the arbitrary draw event data?

    Hi all

    I'm trying to draw a histogram on an arbitrary parameter (such as the effect of 'Levels'). Part of the draw is good, but I have a problem with the data in the input layer (param [0]).

    All I have to do now is read the entry about the event draw arbitrary data. But there is not the input on the draw event pointer. So I called the PF_CHECKOUT_PARAM() function to get the input data, and it works!

    When I test in AE, I created a layer A, and added some color correction effects to the layer before my effect added A layer. The problem is the input layer that read my effect is not the result of the previous effects that I applied before.

    Has any way to read the latest entry in the arbitrary event data?

    Thank you.

    the result of caching is a smart thing to do, but as you mentioned, when the

    the user sets the controls in a State that AE has already cached the image

    for, any rendering happens, and your user interface crashes on an irrelevant screen.

    (as is the case with 'levels' (or at least was))

    You can use PF_GetCurrentState PF_HasParamChanged during a draw event to

    know if your plug-in State param has changed sine the last call to draw.

    If so you can't, for a new record using PF_OutFlag_FORCE_RERENDER

  • How to pass the parameter DATE to a DBMS_JOB package

    create or replace procedure proc_day as
    number of l_job;
    Start
    dbms_job. Submit (l_job,'pro_duration_alarms_daily(''05/09/2012'') ;');)
    dbms_job. Submit (l_job,'pro_duration_alarms_daily(''05/10/2012'') ;');)
    dbms_job. Submit (l_job,'pro_duration_alarms_daily(''05/11/2012'') ;');)

    COMMIT;
    end;

    When calling the above procedure, it gives the following error message, what's not here

    ERROR on line 1:
    ORA-06550: line 1, column 93:
    PLS-00306: wrong number or types of arguments in the call to
    'PRO_DURATION_ALARMS_DAILY '.
    ORA-06550: line 1, column 93:
    PL/SQL: Statement ignored
    ORA-06512: at "SYS." Dbms_job", line 82
    ORA-06512: at "SYS." Dbms_job", line 140
    ORA-06512: at "ORPHEUSNZ. PROC_DAY', line 4
    ORA-06512: at line 1

    What's not here.. ? in case of normal use, I'll call the procedure as below

    exec pro_duration_alarms_daily('05/09/2012');

    Describe exactly "does not work".

    Now maybe YYY YYYY not for example?

    Show us the arguments to this procedure if there is a procedure.

    In addition, you must wrap a procedure with a call "begin... end; ' when calling DBMS_JOB.

    that is assuming that pro_duration_alarms_daily is a procedure that accepts a single parameter DATE so

    dbms_job.submit(l_job,' begin pro_duration_alarms_daily(to_date(''05/09/2012'',''MM/DD/YYYY'')) ; end;'); 
    

    Is what version?
    No reason DBMS_JOB not DBMS_SCHEDULER that offers more flexibility?

    You can test this out DBMS_JOB quite easily.

    It work?

    begin pro_duration_alarms_daily(to_date('05/09/2012','MM/DD/YYYY')) ; end;
    

    If this isn't the case, then you can understand why without DBMS_JOB being in the picture.

    Published by: Dom Brooks on July 19, 2012 11:55

  • How to control the call to a data control using the portlet parameter

    Hello

    I use a web service data control in my portlet application. I would like to know if there is a way where in the data control will not be called when the portlet is responsible, unless the portlet parameter is specified.

    Thanks in advance!
    Rian

    You are right.

    It is an example of a classic which I use as a data control:

    public class UserDataControl {
    
      private UserService_Service user_service;
      private UserService us;
    
        public UserDataControl() {
            super();
            user_service = new UserService_Service();
            us = user_service.getUserServicePort();
        }
    
        public List getUserList(String company) {
          List list = us.retrieveUserList(company);
            System.out.println(list.size());
             return list;
        }
    }
    

    The proxy in my case has been generated in UserService_Service.
    This class is used as a datacontrol so my datacontrol will be a setting for the company, as you can see in the getUserList.
    You can check if the parameter is null, then returnn an empty list or so.

  • default value of the parameter date problematic SYSDATE

    Hello

    I finally discovered why a report of problems, but have no solution to the problem.

    After the first run of the report and MORE (DESKTOP is no problem), I can open is no longer the LOV for any of the settings. The LOV icon is available, but nothing happens when you click it.

    Now, I know the problem is a specific condition based on a date parameter.

    The State is testing a date field against a setting that is based on NONE and has a default value of today. If I use effective dates in the setting I have no problem. If I use today or SYSDATE, then I can only run the report once. After that I can't choose any LOV in any of the settings. If I change the today or SYSDATE to a real, date is well again.

    The State of origin that was used was based on a calculated field due2 defined as: DECODE (:due,'TODAY',SYSDATE,TO_DATE(:due,'DD/MM/YY'))

    I tried to change the condition of:

    date field < = TO_DATE(:due,'dd/mm/yyyy')

    but also causing problems if I used SYSDATE or today in the parameter.

    I then tried to change the calculated field to due2:
    Decode (:due,'TODAY',to_date(sysdate,'dd/mm/yyyy'),to_date(:due,'DD/mm/YY'))
    but it does not work.

    Any suggestions?

    Thank you.
    Leah

    Hi Lea,.
    Try using 'CASES' instead of 'Decode' in your state:

    -case when: due = trunc (sysdate) then 'Today'
    of other end TO_DATE(:due,'DD/MM/YY')

    Maybe it will solve your problem.

    Note that this is problematic, because if the user enters an invalid date you will probably get an error.

    I could do this a bit different...
    1. create an optional parameter based on the date (so that I'll have the calendar)
    2 create a condition where the parameter is empty, it will use SYSDATE.
    for example:
    =: due
    OR (: due is null AND = trunc (sysdate))

    Tamir

  • How to use the date with the report parameter format

    Hi all

    How to use the date format with this tag function,

    <? param@begin:P_FROM_DATE? > <? $P_FROM_DATE? >

    This date of form source of report and setting is coming as this 2012/11/01 00:00:00.

    So now I need this in MY-DD-YYYY marker. I tried like this..? param@begin:P_FROM_DATE? > <? $format - date: P_FROM_DATE; ' DD-MON-YYYY '? >

    but its giving error. Can someone pls how to convert to the format of date custom.

    Thanks and greetings
    Srikkanth.M

    Problem solved.

    REF this link

    Date Format of XML

  • How to generate a trigger when the arbitrary

    Hi all

    I have a digital output pci card 6534 and an analog output pci card 6723.

    I would like to generate a material long pulse sequence timed. The 6534 has 32 MB memory on board, so it is good to do a long sequence. The 6723 will run out of memory if started at the same time. I would therefore trigger the 6723 at a later date. The boards are connected with rtsi.

    I see 3 ways to do (well that I know how to do, but the first two would be more elegant):

    (1) generate a sequence of digital pulses on ports (i.e. how that), then convert a line of port online rtsi (don't know how to)?

    (2) generate a trigger to the arbitrary point on the rtsi lines (don't know how to)?

    Go 3) with 1) physically connecting a port to a line PFI on the analog card.

    I have not found a way to send a trigger at some arbitrary point with the RTSI. Instead of this I went with solution 3) and related digital outputs analog card PFI channels.

  • Unable to read the security descriptors data stream

    Whenever I start my computer runs CHKDSK - it says checking file system on E: and then he said that it should be checked for consistency. It works until stage 3 when he says 'impossible to read the security descriptors data stream' how to fix this?

    I tried chkdsk e:/r and it runs before step 3 when I get the "unable to read the security descriptors data stream" and it goes no further.

    I also tried fsutil dirty query e:- but it says something about a parameter incorrect and not if the volume is dirty or clean.

    Then I tried chkdsk e:/f/x - that always gives me the same mistake about it being an incorrect setting.

    As far as I know there is absolutely nothing on E:, I didn't even know that there was an additional drive. Right now I have it turned off so that I can use my computer. It seems to work fine without it. I read an article that said that if I can't fix e: with chkdsk which I have to do a low-level format of the reader? What's my next step? And I can do without the XP disc?

    The syntax

    fsutil dirty query e:

    is correct (except, of course, you try to use from the Recovery Console, where the fsutil command is not available).  Are you logged on as a user with administrative rights when you use fsutil?

    Similarly, the switches /f and/x are not available for chkdsk in the Recovery Console.

    See Recovery Console controls.

    Click on desktop then right-click on E: drive icon and select Properties.  What is indicated for:

    • File system
    • Space used
    • Free space
    • Capacity

    Now double click the icon for E: are shown files?  If not, click Tools > Folder Options > view and select the radio button "Show hidden files and folders" and uncheck "Hide protected files (recommended) operating system.  Now that you see all the files?

    Everything you read 'low level of shaped' is nonsense.  Any modern PC drive cannot be low level formatted by end users.  You can read this, but there is really no necessary even to "zero fill" your drive E: http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=203931 (I have not checked to see if the WD tools rescuer has similar characteristics to SeaTools for DOS).

    If you are convinced that there is nothing of value on E (for example, installation of backup or restore), you can either format by right-clicking on the drive icon in my computer and selecting "format" or you can start disk management as described previously and use either in electronic format or delete the partition completely.  If you delete the partition, space becomes "unallocated".

    Because I guess C is your system drive (where Windows is), you may be able to use the diskpart tool to extend the partition F to use the unallocated space left if you decide to remove E well it's much easier (and safer) to do with disk management third-party tools such as Easeus Partition Manager free : http://www.partition-tool.com/personal.htm

  • wcmUrl cannot run the "evaluateScriptEx" of service method. The server script expression evaluates error. No path required for the ssWeblayoutUrl parameter.

    Hi all

    I have a data file where there is a wcm:element like below

    < wcm:element = "linkUrl" name > [!-$wcmUrl ('resource', ")-] < /wcm:element>

    So, I get an exception to content server


    Event generated by the user 'sysadmin' to host 'CIS '. Could not generate the HTML page. Unable to evaluate the function. Error running system. wcmUrl cannot run the "evaluateScriptEx" of service method. The server script expression evaluates error. No path required for the ssWeblayoutUrl parameter. [Details]

    An error has occurred. The stack trace below shows more information.

    !csUserEventMessage,sysadmin,CIS!$!csPageMergerUnableToGenerateHtmlPage!csDynHTMLSystemExecutionError,csDynHTMLReportMsgFunction!$wcmUrl!csUnableToExecMethod,evaluateScriptEx!csDynHTMLServerScriptEvalError!$Missing required path parameter for ssWeblayoutUrl.

    intradoc.common.ServiceException:! csPageMergerUnableToGenerateHtmlPage

    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)

    at intradoc.server.Service.buildServiceException(Service.java:2271)

    at intradoc.server.Service.createServiceExceptionEx(Service.java:2265)

    at intradoc.server.Service.createServiceException(Service.java:2260)

    at intradoc.server.Service.buildResponsePage(Service.java:1314)

    at intradoc.server.Service.doResponse(Service.java:2076)

    at intradoc.server.FileService.doResponse(FileService.java:1469)

    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:802)

    at intradoc.server.Service.doRequest(Service.java:1890)

    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)

    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)

    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:528)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Caused by: java.io.IOException:! csDynHTMLSystemExecutionError, csDynHTMLReportMsgFunction! $wcmUrl

    at intradoc.common.DynamicHtmlMerger.createIOException(DynamicHtmlMerger.java:2588)

    at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:1202)

    at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:623)

    at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)

    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)

    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)

    at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)

    at intradoc.common.DynamicHtmlMerger.outputDynamicHtmlPage(DynamicHtmlMerger.java:2007)

    at intradoc.server.Service.buildResponsePage(Service.java:1267)

    ... more than 10

    Caused by: intradoc.common.ServiceException:! csUnableToExecMethod, evaluateScriptEx

    * ScriptStack! csDynHTMLStackDumpStart, sysadmin, (datasummary) IdcService is SSXA_GET_DATAFILE\, dDocName = 00151164\, = 209607 dID! $

    ! csDynHTMLNoStack! $

    !csDynHTMLErrorMessage,/oracle/ecm/ucm_domain/ucm/cs/weblayout/groups/public/@global/documents//mdaw/mtux/~edisp/00151164~2.xml.parsed,9,40!csDynHTMLSystemExecutionError,csDynHTMLReportMsgFunction!$wcmUrl!$

    -& #62;      & #60; WCM:element name = "linkUrl" & #62; [(--\!--$wcmUrl('resource'\, '')]; & lt; / span & gt; & #60; / wcm:element & #62;

    in sitestudio. SSClassHelper.invoke (unknown Source)

    in sitestudio. SSScriptExtensions.evaluateIncludeXmlEx (unknown Source)

    in sitestudio. SSWCMScriptExtensions.resolveWcmUrl (unknown Source)

    in sitestudio. SSWCMScriptExtensions.evaluateFunction (unknown Source)

    at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1430)

    at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:908)

    ... more than 17

    Caused by: java.io.IOException:! csDynHTMLServerScriptEvalError

    at intradoc.common.DynamicHtmlMerger.createIOException(DynamicHtmlMerger.java:2588)

    at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:1202)

    at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:623)

    at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)

    at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)

    at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)

    at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)

    at intradoc.common.DynamicHtmlMerger.executeDynamicHtmlToWriter(DynamicHtmlMerger.java:2060)

    at intradoc.common.DynamicHtmlMerger.evaluateScriptToWriter(DynamicHtmlMerger.java:1872)

    at intradoc.common.DynamicHtmlMerger.evaluateScriptNoErrorHandling(DynamicHtmlMerger.java:1836)

    at intradoc.common.DynamicHtmlMerger.evaluateScriptEx(DynamicHtmlMerger.java:1794)

    at sun.reflect.GeneratedMethodAccessor500.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    in sitestudio. SSClassHelper.invokeRaw (unknown Source)

    ... 23 more

    Caused by: intradoc.common.ServiceException: path of access is required for ssWeblayoutUrl parameter.

    * ScriptStack! csDynHTMLStackDumpStart, sysadmin, (datasummary) IdcService is SSXA_GET_DATAFILE\, dDocName = 00151164\, = 209607 dID! $

    ! csDynHTMLStackElementWithFilename,wcmUrl,/oracle/ecm/ucm_domain/ucm/cs/weblayout/groups/public/@global/documents/generalmodule/mdaw/mtux/~edisp/00151164~2.xml.parsed,9,40!$

    ! csDynHTMLServerScriptEvalError

    in sitestudio. SSScriptExtensions.evaluateFunction (unknown Source)

    at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1430)

    at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:908)

    Therefore I don't see the placeholder to correct the link. How can I fix this, or at least manage the display of the placeholder.

    Concerning

    I don't think the resources without the dDocName specification will work (for example [!-$wcmUrl ('resource', ")-]).

    At some point, the code path probably leaves the SiteStudio component and goes back to the core code WebCenter content to fetch the revision. It seems that it is where he meets a problem (impossible to find the last out for review).

    If you turn on additional detailed complete tracking for site *, file * and system * this gives you a clues?

    Jonathan

    https://jonathanhult.com

  • Dynamically change the Format of Date of Application

    Hi all

    I am looking for a possibility to change the format of date of Application in globalization attributes dynamically according to the user.

    Something likeAPEX_UTIL.SET_SESSION_TIME_ZONE but for the date format.

    Does anybody know how it works?

    In detail:

    I want dates in interactive reports display in a specific date format.

    If I put the following in the attributes of 'security' - call the virtual private database PL/SQL to define the security context:

    BEGIN

    If password = "MY_TEST_USER" then

    run immediately "alter session set nls_calendar =" English Hijrah "';"

    run immediately "alter session set nls_date_format =" DD-MM-YYYY "';"

    end if;

    END;

    Then, the dates are indicated correctly in reports interactive but not in the Action menu-> filter.

    If I put date_format = "DD-MM-YYYY" in the attributes of the globalization, it works very well in the interactive report filter.

    The problem is that I want to set this attribute only for some users.

    Thank's,

    Kirsten

    (APEX 4.0/APEX 4.2)

    Because you can use string syntax of substitution for the attributes of the globalization, for example, you could create an element of the AI_DATE_FORMAT application, reference & AI_DATE_FORMAT. and fill out the application element according to certain parameters in the code after the authentication of the authentication system (for example: get a parameter of an array of parameters user or somesuch).

  • What is the meaning of the DB_FILES parameter in the pfile file?

    Hello

    Can I know what is the real meaning DB_FILES parameter? I know it is used to specify the maximum number of data likely to be assigned to the database files, but why would we want to limit the number of data files that it can create?

    Maybe this will help - management of data files and Temp files

  • Appeal procedure in another procedure using the Out parameter slider - lesson

    Hello

    I am new to Oracle development so first I wonder if it is a good place with a simple way of the of on how to create stored procedures?  I'm looking for the most part at this stage for a quick read.

    Second, currently have hacked and slashed my way into getting one built.  It has 3 parameters and an output parameter sys_refcursor.  This procedure works.

    I want to have another created procedure that will call the above procedure and loop through each row in the setting out and write to a file.  Can someone point me to an example of this by any chance?

    Thanks for the help.

    Hello

    e28d78d3-c6c6-4BCE-b14f-0f6bf26fa17c wrote:

    Thanks for the reply.

    Here's what I have, but I'm getting many errors.  When I seem to fix one that I get a new one. Kind of like what it show me all questions vs one question at a time.  I never know if I create another error of my attempts at fixing what, in my view, could be the problem.  In any case, something to get used to.

    When you do any type of programming, take baby steps.  Write less code as possible, test what you wrote ' worm and, if it contains errors, correct them and test again.

    The PL/SQL compiler tries to show all errors, but often it is impossible to say what is a separate mistake, and which is a consequence of a previous error.  For example, the DECLARE statements in your code are perfectly valid PL/SQL statements, but they are the mistakes in the sense that they are not what you think, and you may not use them.  PL/SQL does not know that (I don't really know that, either, but I'm willing to guess in this case).  The works of compiler on the explanation that you really wanted to say SAID, until what it becomes obvious, maybe several lines later, that something makes no sense, but at this time, there is no way he could say that the undesirable DECLARE was the cause.

    So here is where I am stuck currently.  What I want should first, run the stored procedure and I think I do as you suggest.  Which returns data in the output parameter, which is of type sys_refcursor.  I think I would need to loop through each element that cursor and output to the file using the dbms_output you reference and like I did below.  This should be it.  Sounds simple enough, but it's where some of the basics for me.

    For example, by creating the procedure some examples have the name of the procedure and then some "AS", "IS".  When use the beginning and the end and when not I need?

    There is no difference betwwen

    CREATE PROCEDURE... AS and

    CREATE PROCEDURE... Use IS the one you prefer.  You must always one or the other, however.

    PL/SQL is written in blocks.  The basic structure of a block is

    DECLARE - optional, sometimes involved

    ...

    BEGIN

    ...

    -Optional EXCEPTION; forget it for now

    ...

    END;

    Almost all of the PL/SQL code is part of a block.  In fact, you could argue that anything not in a block isn't really PL/SQL.  (For example, CREATE PROCEDURE is really an SQL, PL/SQL not, it indicates the SQL that some PL/SQL compiler is coming.)

    You should always BEGIN and END keywords in a PL/SQL block; None is never optional.

    I think I'm doing the for loop correctly but I get an error on the portion of loop-end.  It is a part of these simple things that become I think that.

    That's what I have:

    CREATE OR REPLACE PROCEDURE APPS.boact_report_3

    AS

    DECLARE v_cur SYS_REFCURSOR;

    DECLARE v_file_out UTL_FILE.file_type;

    BEGIN

    I said earlier, DECLARED may be implied.  It's one of those places if there is nothing after CREATE PROCEDURE... IS and before STARTING, it is supposed to be a statement.

    You can have as many statements (0, 1, 2 or more) that you want in this section of the statement.  The semicolon at the end of each of them is all the separation you need each other; you don't need any keyword as STATED.

    Open the v_cur for

    bo_report (p_sv_id, p_start_date, p_end_date, out v_cur);  -stored procedure that girls v_cur witch is a sys_refcursor parameter.  It works

    END;

    BEGIN

    Don't forget, how to call a procedure is

    bo_report (x, y, z);

    not

    bo_report (x, y, z OUT);

    The key words are only necessary (and only used) in the declaration of a procedure, not in his appeal.  When you create a procedure, you decide if each argument is going to be an argument IN, an OUT argument, or IN OUT argument, and you tell the compiler that you decide.  When you call a procedure, you have no choice; each argument is IN, OUT or IN OUT has already been decided, and suffice to say compiling what are the variables (or expressions) that you use to play these predetermined roles.

    Dbms_output.put_line ('Date: ');

    v_file_out: =.

    UTL_FILE.fopen (' / public/scripts/smorau02 ', 'w_act.csv', 'W');

    FOR x IN v_cur

    LOOP

    () UTL_FILE.put_line

    v_file_out,

    x.cl_num | ','

    || x.wa_id | ','

    || x.Description | ','

    || x.a_date | ','

    || x.a_by | ','

    || x.v_Name | ','

    || x.SITE_NAME | ','

    || x.stage | ','

    || x.in_queue);

    END LOOP;

    UTL_FILE.fclose (v_file_out);

    END;

    Thanks again for the help.

    You have not to send the code to bo_report, so I can't run the procedure.  I do not notice any obvious mistakes immediately superior.

  • travel-vmhost error - the destination of the specified parameter expects a single value

    I run in an error using Move-VMHost under PowerCLI version 5.5 R2 Patch 1 and 5.8 Release 1.

    There are 6 clusters in the data center.  To the host of the virtual machine between 5 of the clusters that I can run successfully:

    Get-VMHost vmhostname | Moving-VMHost Destination 'NOMCLUSTER '.

    But one group in particular always fails when it is specified as destination of the error message:

    The specified parameter "Desintation" expects a single value, but your criteria of name "cluster6" corresponds to multiple values.

    The only way I can get this working is to do:

    Get-VMHost vmhostname | -Move Destination VMHost (get-cluster | where {$_.name - eq "cluster6"})

    How 'cluster6' could correspond to several cluster names?  Is this just a bug in PowerCLI?  I started using PowerCLI more recently and noticed that some cmdlets can be a bit odd (for example had a few other problems with Get-VMHostStorage and found others have had similar problems with it).  I use this process of moving part of a more automated deployment script.  Prefer to make it as efficient as possible without having to insert the extra if possible Get-Cluster command.

    The Destination parameter on the Move-VMHost cmdlet accepts any VIContainer, not only the clusters.

    I suspect it could VIContainer one another with the same name.

    What this does?

    Get-inventory-name 'cluster6 '.

  • Script of VM inventory for VM name with the location, the name of the Cluster and data storing total size and free space left in DS.

    Hello

    I wanted to collect script inventory VM VM name with location, name of the Cluster and data store total size and free space left in Datastore.I have script but his mistake of shows during its execution. Any help on this will be apreciated.

    Thank you

    VMG

    Error: -.

    Get-view: could not validate the argument on the parameter "VIObject". The argument is null or empty. Provide an argument that is not null or empty, and then try
    the command again.
    E:\script\VM-DS-cluster.ps1:7 tank: 20
    + $esx = get-view < < < < $vm. Runtime.Host - name of the Parent property
    + CategoryInfo: InvalidData: (:)) [Get-view], ParameterBindingValidationException)
    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.DotNetInterop.GetVIView

    Get-view: could not validate the argument on the parameter "VIObject". The argument is null or empty. Provide an argument that is not null or empty, and then try
    the command again.
    E:\script\VM-DS-cluster.ps1:8 tank: 24
    + $cluster = get-view < < < < $esx. Parent - the name of the property
    + CategoryInfo: InvalidData: (:)) [Get-view], ParameterBindingValidationException)
    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.DotNetInterop.GetVIView

    Get-view: could not validate the argument on the parameter "VIObject". The argument is null or empty. Provide an argument that is not null or empty, and then try
    the command again.
    E:\script\VM-DS-cluster.ps1:9 tank: 24
    + += get-view $report < < < < $vm. Store data-name of the property, summary |
    + CategoryInfo: InvalidData: (:)) [Get-view], ParameterBindingValidationException)
    + FullyQualifiedErrorId: ParameterArgumentValidationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.DotNetInterop.GetVIView

    It seems that your copy/paste lost some.

    I have attached the script

Maybe you are looking for