OWB 9.2. OMBPlus: How to filter in a OMBLIST

I wish to retrieve information on PLSQL Mappings in a given Oracle module and write in a file. I issue the following command:
set fname [ open "c:/temp/analyzemaps.txt" w ]
puts $fname " --------------------------------------------------\r"
set mapList [ OMBLIST MAPPINGS ]
foreach mapName $mapList {
set ats [ OMBRETRIEVE MAPPING '$mapName' GET PROPERTIES(ANALYZE_TABLE_STATEMENTS) ]
puts $fname " $ats on mapping $mapName\r"
close $fname
When the OMBLIST hits a Sql Loader mapping, if fails and the program stops, because the property ANALYZE_TABLE_STATEMENTS does not exist in a SQL Loader mapping. The module (a typical staging module) contains both PLsql and SqlLoader mappings.
How do I write a filter, so the retrieve is only applied to PLSQL mappings?
Or
How do I ignore errors, so that the programs continues?
best regards
Henrik Verup

Use STEP_TYPE as mapping property. This should do the trick.
set fname [ open "c:/temp/analyzemaps.txt" w ]
puts $fname " --------------------------------------------------\r"
set maplist_all [OMBLIST MAPPINGS]
foreach mapName $maplist_all {
set step_type [ OMBRETRIEVE MAPPING '$mapName' GET PROPERTIES (STEP_TYPE) ]
if { "$step_type" == "PLSQL" } {
   set ats [ OMBRETRIEVE MAPPING '$mapName' GET PROPERTIES (ANALYZE_TABLE_STATEMENTS) ]
   puts $fname " $ats on mapping $mapName\r"
}Regards,
Ilona

Similar Messages

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • R12: How to filter Open Item Revaluation Report based on GL Date

    Hi,
    Anybody know how to filter Open Item Revaluation Report based on GL Date from and GL Date to in R12?
    Since we just upgraded from 11.5.10 to 12.1.3 and found we cannot filter those report for specific date. It shown all data included the old data from 8 years ago also.
    We need to run the report only for specific date only. Please share with me if anyone know about this.
    Thanks.

    Pl do not post duplicates - R12: How to filter Open Item Revaluation Report based on GL Date

  • R12: How to filter AP and PO Accrual Reconciliation Report based on GL Date

    Hi,
    Anybody know how to filter AP and PO Accrual Reconciliation Report based on GL Date from and GL Date to in R12?
    Since we just upgraded from 11.5.10 to 12.1.3 and found we cannot filter those report for specific date. It shown all data included the old data from 8 years ago also.
    We need to run the report only for specific date only. Please share with me if anyone know about this.
    Thanks.

    In 12 you can rebuild and run the report for a particular period, but not a single day if that's what's required

  • How to filter the Rest Api data based on Taxanomy columns

    Hi Everyone,
    We are using SharePoint2010 Standard Edition.
    I wanted get the library details through REST Api. I am using as below:
    https://SiteUrl/_vti_bin/listdata.svc/Documents?$filter=Title eq 'SharePointDoc'
    Here I am able to get the info regarding "SharePointDoc". But when I am trying to get the details from Taxonomy filter, it didn't.
    Can anyone please tell me how can we filter based on Taxanomy fields.
    Thanks in Advance
    Krishnasandeep

    Hi,
    I understand that you wanted to filter the Rest Api data based on Taxanomy columns.
    Per my knowledge, in SharePoint 2010 , not all types of column are available via REST, most annoyingly managed metadata columns are amongst this group of unsupported column types.
    However, in SharePoint 2013, we can filter list items based on taxonomy (managed metadata) columns.
    Taxonomy fields can be now called via REST API using CAML query in REST calls.
    Here is a great blog for your reference:
    http://www.cleverworkarounds.com/2013/09/23/how-to-filter-on-a-managed-metadata-column-via-rest-in-sharepoint-2013/comment-page-1/
    You’d better to change the REST calls and the CAML query to check whether it works in SharePoint 2010.
    More information:
    http://platinumdogs.me/2013/03/14/sharepoint-adventures-with-the-rest-api-part-1/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to filter the data in different sections (e.g. Report Footers)?

    Hi,
    I am using Crystal Reports 11 to generate cross-tables.
    I plan to generate 3 cross-tabs, and each cross-table will be put in a section. For example, cross-tab1 in Report Footer a; cross-tab2 in Report Footer b; cross-tab3 in Report Footer c.
    I know use "Select Expert" to filter data. But, it seems that "Select Expert" filters data for the whole report.
    I want to filter the data for each cross-table separately. For example, filter cross-tab1 based on condition1; filter cross-tab2 based on condition2; filter cross-tab3 based on condition3.
    How to filter the data in different sections (e.g. Report Footers)?
    Thank you in advance.

    Hi,
    Now that you've inserted the subreport just right-click the sub-report and click Edit. The Design page for sub-report should open up.
    You can now insert the cross-tab on the Report Header and insert a record selection formula of your choice.
    Also, suppress all the other sections of the subreport so the Main report only shows the crosstab without any spaces.
    Do the same for all the subreports.
    -Abhilash

  • How to filter emails using sender email adapter

    Hi,
    Does any one know how to filter emails of mail server using Sender email adapter(POP3 protocol ) in PI .
    To make it more clear let us assume that there are 10 emails in the email server then 3 emails should be fetched for Interface A , 3 emails Should be fetched for Interface B and remaining 4 emails should be ignored and left in the email server as it is ,  the reason for this is that it is not related with the Interface A or Interface B. Any suggestion or solution will be much appreciated.
    Thanks & Regards
    Prabhat

    Hi,
    I guess you didnt get my requirement clearly. My requirement is how to filter emails from email server using sender Email adapter in POP3 protocl and pass it to relevant Interface.
    For ex: suppose email no.1 is related to Interface A then it should go to Interface A
                   or         email no. 2 is related to Interface B then it should go to Interface B
                   or         if  email no. 3 is junk mail then it should avoid deleting that email and leave that email as it is
    The problem/challenge here is that email adapter of Interface A or B reads it first and deletes the email message so it is not available for the Interface A or B.
    So I just want that sender email adapter should filter it before deleting email from the email server.
    Can you provide some solution for this?
    Thanks & Regards
    Prabhat

  • How to filter datagridview from 3 textboxes?

    hey, would you help me 
    so, i have a form and connects to mdb database.
    this is my code
    Imports System.IO
    Imports System.Data.OleDb
    Public Class Form1
    Private DBPath As String
    Private conn As OleDbConnection
    Private adapter As OleDbDataAdapter
    Private dtMain As DataTable
    Public Sub New()
    InitializeComponent()
    End Sub
    Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
    DBPath = Application.StartupPath + "\db.mdb"
    If Not File.Exists(DBPath) Then
    Dim cat As New ADOX.Catalog()
    cat.Create(Convert.ToString("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=") & DBPath)
    cat = Nothing
    End If
    conn = New OleDbConnection(Convert.ToString("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=") & DBPath)
    conn.Open()
    Try
    Using cmd As New OleDbCommand("CREATE TABLE [Table_1] ([id] COUNTER PRIMARY KEY, [text_column] MEMO, [int_column] INT);", conn)
    cmd.ExecuteNonQuery()
    End Using
    Catch ex As Exception
    If ex IsNot Nothing Then
    ex = Nothing
    End If
    End Try
    Using dt As DataTable = conn.GetSchema("Tables")
    For i As Integer = 0 To dt.Rows.Count - 1
    If dt.Rows(i).ItemArray(dt.Columns.IndexOf("TABLE_TYPE")).ToString() = "TABLE" Then
    ComboBoxTables.Items.Add(dt.Rows(i).ItemArray(dt.Columns.IndexOf("TABLE_NAME")).ToString())
    End If
    Next
    End Using
    End Sub
    Private Sub button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
    If ComboBoxTables.SelectedItem Is Nothing Then
    Return
    End If
    adapter = New OleDbDataAdapter("SELECT * FROM [" + ComboBoxTables.SelectedItem.ToString() + "]", conn)
    Dim builder = New OleDbCommandBuilder(adapter)
    dtMain = New DataTable()
    adapter.Fill(dtMain)
    DataGridView1.DataSource = dtMain
    End Sub
    End Class
    and now i have 4 textbox and 4 column table of database.
    for example, this is my table :
    and if i type :
    textbox 1 : "1"
    textbox 2 : "2"
    textbox 3 : "1" then i press button2.
    the result is textbox4 display : "C"
    other example, if i type textbox1 : "3", textbox2 : "3", textbox3 : "2" then textbox4 diplay "J".
    of course, if i type textbox1 : "3", textbox2 : "3", textbox3 : "2" then i'll get msgbox "max for column 2 is 2" or 
    if i type textbox1 : "3", textbox2 : "4", textbox3 : "2" i'll get msgbox "max of column 1 is 3"
    well, now im stuck, how to filter this. 
    thanks before. sorry for bad english.

    Hello,
    The following uses Lamda and LINQ to query three text box controls where each one has a unique tag value, TextBox1.Tag = 1, TextBox2.Tag = 2, TextBox3.Tag =3. The Tag is used to dictate the order of the columns in the where condition.
    In values, a where condition is used to determine any TextBox controls with Text then in the select I create a condition suitable for use in the SQL SELECT. In the variable WhereClause the conditions are combined. There is one or more conditions they are
    appended to the SQL statement.
    Now if we have to deal with columns of type string we need to surround them in apostrophes which opens up a can or worms if a string contains apostrophes so food for thought.
    Code suitable for VS2012 or higher, for VS2010 line continuation is needed.
    ''' <summary>
    ''' Each TextBox (three of them) have their tag set to 1,2,3 for ordering columns
    ''' in the where clause.
    ''' The Where conditions are using "and", you can also do "or" instead
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) _
    Handles Button1.Click
    Dim SelectStatement As String = "SELECT * FROM SomeTable"
    Dim Values = Me.Controls.OfType(Of TextBox).Where(
    Function(tb) Not String.IsNullOrWhiteSpace(tb.Text)).Select(
    Function(tb)
    Return New Item With
    .Index = CInt(tb.Tag),
    .Value = tb.Tag.ToString & " = " & tb.Text
    End Function).ToList.OrderBy(Function(item) item.Index)
    Dim WhereClause = String.Join(" and ",
    (From T In Values Select T.Value).ToArray)
    If Not String.IsNullOrWhiteSpace(WhereClause) Then
    SelectStatement &= " WHERE " & WhereClause
    Else
    ' Nothing to append
    End If
    Console.WriteLine(SelectStatement)
    End Sub
    End Class
    ''' <summary>
    ''' Strong type data in the select part of the
    ''' lambda statement above
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Item
    Public Property Index As Integer
    Public Property Value As String
    Public Sub New()
    End Sub
    End Class
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • How to Filter Email or Direct Email to a Specific Folder

    Hi
    I've just bought a Blackberry Z10 but I cannot find how to filter my email. I was able to do this on my older Blackberry Edge.
    What I'm trying to do is filter emails by subject, sender, or other parameters. Alternatively, I would like to be able to direct email from specific senders into a seperate folder. As I said, I could do this on my BB Edge but I've searched the web to no avail.
    Any help would be much appreciated.
    Thanks George

    Hi George,
    Thanks for your question on email filtering.
    What type of email account are you using - ActiveSync, Gmail, Hotmail POP/IMAP etc?
    What type of email are you trying to filter - junk email or emails from a specific contact? 
    Thanks!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • SharePoint 2010 list view - How to filter on a multiline text box field - the view filter does not allow me to select it.

    Hi there,
    Does someone know in SharePoint 2010 list view - How to filter on a multiline text box field - the view filter does not allow me to select it.
    Thanks,

    Hi,
    Per my knowledge,
    it is by design that the data type multiple lines of text can only use “contains” and “begins with” operators.
    You can also filter the list view using SharePoint Designer,
    Open your list AllItem.aspx page in SPD ->click “Filter” > in “Field Name” select your multipe line of text field, in “Comparison” will displayed four choices.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to filter a metric in a form EPM Cloud?

    How to filter a metric in a form?
    I have a form that shows a dimension in the grid and one of the columns of that dimension have to filter the data.  For example: The dimensión Account with the member "Type".  This member is associated to a smarlist, I need to filter by a valor of this smarlist.
    Thanks.
    Elena

    Hello Suresh,
    I am not sure exactly what you are refering to, but in case :
    In Infoview of XI 3.x, you have to click on "Open->Dashboard and analytic" then "performance Manager->Metrics".
    I recommend you to read the well-done "training" PDF  "xi3-1_getting_started_performance_manager_en.pdf"
    The PDF should be on SAP site.
    Samuel.

  • How to filter Key Figures - not using the GUIDs

    An example How to filter Key Figures may look like this:
    http://XXX.com:8000/sap/bw/BEx?sap-language=DE&bsplanguage=DE&CMD=LDOC&TEMPLATE_ID=XXX&FILTER_IOBJNM=41F68RV4ZB5VYSARODYU70CAQ&FILTER_VALUE=41F68SAI18DB01DO023IR49QA
    The GUIDs consume the space in the URl. Is there a way to work with an alias.
    To use the technical name of a Key Figure defined in the Query does not work.

    Hi Cherie,
    This is exactly the type of problem that I'm currently trying to figure out. I'm trying to following your solution but I'm not clear on how you actually achieved this in you last note. I want to dynamically select actuals/budget column fields based on what period I enter. I thought about creating 12 separate RKF fields for actuals and 12 separate RKF fields for the budget reforecast and outputting these all and then doing some VBA to hide the fields not required based on which period was selected... how is your variable ZFYAPER7 defined and calculated?
    Cheers

  • How to filter certificate templates in Certificate Authority snap-in with the correct values

    How to filter certificate templates in Certificate Authority snap-in with the correct values
    I have a 2012 R2 server running Microsoft Certificate Authority snap-in.
    I want to do a filter on a specific Certificate Template which i know exists in the 'Issued Certificates' folder.
    All the documentation i can find seems to suggest i copy the certificate name and use this in the View Filter.
    1). I add the 'Certificate Template' option into the Field drop-down.
    2). I leave the Operation as the '=' symbol
    3). I paste in just the name of the template in question. for example: 'my computers'
    The search results always come back blank 'There are no items to show in this view.' even when i know there are many instances of this template. I've tried on a win 2008 server and same issue.
    Is there a correct value to enter for the Certificate Template name?
    Can this be done easier using certutil commands?
    When i run the certutil tool i can confirm i have several issued templates. Certutil -catemplates -v > c:\mytemplate_log.csv
    Anybody know what i'm doing wrong?
    I seem to be getting nowhere with this one.

    > But its important you are using the template name, not the display name
    this is incorrect. OIDs are mapped to *display name*, not common name (it is true for all templates except Machine template). That is, in order to translate template name to a corresponding OID, you need to use certificate template's display name. And, IIRC,
    template name in the filter can be used only for V1 templates. For V2 and higher, OID must be used.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

  • How to filter values using presentation varible if it is using a multiselec

    Hi Gurus,
    Could you pls suggest me here.
    I have a requirement like my OBIEE 10G version report is not filtering the values when we select any value in Dashboard prompt.
    I tried to create a presentation varible in prompt for filtering but for prompt under control it is given an MULTI SELECT.
    i need to filter the values .now though we select any value in prompt ,it is not picking any value.
    How to filter the values using MULTI SELECT Here.Please suggest me here .
    Regards,
    SK

    Hi User,
    In, the physical layer go that column and change datatype from double to int and save the rpd.
    This should resolve your issue.
    Even, it is not required to modify or use cast function to change datatype.
    Else,
    Change the datatype of column in the Business layer.
    This should resolve your issue.
    Assign some points if this helps you :)

  • How can Filter ADF BC LOV values in ADF Faces UI?

    How can Filter ADF BC LOV values in ADF Faces UI?
    Hi i am bit struggle with filtering LOV values in ADF Faces UI.
    I have table In UI ,that is from ADF BC .Now i am Filtering that table data using Select one choice in same page.That SOC is named Type App:  ,So according to selection of Type in SOC table have to display.This portion is done.But my requirement is ,when i got perticular result table ,i want to add one more row related to that type only,so for that i had take popup and drag datacontrol as a form.In that form first column is Select one choice ,select Items will come from BC table.So here i want to filter those LOV values according selection in Type SOC.Suppose Type SOC contain Type1,Type2 values,then when i am selectin Type1,Type1 related date willl diplay on table,now click on ADD button popup will open and in that Type SOC will Dispaly only Type1 related values not Type 2 type values.Type1,Type2 values come from same Table.
    Here i am asking every one,please do help.

    fyi
    The HR schema I used to build the example application had some modifications in the context of https://tuhra2.samplecode.oracle.com/ .
    So after running "demo/schema/mksample" as documented in "Resetting Sample Schemas" ...
    at http://download.oracle.com/docs/cd/E11882_01/server.112/e10831/installation.htm#I6236
    ... I got "java.sql.SQLSyntaxErrorException: ORA-00904: "EMPLOYEES"."MODIFIED_DATE": invalid identifier ", using the example application in BindVarDefaultsInUIApp-v0.02.zip .
    So, I have updated the example application to match the reset HR schema:
    - see http://www.consideringred.com/files/oracle/2010/BindVarDefaultsInUIApp-v0.03.zip
    - see screencast at http://screencast.com/t/gd6zKn63j
    Because Re: af:table filter date format : task-flow navigation issue to get feedback, I created service request 3-2193340441 using My Oracle Support about (q1) and (q2).
    regards
    Jan

Maybe you are looking for

  • Table control from internal table giving problem.

    HI ALL, I am creating a table control using wizard from internal table in the program when i give work area it gives this error "The table work area G_TABC_WA does not exist or is not a structure" I have declared internal table and work like this. TY

  • Play Button Broken... songs wont play??!!!

    My itunes usually works fine.. but now when i go to hit the play button, nothing plays. Not my own music or bought offline music. And no the volume isnt turned off, the wierd thing is that the videos ive purchased play fine. But when i hit a song and

  • Multiple selection in screen

    hi all, Is there any method to display multiple selection (single,ranges,...) (like select-options screen in report programming)  in dynpro screens (using screen designer). regards Jose

  • Printing CD artwork

    When I print the artwork for cd cover, my entire music library is listed as songs for the album.  It does it with every album.  How do I correct this?

  • Mac printarea different

    Hello!  I love your Adobe products. I was working with flash builder 4.6 on MacOS 10.8.5. My problem is that printableArea of the PrintJob class in Web-version is different with Air-version. My coding here... >>> Air-version myPrintJob.addPage(_page,