ravi iq and ans

download ravi iq and ans

of 5

Transcript of ravi iq and ans

  • 8/12/2019 ravi iq and ans

    1/5

    Q) What is the difference between implicit and explicit in the properties of the type tree?

    EXPLICITThe explicit format relies on syntax to separatecomponents.

    Each component can be identified by its position

    or by a delimiter in the data.

    Delimiters appear for missing components.

    IMPLICITThe implicit format relies on the properties of thecomponent types.

    The format is not fixed. If delimiters separate

    components,

    Delimiters do not appear for missing components.

    Q) Describe about FROMDATETIME (), TEXTTODATE (), TODATETIME ()

    The FROMDATETIME function converts a date/time item to a text string of a specified format.Use TEXTTODATE to convert a text item to a date.Use TODATETIME to convert a text string to a date/time item

    What is the difference between onSuccess and OnFailure properties?

    The OnSuccess setting specifies the location of the source data when a map, a burst, or a cardsuccessfully completes. The availability of the OnSuccess setting is adapter-specific.

    The OnFailure setting specifies the location of the target data if the map, burst, or card does notcomplete successfully. The exact meaning and availability of the options for this setting areadapter specific. The default value is Rollback.

    The OnFailure setting works in conjunction with the Scope setting, which defines when to applythe action specified with the OnFailure setting.

    Which tool defines relationships and manages the collections of maps at design time?

    Integration Flow Designer.

    What is the EXTRACT() and LOOKUP() functions do?

    The EXTRACT function returns all members of a series for which a specified condition is true.

    The LOOKUP function sequentially searches a series, returning the first member of the series thatmeets a specified condition

    What information does the Audit log file contain?

    A map audit log contains information about a particular map. Audit logs provide information mapExecution, map settings, card settings, and specific data objects. Map audit logs are in XMLFormat.

  • 8/12/2019 ravi iq and ans

    2/5

    Sequence- Each component of a Sequence group is validated sequentially. Sequence groups

    display the circular group icon.

    Choice- Choice groups provide the ability to define a selection from a set of components like

    a multiple-choice question on a test. Choice groups are similar to partitioned Sequencegroups. Choice groups display the triangular group icon.

    Unordered - An unordered group has one or more components that can appear in the data

    stream in any order. Unordered groups display the plus (+) group icon.

    Trace file- The trace file is a debugging aid used to diagnose invalid data or incorrect typedefinitions. A map can be configured to create a trace file that can be viewed.

    The trace file is a text file that records map execution progress.

    Errors in trace fileInvalid data, wrong size, not in restriction, does not match initiator orterminator.

    Errors after analyzing type treeGroup must contain at least one component.

    Restricitons- Restrictions of an item type are the valid and invalid values of that item. Forexample, a unit of measure field in the data must be one in a set of values: CN, BX, PK, BR.

    These values should be defined as restrictions of the item UnitOfMeasure.

    Restart attribute - To continue processing your input data when a data object of a

    component is invalid, assign the restart attribute to that component. (OR) Used to rejectthe error records.

    Composite delimiterIt is used to separate the fields of a component element.

    Event serverIs used to run a system of maps designed by the Integration flow designer.

    What is the ways of error handling when the map is running in the productionexcept Trace and Reject?

    You can use following functions onerror, iserror, containerrors, lasterrorCode

    What is the function to handle the errors?

    Containerrors, fail, valid, onerror, iserror

    What is the component rule?

    Component rules are written in type tree to validate the source/target structureaccording to type tree.

    When a map is running in the production. Type tree is having errors how willyou know that errors.

    You may see Unknown data found error,

  • 8/12/2019 ravi iq and ans

    3/5

    Input valid but unknown data found.

    E-Mail Adapter. How can we use it and the command line for E-Mail Adapter?

    check the adapter document to get the command syntax

    When and why we use Reject function?Reject function is used to error out the bad records in a file instead of erroring

    out the complete file. If there is a error in any Transaction set in EDI document, usingReject and Restart we can error out particular bad transaction instead of erroring outcomplete transaction

    8. Why do we use Restart function?

    To error out the invalid records, this is used along with reject function in map

    rule.

    What are Restrictions?

    Ans. Restrictions are used for item sub class that can be include or exclude

    How many Arguments can we add in a function

    Based on requirement we can add any number of arguments

    what is benefit of using identifier , and asked bout the differnce between identifier and initiator

    Ans Identifier is used to identify the components with in a particular group, Initiator is used to indentify

    the segments

    Choice, sequence and unordered( stressed on choice group)

    choice choice gives the ability to define a component for a list of components

    Sequence It validates the input data sequentially

    Unordered It will validates data randomly

    What is a Category in detail?

    Category is used for organizing and inheritance the other types in type tree

    What function gives the directory name?

    GETDIRECTORY

    What are the files to be deployed to the event server?

    .msl file (Event Server System File)

    What is the hexadecimal value for new line, carriage return and line feed?

    , and

  • 8/12/2019 ravi iq and ans

    4/5

    1. Describe the different means of padding?A) Pad Left (if the length of the data is less than the min length of the target we add padding

    character to the to the right side of data)B) Pad Right (if the length of the data is less than the min length of the target we add

    padding character to the to the left side of data)

    2. What is the advantage of using the Run Function over Get/Put functions in Mercator?A) RUN The RUN function allows you to execute another compiled map from a component or maprule.

    3. Which protocols support the Email adapter?A) Microsoft Mail API (MAPI), Vendor Independent Messaging (VIM), Internet E-mail (SMTP/POP3)

    4. What is the log file, which gives the execution of map in an XML format?A) Audit Log file

    5. What information does the Audit log file contain?A) A map audit log contains information about a particular map. Audit logs provide information on mapexecution, map settings, card settings, and specific data objects. Map audit logs are in XML format.

    Important Functions:

    CHOOSE- The CHOOSE function returns the object within a series whose position in the

    series corresponds to a specified number.

    EXTRACT - The EXTRACT function returns each member of a series for which a specified

    condition is true.

    INDEX- The INDEX function returns an integer that represents the index of an object

    relative to its nearest contained object, counting only valid objects.

    LOOKUP- The LOOKUP function sequentially searches a series, returning the first member

    of the series that meets a specified condition.

    REJECT- The REJECT function returns the content of an object in error as a text item.

    UNIQUE- The UNIQUE function returns a series containing all the unique members of a

    series.

    DBLOOKUP- The DBLOOKUP function executes an SQL statement against a database.

  • 8/12/2019 ravi iq and ans

    5/5