FM 'Fti_Fiscal_year_Month_Get' - month range low - high not working

Hi Experts,
My req. is : If I enter: '01' to '12' in month range and '2008' in year ( I have taken out extention and intervals in year). Its should go and read records from '04' (april) '2007' to '03' (march) '2008'
For this I have used the FM 'Fti_Fiscal_year_Month_Get' but after the parameters I am facing
a problem, like
If I give the month range as '04' to '12'  and year '2008' 
it is reading '01' (april in dbat) to '09' (dec in dbtab)
and i am getting the correct o/p.
And if I give '01' to '12' and year '2008' its not fetching
as '01 ' 2008  means '04' 2007 April in dbat.
I tried hard coding and faced similar prob.
Please advice
Karthik

Hi I am concatenating year , moth, '01' to date and later passing to the FM.
Do u have any idea? else please advice me how to hard code it correctly ..
Please advice
Edited by: Karthik R on May 28, 2009 7:53 PM

Similar Messages

  • My ipod classic got wet back in August.. it seemed to work fine for about a month, but recently is not working at all..screen appeared to get cloudy and then it just stopped working. thanks.

    my ipod classic got wet back in August.. it seemed to work fine for about a month, but recently is not working at all..screen appeared to get cloudy and then it just stopped working. thanks.

    Most likely, water damage.
    You can try putting your iPod in a tupperware, half filled (maybe half inch) with rice grains, close the cover for about a week.
    If you have done this, as soon as it got wet, higher chances of success, now looks like the water moisture is getting to the LCD screen.
    Then you can always bring it to Apple Genius bar, for a an overhaul. (may cost you half the price of a new iPod classic.)

  • Bonus afl live 12 month offer to me not working

    I have bee advised by the Telstra complaints team yo get in touch with you as my afl live bonus 12 month subscription is not working. It says no subs linked yo my afl account. Please can you help.
    Regards Tim Jackson

    Hi Tim7, 
    These codes should have been included with your welcome pack. 
    Have you reviewed this to see if the instructions are there? 
     

  • Just installed new Time Capsule now my airport express range extender will not work any suggestions

    Just replaced my Time capsule that died with a new one now my airport express range extender won't work.  Any sugesstions?

    Thank you William, I reconfigured the Airport Express and it works perfectly.  Sorry I did not get back to you sooner but I came down with a bad cold.
    Thank You, and Merry Christmas and a Happy New Year.
    raiderron

  • Monthly call subscription is not working!

    i really think skype monthly subscription offensive text removed does not provide the service that i paid for!
    i have subscribed the monthly calling plan. 
    however, recently, wheever  i try to make a call from skype mobile  app  or making skype phone call outside the skype app, it does not work at all. 
    the call ring a few times then jump to no answer. however,  my friend told that he have not receive any calls or have any missed calls during the time i made the call. 
    it makes i paid the subscription fee but cannot get the service being offered. my money is just wasted at all. 
    offensive text removed without any solution, offensive text removed i cannot find any technical.or customer support to submit my complain !
    i really want to ask how can i get back the money if i cannot get the service i asked. or how can i solve the problem in order to make the calls for what i paid for.
    im using LG G2.

    wonghy wrote:
    it makes i paid the subscription fee but cannot get the service being offered. my money is just wasted at all. 
    Hello
    We've had to edit your post to bring it into line with the  Community Guidelines Please ensure that any future posts follow these and in particular this extract:
    "You are expected to maintain a helpful, respectful tone when posting. Opinions are welcome, but they may not escalate into flaming and rudeness against Skype, its staff, other forum members or any other party."  
    The fault you are experiencing is a problem with the Turkish telco who are terminating your calls - not Skype. We have asked them to rectify their fault as quickly as possible.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Hello guys i m getting problem in date picker css in new version(21.0) firefox month & year drop down not working but its working when I close the dialog box

    when I m opning datepicker (by jquery 1.7.3 min.js) it will work on normal UI but it's dropdown not working in dialog UI after I closed the dialog the datepicker dropdown works
    and also it works in older version of firefox like 15.0

    Start Firefox in Safe Mode 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).
    <b> To Enable SafeMode </b>
    *You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    *''Once you get the pop-up, just select "'Start in Safe Mode"''
    If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")
    * https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Left speaker loud...right speaker very low or not working?

    I noticed this because when I hold the iphone I always cover the left speaker and can barely hear whatever is playing be it a song or phone call. I was wondering if this is something I should go into get repaired or if everyone is experiencing this with the iphone?
    I cover the left speaker and barely hear anything at all. I cover the right speaker and the left speaker is fairly loud. I'm thinking my right speaker is just not working...too bad I thought I was in the clear sigh everything else is working fine.

    Simply because the right grill is a mic, and the left one a speaker, doesn't make the mic grill soundproof to what's audible from the speaker. If sound leaks out of the right grill then that might simply be audio leaking from the playback of the speaker.
    But to say it's not true? It says so clearly in the Apple User's Guide, in the keynote Steve himself made to introduce it, and the support videos all over the Apple website.
    Call Apple and look into the issue.

  • Linksys e1200 PORT RANGE FORWARDING is not working

    I currently have an E1200. I can port forward single ports, but when I attempt to forward a range of ports it doesn't work and there is no error in the log.
    Specifically I am port forwarding RTP ports (10000 - 20000). I am aware of the security risks, please do not preach.

    I have a problem with port forwarding http port 80 this for i surveillance camera.
    I have all the settings are correct but I can not convert. Opening this port Also no other ports open. Who can help me on the way to this is to get together. I mtu gezte the firewall function in 1400 and put on the standard port 80 http to put. and of course the ip address that is in the same range.
    I do not know what I'm doing wrong because the old linksys just worked. It I hope someone can help me.

  • Range Filter Mode not working and throws error in Power View (SharePoint 2013)

    Hi,
    I am using two filters in my power view report.
    One for the contact type group and one for year.
    First I select multiple contact type group for the first filter and everything works fine.
    Then I try to select the year using the range filter and I get this error:
    System.ArgumentException: The name 'Year' was specified twice, at index 0 and index 1. Duplicate names are not allowed.
    Parameter name: keys[1]
       at Microsoft.Data.Common.CommandTrees.ExpressionBuilder.Internal.EnumerableValidator`3.Validate(IEnumerable`1 argument, String argumentName, Int32 expectedElementCount, Boolean allowEmpty, Func`3 map, Func`2 collect, Func`3 deriveName)
       at Microsoft.Data.Common.CommandTrees.ExpressionBuilder.Internal.EnumerableValidator`3.Validate()
       at Microsoft.Data.Common.CommandTrees.ExpressionBuilder.Internal.ArgumentValidation.ValidateGroupBy(DbGroupExpressionBinding input, IEnumerable`1 keys, IEnumerable`1 aggregates, DbExpressionList& validKeys, ReadOnlyCollection`1& validAggregates)
       at Microsoft.Reporting.QueryDesign.ExpressionTrees.ExpressionBuilder.Internal.QueryExpressionBuilder.GroupBy(QueryGroupExpressionBinding input, IEnumerable`1 groupItems, IEnumerable`1 aggregates)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.QdmExpressionBuilder.QdmGroupBy(IEnumerable`1 expressions)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.QdmExpressionBuilder.QdmFilter(IGrouping`2 predicates)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
       at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.QdmExpressionBuilder.QdmFilters(IEnumerable`1 filterConditions)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.FilterQueryFactory.AddRowCount(QueryBuilder queryBuilder, Group group, EntitySet entity, IEnumerable`1 rowCountFilterContext)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.FilterQueryFactory.CreateValueWithCountQuery(QueryBuilder queryBuilder, List`1 columns, IEdmFieldInstance fieldInstance, FilterCondition availableValueFilter, FilterCondition activeValueRetentionFilter,
    GroupReference& groupRef)
       at Microsoft.Reporting.QueryDesign.QueryDefinitionModel.Internal.FilterQueryFactory.CreateValueListQuery(EntityDataModel model, IEdmFieldInstance fieldInstance, Int32 topCount, FilterCondition availableValueFilter, FilterCondition activeValueRetentionFilter,
    IEnumerable`1 exclusionPathSegments, ValueListQuerySchema& schema)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FilterValueQueryFactory.CreateFilterValuesQuery[TFilterMode](TFilterMode filterMode, Int32 maxRowCount, FormulaFilterCondition availableValueFilter, FormulaFilterCondition
    activeValueRetentionFilter, ValueListQuerySchema& schema)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.ListFilterMode.ListDataLoader.<LoadDataImpl>d__15.MoveNext()
       at Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.MoveNextChecked()
       at Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.ResumeIterator(Boolean synchronous)
       at Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.BeginExecuteCore(IEnumerator`1 asyncMethod)
       at Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorImpl.BeginExecute(Func`2 asyncMethod)
       at Microsoft.Reporting.AsyncEnumerator.BeginExecute(Func`2 asyncMethod, AsyncCallback userCallback, Object userState, AsyncEnumeratorSettings settings)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FilterMode.DataLoader`1.BeginLoadData(AsyncCallback userCallback, Object userState)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FilterMode.DataLoader`1.LoadDataAsync()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FieldFilter.LoadDataAsyncCore()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FilterManager.OnEditCompleted()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.PageFilterManager.OnEditCompleted()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.FilterManager.OnEditCompleted(EventArgs args)
       at Microsoft.Practices.Prism.Events.EventSubscription`1.InvokeAction(Action`1 action, TPayload argument)
       at Microsoft.Practices.Prism.Events.EventSubscription`1.<>c__DisplayClass2.<GetExecutionStrategy>b__0(Object[] arguments)
       at Microsoft.Practices.Prism.Events.EventBase.InternalPublish(Object[] arguments)
       at Microsoft.Practices.Prism.Events.CompositePresentationEvent`1.Publish(TPayload payload)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Internal.TransactionManager.EditEventAggregator.Exit()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Internal.TransactionManager.EditEventAggregator.SelectionManager_SelectionResumed(Object sender, EventArgs e)
       at Microsoft.Reporting.Util.RaiseEvent(EventHandler eventHandler, Object sender, EventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.Shell.Regions.Canvas.Internal.SelectionManager.ResumeSelectionChanges()
       at Microsoft.Reporting.AdHoc.Shell.Regions.Canvas.Internal.SelectionManager.<.ctor>b__3(Object s, EventArgs e)
       at Microsoft.Reporting.Util.RaiseEvent(EventHandler eventHandler, Object sender, EventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.DataManagement.Internal.DataManager.set_HandleRdmChanges(Boolean value)
       at Microsoft.Reporting.AdHoc.DataManagement.Internal.DataManager.UndoManager_SuspendRdmHandlingChanged(Object sender, StateChangedEventArgs`1 args)
       at Microsoft.Reporting.Util.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object sender, TEventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoManager.<.ctor>b__0(Object sender, StateChangedEventArgs`1 args)
       at Microsoft.Reporting.Util.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object sender, TEventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoManagerApiProperties.set_SuspendDataManagerRdmHandling(Boolean value)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoManagerHasOpenUndoGroupStateImpl.OnUndoGroupCommitting(UndoGroup undoGroup)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoManagerHasOpenUndoGroupStateImpl.HandleUndoGroupStateChanged(Object sender, EventArgs args)
       at Microsoft.Reporting.Util.RaiseEvent(EventHandler eventHandler, Object sender, EventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoGroup.HandleStateEnteredEvent(Object sender, EventArgs args)
       at Microsoft.Reporting.Util.RaiseEvent(EventHandler eventHandler, Object sender, EventArgs eventArgs)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoGroupCommittingStateImpl.EnterState()
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoGroup.SetState(UndoGroupStateImpl nextState)
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoGroupOpenStateImpl.Commit()
       at Microsoft.Reporting.AdHoc.Shell.Services.UndoManagement.Internal.UndoGroup.Commit()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Internal.TransactionManager.CompleteTransaction(Transaction transaction, Boolean completedSuccessfully)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Internal.TransactionManager.Transaction.Dispose()
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Internal.TransactionalObject.ExecuteInTransaction(Action action)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.ValueAndOperatorConditionFilterMode.CreateRangeFilterCore(IList`1 rangeConditions)
       at Microsoft.Reporting.AdHoc.DataStructureManagement.Filtering.Internal.NumericRangeFilterMode`1.CreateRangeFilter(FilterValueAndOperator[] rangeConditions)
       at Microsoft.Reporting.AdHoc.Shell.Regions.Canvas.Internal.RangeFilterViewModel`1.<get_UpdateRangeBoundsCommand>b__0(Nullable`1 adjType)
       at Microsoft.Practices.Prism.Commands.DelegateCommand`1.<>c__DisplayClass6.<.ctor>b__2(Object o)
       at Microsoft.Practices.Prism.Commands.DelegateCommandBase.Execute(Object parameter)
       at Microsoft.Practices.Prism.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter)
       at Microsoft.Reporting.Windows.Common.Internal.RangeSlider.FireCommand()
       at Microsoft.Reporting.Windows.Common.Internal.RangeSlider.Thumb_DragCompleted(Object sender, DragCompletedEventArgs e)
       at System.Windows.Controls.Primitives.Thumb.RaiseDragCompleted(Boolean canceled)
       at System.Windows.Controls.Primitives.Thumb.OnLostMouseCapture(MouseEventArgs e)
       at System.Windows.Controls.Control.OnLostMouseCapture(Control ctrl, EventArgs e)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
    If I select List Filter mode and try to achieve this it works fine no issue but when I use range filter this weird problem occurs. Can't I select multiple values using Range Filter Mode ? Isn't that's what it is intended to do ? Is it a known bug ? Any kind
    of prior experience or help would be much appreciated.
    Vivek Kamath

    This looks like it could be a bug. You could file an issue at
    http://connect.microsoft.com and include a repro. If this is blocking your business, you could also contact support services and if it is determined to be a defect in a Microsoft product, the support is free.
    Brad Syputa, Microsoft Power BI This posting is provided "AS IS" with no warranties.

  • Monthly and Yearly backups not working for Protection Group?

    Hi
    We have a Protection Group with 160 members currently attached to it. The group has the following customized Recovery Points:-
    - 1 recovery point every 1 day for the last 2 weeks, 1 recovery point every 1 month for the last 60 months and 1 recovery point every year for the last 5 years.
    The schedule is as follows:-
    - Every Day at 01:00, Every Month on First Day at 01:00 and Every 12 Months on 01 January at 01:00.
    The daily tape backups are working fine without issue but neither the Monthly or Yearly backups are being attempted. We have checked the monthly backups for this issue for the last few months and are unable to see any evidence of the Monthly schedule even
    running? This means that we are having to manually label the Daily tapes once a month as Monthly tapes but they will then stay on the Reports for the next 5 years as DPM will constantly request these tapes back.
    Are you able to help with this matter?
    Not that we really want to do this but if we removed the group completely and re-create it would this cause problems with our restore points?

    Hi,
    This is a known issue that can occur in all current versions of
    DPM including DPM 2012, to correct the condition, you simply need to perform this step. Any time before the next scheduled (monthly or longer) backup, manually update
    the long term backup schedule by hitting the MODIFY button.  The code that runs when modifying the backup schedule redoes the bacup schedules and it fixes the scheduling issue. 
    Below is a DPM Power-shell script that will show you the scheduled backups for all recovery goals for all protection groups.  You can see the last time each recovery goal ran, and the NEXT run time, so you can monitor
    the goals and re-fix them if necessary.
    NOTE: It takes about 20-30 minutes before the fixed next run time schedule will be populated after modify the protection group and updating the schedule.
    # This script will list all currently scheduled backup to tape jobs #
    # It will list scheduled, last run and next run dates #
    # Note: The script takes in consideration that the DPM Database was installed locally on its #
    # Default instance. If SQL is installed on a different location/instance, edit the line #
    # that starts with $instance = '.\msdpm2010 #
    # Author : Wilson Souza #
    # Date Created : 1/13/2012 #
    # Last modified : 1/17/2012 #
    # Version : 1.0 #
    # This version of the script was only tested on DPM 2010 #
    param([string] $verbose)
    add-pssnapin sqlservercmdletsnapin100
    Add-PSSnapin -Name Microsoft.DataProtectionManager.PowerShell
    $ConfirmPreference = 'None'
    cls
    $instance = '.\msdpm2010' # <---- If DPM Database is on a different location, edit this line accordinly
    $query = "use DPMDB
    go
    CREATE FUNCTION label (@GUID varchar(36), @kindred varchar(4), @vault varchar(8))
    returns varchar (1024)
    as
    Begin
    declare @result varchar (1024)
    select @result = vaUltlabel from tbl_mm_vaultlabel where mediapoolid = @GUID and generation =
    case @kindred
    when 'Fath' Then '2'
    when 'Gran' then '1'
    when 'grea' Then '0'
    end and
    vault =
    case @vault
    when 'Offsite1' then '3'
    when 'Offsite2' then '4'
    when 'Offsite3' then '5'
    when 'Offsite4' then '6'
    when 'Offsite5' then '7'
    when 'Offsite6' then '8'
    when 'Offsite7' then '9'
    else
    '1'
    end
    RETURN @result
    END
    go
    use DPMDB
    select ScheduleId as name
    ,def.JobDefinitionId as JD
    ,FriendlyName as PG
    ,SUBSTRING (CONVERT(VARCHAR(10),active_start_date),5,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),active_start_date),7,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),active_start_date),1,4) as SD
    ,jobs.date_created as SCD
    ,SUBSTRING (CONVERT(VARCHAR(10),last_run_date),5,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),last_run_date),7,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),last_run_date),1,4) + ' ' +
    SUBSTRING (CONVERT(VARCHAR(6),last_run_time),1,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),last_run_time),3,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),last_run_time),5,2) as LRD
    ,SUBSTRING (CONVERT(VARCHAR(10),next_run_date),5,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),next_run_date),7,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),next_run_date),1,4) + ' ' +
    SUBSTRING (CONVERT(VARCHAR(6),next_run_time),1,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),next_run_time),3,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),next_run_time),5,2) as NRD
    ,dbo.label ((substring(xml,(patindex('%MediaPoolId%',Xml))+13,36)), (substring(xml,(patindex('%generation%',Xml))+12,4)), (substring(xml,(patindex('%vault%',Xml))+7,8))) as TL
    ,case
    when substring(xml,(patindex('%vault%',Xml))+7,3) = 'off' then 'Long-Term'
    else 'Short-term'
    end as STLT
    ,case
    when substring(xml,(patindex('%generation%',Xml))+12,4) = 'Fath' then 'Recovery Goal 1'
    when substring(xml,(patindex('%generation%',Xml))+12,4) = 'Gran' then 'Recovery Goal 2'
    when substring(xml,(patindex('%generation%',Xml))+12,4) = 'Grea' then 'Recovery Goal 3'
    end as RG
    from tbl_SCH_ScheduleDefinition sch
    ,msdb.dbo.sysjobs jobs
    ,tbl_JM_JobDefinition def
    ,DPMDB.dbo.tbl_IM_ProtectedGroup prot
    ,msdb.dbo.sysjobschedules jobsch
    ,msdb.dbo.sysjobsteps jobsteps
    ,msdb.dbo.sysschedules syssch
    where CAST(sch.ScheduleId as NCHAR (128)) = jobs.name
    and def.JobDefinitionId = sch.JobDefinitionId
    and def.ProtectedGroupId = prot.ProtectedGroupId
    and jobs.job_id = jobsch.job_id
    and jobs.job_id = jobsteps.job_id
    and jobsch.schedule_id = syssch.schedule_id
    and (def.Type = '913afd2d-ed74-47bd-b7ea-d42055e5c2f1' or def.Type = 'B5A3D25C-8EB2-4032-9428-C852DA5CE2C5')
    and sch.IsDeleted = '0' and def.ProtectedGroupId is not null
    order by FriendlyName, next_run_date, next_run_time
    go
    drop function label
    go"
    $result = Invoke-Sqlcmd -ServerInstance $instance -Query $query
    $count = 1
    write-host " The list below shows all scheduled backup to tape jobs (short term and long term)" -f green
    write-host
    if ($verbose.ToLower() -eq '')
    write-host " For optimun output, set PoweShell Width for screen buffer size to at least 200" -f yellow; write-host
    write-host
    write-host " Protection Group name Creation Date [Schedule Creation Date] [Last Run Date / time] [Next Sched Run Date/time] Goal type Recovery Goal # Custom Tape Label"
    write-host " ------------------------------ ------------- ------------------------ ---------------------- -------------------------- ---------- --------------- -----------------"
    foreach ($result1 in $result)
    if ($color -eq 'white') {$color = 'cyan'} else {$color = 'white'}
    write-host ("{0,2}"-f $count) -foreground green -nonewline
    write-host ( " - {0,-30} {1,-13} {2,-24} {3,-24} {4,-27} {5,-10} {6,15} " -f $result1.PG, $result1.SD, $result1.SCD, $result1.LRD, $result1.NRD, $result1.STLT, $result1.RG) -nonewline -f $color
    write-host $result1.TL -f yellow
    $count++
    else
    write-host " For optimun output, set PoweShell Width for screen buffer size to at least 110" -f yellow; write-host
    write-host " Protection Group Term Goal Tape Label"
    write-host " ------------------------------ ---------- --------------- --------------"
    foreach ($result1 in $result)
    if ($color -eq 'white') {$color = 'cyan'} else {$color = 'white'}
    write-host ("{0,2}"-f $count) -foreground green -nonewline
    write-host ( " - {0,-30} {1,-10} {2,15} " -f $result1.PG, $result1.STLT, $result1.RG) -nonewline -f $color
    write-host $result1.TL -f yellow
    $count++
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.
    I cant seem to get this script to run.. can someone point out what might be missing..
    I've tried creating a shortcut like the following as well:
    Target: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -File "C:\Program Files\Microsoft
    DPM\DPM\bin\dpmcliinitscript.ps1" "C:\Data\scripts\scheduledjobs.ps1"
    Start in: "C:\Program Files\Microsoft DPM\DPM\bin\"
    If i run as admin in just takes you to a command line prompt in PS..
    Any thoughts on what is missing here.. i've modified the ps1 to reflect 2012 in my case.. 2012 R2
    DPM
    Tech, the Universe, Everything: http://tech-stew.com
    Ok, the 1.6 script works.. but only if i run it from the ps1 script file.. by right clicking it and doing the Run with Powershell option (non admin).. my shortcut doesnt work.. same issue.. it just goes to a power shell prompt.  The right click and
    run is non admin mode as well.
    When I run it with the right click it shows no jobs scheduled.. If i look in dpm 2012 r2 i see a yearly tape backup scheduled for today.. the script doesnt show me a way to also get the monthly to appear (i've set the monthly for a day later but it doesnt
    appear in the scheduled tasks for next 7 days).. i was under the impression this script would help force the monthly to appear/run.. but even the yearly that does show in DPM scheduled tasks isnt showing up with the script (maybe admin issue?)
    Tech, the Universe, Everything: http://tech-stew.com

  • Range partitioning does not work the way I thought it would

    I have a table that is range partitioned by number.
    The number represents a date field of the form: YYYYMMDDHH24
    However, there are extra values on the end of the field that represent an exact datestamp so a record looks like
    20071102100000001
    What I found in my tests is that if I have a partition based on range based on the following:
    values less than (2007110210)
    Any records inserted with a length greater than what is above automatically go to the future partition. It does not make sense that I would have to add another column and then do a substr on this field for just the first 10 characters to get them to go to the correct partition.
    ???? I am at a bit of a loss.

    Hi
    If you a column storing a timestamp you should use the timestamp or date datatype, not something else!!! Not only it makes not sense but you will have a lot of problems with that. To name only two: not consistent data and misleading the query optimizer.
    As you defined, since 20071102100000001 is greater than 2007110210 (i.e. not less then), I don't see why do you expect something else.
    HTH
    Chris

  • One month unlimited world-wide not working

    I have taken advantage of the Skype offer for one month's free world-wide use that was offred as part of the thw Windows 8 upgrade.
    I tried to ring a Switzerland mobile number but it rejecetd it based upon my current balance (Non one month free).
    I looked at the premium subscription fine print and it said that mobile access may be available with this but  would be informed at the point of subscribing. I did not get any such information.
    Should I be able to ring a mobile in Switzerland on this?
    Cheers

    Hi,
    No unfortunately you can't.
    Subscription covers calls to:
    Argentina
    Australia
    Austria
    Belgium
    Canada - (incl. mobiles)
    Chile
    Croatia
    Czech Republic
    Denmark
    Estonia
    Finland
    France
    Germany
    Greece
    Guam
    Hong Kong SAR - (incl. mobiles)
    Hungary
    Ireland, Republic of
    Israel
    Italy
    Japan
    Korea
    Luxembourg
    Malaysia
    Netherlands
    New Zealand
    Norway
    Poland
    Portugal
    Puerto Rico
    Russia - St Petersburg
    Russia - Moscow
    Singapore - (incl. mobiles)
    Slovakia
    Spain
    Sweden
    Switzerland
    Taiwan
    Thailand - (incl. mobiles)
    United Kingdom
    United States - (incl. mobiles)
    Venezuela
    If my answer helped to fix your issue, mark it as a Solution to help others.
    Thank You!
    Please send private messages only upon request.

  • Function keys F11 and higher not working as expected

    Since I installed Leopard, my F11 through F15 keys act strange, the rest works OK. I use an external MS Comfort Curve keyboard with v6.2.1 (latest) of the Intellitype keyboard driver. I have switched off all keyboard shortcuts for function keys. I have set the System Preference to use the function keys as regular Function keys. Now the F11 is dead, the F12 is the eject, F13 through F15 are dead too. Switching the preference on or off only affects the F1 through F10 keys. There's no change for the F11 through F15 keys.
    When I switch to Parallels 3 with Windows XP, the F11-key acts the same as the PrtScn (which is F13) key, the F12 key does nothing, F14 (ScrLk) and F15 (Pause/Break) are dead.
    This IS annoying since I work on AS400 machines where you really need F11 and F12 + F23 (shift-F11) and F24 (shift-F12). Under Tiger, I did not have this problem - all settings worked as expected.

    Software updates of all concerned programs ans OS's have resolved the issue.

  • Monthly Budget data transfer not working

    I am creating a personal budget using Numbers' "Monthly Budget" template, and the categories I'm entering on the Budget page are not transferring to the dropbox on the Transactions page.  I have tried shutting down and restarting the application, but I still can't select the appropriate categories for my Transactions because they aren't transferring over form where I've entered them on the Budget table.  What should I do?

    the categories I'm entering on the Budget page are not transferring to the dropbox on the Transactions page.
    The categories won't "transfer" automatically.  You need to go to the Category column in the table on the Transactions sheet, select the cells in the body of that column, choose Format > Cell and add the new category names you are using by clicking the + button:
    The spelling there has to be exactly the same as the spelling you use for that category in the table on the Budget sheet.
    SG

  • 3 month USA Subscription Plan Not Working - I can'...

    Hello,
    I recently purchased an online number and a 3 month USA subscription, however whenever I try to make an outgoing call (to a mobile number and or landline) from my laptop or my Android phone it says I do not have any skype credit.  I don't understand why I am getting this error message since I purchased a 3 month subscription plan.  Please assist.
    Thanks,
    Lena

    Hi Lena,
    I can see you have purchased an Online Number, not a subscription. Online Number allows you to receive calls from mobiles and landlines on your Skype account.
    You can start a subscription purchase from the following page:
    http://www.skype.com/intl/en-us/prices/pay-monthly​/#US

Maybe you are looking for