Day-date placeholder syntax issues

Hi,
Can someone clarify the legal syntax of the day-date placeholder. The published syntax in the OSB Reference Guide does not appear to be correct. I'm trying to script the configuration of backup schedules using the obtool 'mksched' command for a large rollout. I've tried several apparently legal forms of day-date, with the following observations.
1. days with an upper-case first letter do not work.
2. a day range, e.g. monday-tuesday does not work.
3. anything that includes more than a single day must be quoted with single quotes. If not, I end up with a schedule called "wednesday", where my day-date is tuesday<space> wednesday.
I've not tried all of the examples in the reference guide, but it would not supprise me if most of them do not work. The one 'mksched' example in the reference guide rather unhelpfully uses "-d thursday", which of course does work, being the simplest form of the syntax.
Thanks.

You're right, the weekday range syntax as given in the reference guide doesn't work. I guess someone needs to fix that, or remove it from the doc.
You can do this to achieve the same result :
obtool mksched -d "mon tue wed" <schedule_name>
The schedules are kept in /usr/local/oracle/backup/admin/config/schedule, so once you've got a base, you might find it easier to manipulate them directly in there.

Similar Messages

  • PLACEHOLDER Syntax for multiple Input Variables

    Hi,
    I am trying to pass multiple paramter values (not multi-value) it works when the first parameter is passed but does not work when I add the second parameter value. I need to pass 4 different paramters and the statement is below..
    The placeholder sysntax works with hard coded values or only one PARAMETER is passed.... as below...(For clarity I aligned the placeholder syntax....
    FROM "_SYS_BIC"."ZXXXXXX/ZSTAR_OT"
    ('PLACEHOLDER' = ('$$IP_TOMNTH$$', '201302'),
    'PLACEHOLDER' = ('$$IP_FRMNTH$$', '201301'),
    'PLACEHOLDER' = ('$$IP_KOSTL$$', '3001D,3004D'),
    'PLACEHOLDER' = ('$$IP_BUKRS$$', '1000'))
    It works as below. (when one of placeholder is provided a @Prompt as below
    FROM "_SYS_BIC"."ZXXXXXX/ZSTAR_OT" ('PLACEHOLDER' = ('$$IP_TOMNTH$$', @Prompt(P_TOMNTH)), 'PLACEHOLDER' = ('$$IP_FRMNTH$$', '201301'), 'PLACEHOLDER' = ('$$IP_KOSTL$$', '3001D,3004D'), 'PLACEHOLDER' = ('$$IP_BUKRS$$', '1000')))
    when I add the second parameter I get an error
    FROM "_SYS_BIC"."ZXXXXXX/ZSTAR_OT" ('PLACEHOLDER' = ('$$IP_TOMNTH$$', @Prompt(P_TOMNTH)), 'PLACEHOLDER' = ('$$IP_FRMNTH$$', @Prompt(P_FRMNTH)), 'PLACEHOLDER' = ('$$IP_KOSTL$$', '3001D,3004D'), 'PLACEHOLDER' = ('$$IP_BUKRS$$', @Prompt(P_COMP_CODE)))
    the error is
    Substitution failed: No value supplied for Parameter "P_FRMNTH". (QTJ 00520)
    Any idea why this is happening.....
    Thank you,
    Arthur.

    I found an issue and fixed it. It is a simple fix within Data Foundation where the paremeters are defined, just change the Parameter text to be different and it validates fine.
    Thank you for all those who viewd this post and try to help you.
    Arthur.

  • Day, date and time in menu bar

    Hello:
    New MacBook and new to Apple computers. I can get day of week and time of day to display, but would also like to have the date displayed. I've followed the directions, but date won't display. When I right click on the day/time, the entire display (Monday, February 11, 2008, for example) is displayed, but grayed-out. Does that mean that my MacBook, with Leopard, can't display day/date/time? Niggling issue, but if anyone has a solution, please respond.
    Thanks,
    medren

    medren wrote:
    Thanks for your suggestions, all of you; I hope I can get to the point where someday I can answer a newbie's question.
    Your welcome. Thanks for the it is appreciated.
    You'll get there. We all started with no points and it was only up from there. I am still learning new stuff here. There are a lot of very knowledgeable people here that are a great help. Welcome aboard.

  • How to directly access day/date in iOS 8 phone calendar?

    I have an iPhone 5, and mistakenly downloaded the latest OS 8.0. I have not experienced some of the other problems reported with this upgrade, but am totally frustrated with the latest release of the Calendar app.
    The new iPhone software does not seem to allow me to enter appointments/events directly to the date chosen. When in the Month display, this latest software will not allow access to the date chosen, but now pulls up a list of dates with already scheduled events. If I don't want one of those dates, there appears to be no way to get the date I want anymore. When the + (add event icon in upper right) is tapped, the app now displays whatever date it chooses but NOT the date I wanted to enter a new event in. I must then readjust the date wheel to the date I want before proceeding with the calendar entry.
    It seems the calendar can now only find/display days/dates that have entries/events already in place. This is completely bass-ackwards prioritization of entry process. When I call up a date in the calendar from the month display, it should give me that date, NOT some other date(s) that already have entries/events/appointments. I want the date I am requesting.
    What to do?

    Thanks!
    When I tried the "list" icon previously, nothing happened to change the screen. Now it works fine (Doh!).

  • Can't run itunes on Vista - Data Execution Prevention issue

    Have installed iTunes on vista successfully. When I try to launch, was prompted to re-install iTunes again... digged a bit and came across this Data Execution Prevention issue...
    Any idea how to solve this issue?

    The following polydorus post is a good place to start with a DEP error:
    http://discussions.apple.com/thread.jspa?messageID=10345363&#10345363

  • How to get previous day data if i dont have current day data.

    Hello Gurus,
    I have a stock levels data in ODS. when there is no movements, we are not getting any stocks into ODS. So we have to get previous day data as it is for current day data into another ODS.
    Could you please help me in this regard.
    Thanks in advance,
    Rama

    Rama -    
            0CALDAY can't help us in this scenario .
    Step 1 :
        To do this - You have to add one ZDATE (InfoObject ) to 1st ODS. ZDATE is updated by itself from current date of system  when ever you are loading data to 1st ODS.
    Step 2:
       You have to do full update to 2nd ods.At the selection screen of InfoPackage  (from 1st ODS to 2nd ODS ) you have to write following code for ZDATE.
    pseudo Code:
    1) Select fields "Rec_INSERT","Time stamp","Request Status" and "Request ID"  where ICUBE = ODS1 from table "RSMONICDP"
    2) Populate above selected fields data in INTERNAL TABLE
    3) Sort INTERNAL TABLE by Time stamp .
    4)
         If (Record Count = ' 0 ' for current date in internal table )
         update records from  ODS1 to ODS2 where ZDATE = "yesterday date"
         else
         update records from ODS1 to ODS2 where ZDATE= "today date"
         endif.
    Make sure this is full update not delta update from ODS1 to ODS2
    I am sorry, I m not good in Coding but I am sure if  u use this logic,You can meet your requirement.
    I hope you can understand my logic. Let me know if you have any questions,
    Anesh B .

  • Day by Day Data exluding week ends and holidays.

    Hi,
    Can any give me solution for below requirement...
                                    13/06/2007 14/06/2007 15/06/2006 18/06/2007 .. till 20 days
    of Lines Processed   15               18               13            19           .........    
    of Units Processed   17               14               10            11           .........    
    of Lines P Received  16               19               20            16           .........    
    of Units P Received  19               22               40            17           .........    
    here the user will give the input of first value(13/06/2007), now we have to display 19 days after user input(13/06/2007) value and we need to skip the holidays and week ends in the report.
    In the above report 16/06/2006 & 17/06/2006 are week ends thats why those 2 days data is not there.
    Please suggest me how can we do it this requirement.
    Thanks & Regards
    Venkat

    before you get a dozen of answers using artifice like all_objects or connect by, I post you this one
    create table date_table(d date primary key);
    exec for d in 0..10000 loop insert into date_table values(date '1980-01-01'+d);end loop;commit
    select d,count(hiredate) from date_table left join emp on (d=hiredate) where d between date '1980-12-01' and date '1980-12-31' group by d order by d;
    D         COUNT(HIREDATE)
    01-DEC-80               0
    02-DEC-80               0
    03-DEC-80               0
    04-DEC-80               0
    05-DEC-80               0
    06-DEC-80               0
    07-DEC-80               0
    08-DEC-80               0
    09-DEC-80               0
    10-DEC-80               0
    11-DEC-80               0
    12-DEC-80               0
    13-DEC-80               0
    14-DEC-80               0
    15-DEC-80               0
    16-DEC-80               0
    17-DEC-80               1
    18-DEC-80               0
    19-DEC-80               0
    20-DEC-80               0
    21-DEC-80               0
    22-DEC-80               0
    23-DEC-80               0
    24-DEC-80               0
    25-DEC-80               0
    26-DEC-80               0
    27-DEC-80               0
    28-DEC-80               0
    29-DEC-80               0
    30-DEC-80               0
    31-DEC-80               0
    31 rows selected.Message was edited by:
    Laurent Schneider
    primary key added for integrity and performance

  • How to get Privious Day data in OBIEE

    Hi experts i need to get preivious day data(Rating Given by Bank to a customer). Because this data (rating) is not an measure so i can't use AGO function.
    So please suggest me how can i Get this without using AGO function.
    Thanks in Advance
    Regards
    Frnds

    Hi..
    yes, need to do as naresh said..
    but in filter you need to assing this..
    Apply filter on your date column
    and click on convert this filter to SQL option..
    here you need to assign the code given by naresh..
    like..
    your datecolumn =*timestampadd(sql_tsi_day,-1,daycolumn)*
    likewise, you get.. but this gives you only previous day data as you asked..
    Thanks & Regards
    Kishore Guggilla

  • Dynamic SQL from within DML - merging syntax issue #2

    Further to my previous thread on a SQL - DML merging syntax issue, I have another problem with multiple conditions in the WHERE-clause:
    vrb _retval decimal
    vrb _val1 text
    vrb _val2 text
    _val1 = 'value1'
    _val2 = 'value2'
    SQL SELECT DIM1_ATTR1 FROM MYSCHEMA.DIM1_DIM WHERE COL1 = :_val1, AND COL2 = :_val2, INTO :_retval
    The above SQL will return NA. If I use the text literals instead of the OLAP variables, the query just runs fine. Also, with a single condition (on COL1 only) the query returns the expected value.
    A note in the help states that OLAP DML objects should clearly be sperated from the rest of the SQL but does not say how. I am using a colon before and a comma after as without them the line would not compile. I could not find any example that would use multiple conditions in the WHERE-clause however the help text indicates that it is possible.
    Please help me, how.
    Regards,
    Csaba
    Windows, Oracle10gRel2 Ver. 10.2.0.1.0 eversion: 84090

    It does work, although I applied the finishing touch by removing the commas as well!
    Thanks a lot! Good job!
    Could you please have a look at issue #1 too? :-)
    Regards,
    Csaba

  • How can I get max, min & average (hours with minutes) of fast 30 days data

    Table name:
    run_log
    TYPE VARCHAR2(10),
    SUBTYPE VARCHAR2(10),
    PROGRAM VARCHAR2(100),
    STATUS VARCHAR2(20),
    START_TIME      DATE,
    END_TIME      DATE
    How can I get max, min & average (hours with minutes) of fast 30 days data ?

    Hi,
    you have to use analytical functions:
    SELECT start_day,
           round(AVG(daily_avg)
                 over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_avg,
           round(MAX(daily_max)
                 over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_max,
           round(MIN(daily_min)
                 over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_min
      FROM (SELECT trunc(t.start_time) start_day,
                   AVG((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_avg,
                   MAX((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_max,
                   MIN((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_min
              FROM run_log
             GROUP BY trunc(t.start_time)) t
    ORDER BY 1 DESCAnalytical functions are described in the Oracle doc "Data Warehousing Guide".
    Regards,
    Carsten.

  • Partition contain latest 30 days data

    i have a table with range partition date colums.i want to a procedure that contain the latest 30 days data and previous partitions remove.how to solve this problem.
    thx

    i want to a procedure that contain the latest 30 days data and previous partitions removeCould you clarify ? Do you want code to keep 30 last days data and remove older ?
    Nicolas.

  • Please tell me the query,If i want to fetch before 5 days data into sqlite database in ios ?

    Please tell me the query,If i want to fetch before 5 days data from sqlite database in ios ?

    kumar190 wrote:
    Please Can you send me the link of Sq-lite(Making own Schema). Which will be help full for me...
    Here is the general concept for a database schema: http://en.wikipedia.org/wiki/Database_schema
    This is how you would create a table in SQLite: https://sqlite.org/lang_createtable.html

  • How to add data in related issue field in issue tracking list sharepoint 2013

    Hi,
    I'm using out of box Issue Tracking List. In Related Issue I want to add some data like :- Business, Technical, HR, Contractor etc in right side so user can select one of them add it. Not sure how to add these data in Related Issue column. Please advice.

    Related Issues is a lookup column to the same list which is Issue Tracking List. so you can add new items where title is Business, Technical, HR, Contractor etc then you will get those under related issues.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Documaker 12.1 XPath Syntax Issue

    We are moving to Documaker Studio 12.1 from Docucreate 11.0. So, I am importing few forms into 12.1 and doing test runs. I ran into a XPath syntax issue. We use XPath manual triggers to trigger forms and sections.
    In 11.0, the following trigger (use as Search Mask (True/False) in Manual Triggers) works perfectly fine. But it doesn't work in 12.1
    *!/Acord/Bills/Form/[FormNumber='U61']FormNumber*
    In 12.1, I have to remove the "/" present before "[" to make it work - as shown below.
    *!/Acord/Bills/Form[FormNumber='U61']FormNumber*
    Is there a way we can make the old syntax work with 12.1 as well? It would save us from changing thousands of Form and Section Triggers?
    Thank you,
    SGov.

    I suspect the short answer is No. The initial xPath syntax appears invalid as you would not define a slash between the node and the attribute that belongs to the node. The fact that it somehow succeeded was an anomaly that must have been corrected.

  • Next month 7th day data

    01-jan-09 5
    02-jan-09 3
    03-jan-09 2
    01-feb-09 1
    02-feb-09 1
    03-feb-09 1
    04-feb-09 1
    05-feb-09 1
    06-feb-09 1
    07-feb-09 1
    select sum(featured_moveouts) OVER (PARTITION BY propertynumber ORDER BY relavantdate
    RANGE BETWEEN ADD_MONTHS (TRUNC ( relavantdate, 'MM'), 1)-relavantdate FOLLOWING
    AND ADD_MONTHS (TRUNC ( relavantdate, 'MM'), 1) + 6-relavantdate FOLLOWING) "FW1_NEXT_MONTH_OUTS"
    from fact_occupancy
    if i give the above query i will get the sum of next months first week data if i give any date in jan
    for example: if i give 09-jan-09 i will get the sum of next months first week data.. i,e 7
    ...i dont want that i need next months 7th(07-feb-09) day data if i give any date in jan
    Edited by: sai praneeth on Mar 14, 2009 12:56 AM

    I'm sorry but I don't understand... could you post the tables (CREATE TABLE statements) and some sample data (INSERT statements). And the expected outcome, the results.

Maybe you are looking for