Interview question for support engineer

interview question for support engineer ....please can i get this sir..need to interview for apple as support engineer...thank you

Hi Fritz,
Let us address the problem one by one.
1. You might need to change the source structure to :
-root 1..1
--Value 1..unbounded
Please note root and Value are the names given by me you can use any names as per your wish. But we cannot have the source as you specified, will this source be ok for you?
2. Give File content conversion parameter
recordset name = Vale
Value.endSeparator 'nl'
By doing this there will be a Value node created when the source file has a newline character
3. In message mapping create two UDF
*UDF1 (Simple ?UDF with input field named *input )
for (int i=0;i<input.length;i++)
   output += input<i>;
return output
*UDF2 (Simple UDF with input field named input)*
int i = 1;
String [] value = new String[112];
while (input.indexOf(";") != -1)
String counter = "";
Integer i_int = new Integer (i);
if (i<10)
    counter = "00"+ i_int.toString();
else if (i>9 && i<100)
     counter = "0"+ i_int.toString();
else counter = i_int.toString();
if (input.startsWith(counter)) {
  value<i> = input.substring(3, input.indexOf(";"));
  if (input.indexOf(";") != -1 )
     input = input.substring(input.indexOf(";")+1);   
else
  value <i> = "";
i++;
int j;
GlobalContainer globalContainer = container.getGlobalContainer();
globalContainer.setParameter("Output", value);
Now do a mapping like this
Value (context root)--> UDF1 > UDF2> target root node (ie Bewsatz)
By this step you set all the values in global container named Output
3. Now for each target  field call this UDF
*UDF3 (Simple UDF with input field named pos)*
GlobalContainer globalContainer = container.getGlobalContainer();
String[] Value = (String[] )globalContainer.getParameter("Output");;
String outvalue;
if (Value != null) {
outvalue = Value(pos) ;
return outvalue;
Call this UDF for each output field with positions like 1, 2, 3, ...111
Please try this
Regards
Suraj

Similar Messages

  • Interview Questions for FI- General Ledger and Special Purpose Ledger

    Hi Experts,
    Can you guys provide me interview questions for
    1) FI-SPL (Special Purpose Ledger)
    2) FI-GL (General Ledger)
    3) COPA
    4) Cost Center Accounting
    Help in this regard is highly appreciated. If you have any Interview Questions documents, please email it to [email protected]
    Thanks
    Rajanikanth.

    I have some cost center qns
    How is cost center realted to profit center?
    What is a cost element group?
    What is a cost center group?
    What is the difference between Assesment & Distribution?
    What is a activity type?
    Award points if helpful

  • Interview Question for C# - other problmes

    Hi,
    I've recently found a good interview question and answer to it placed on that forum - writing a method
       protected int GetSum(int from, int to) 
    At first glance too easy, after reading a good answer I've admitted that's a really good questions.
    (https://social.msdn.microsoft.com/Forums/vstudio/en-US/6facee9e-cb42-4e8f-987a-081c68864a08/interview-question-for-c?forum=csharpgeneral )
    I'm looking for more questions like this. Thanks for any suggestions.
    Sylvia

    It shows only that it is a fool who asks this. (the interviewer not the OP)
    Nobody should create a function GetSum(int from, int to)
    It is only hard to maintain, serves nothing beside that it shows the programmer who made is was paid per line of code.
    Normally this is simply
    var x = y+z;
    Success
    Cor

  • Interview questions for oracle dba

    Hi I am trying to find teh interview questions for oracle dba .
    What will be your answer to the following questions. Can somebody shed some light...
    . What is the day to day duties of oracle dba?
    ·     Did you use online or off-line backups?
    ·     What version of Oracle were you running?
    ·     Haw many databases and what sizes?
    ·     If you have to advise a backup strategy for a new application, how would you approach it and what questions will you ask?
    ·     If a customer calls you about a hanging database session, what will you do to resolve it?
    ·     Compare Oracle to any other database that you know. Why would you prefer to work on one and not on the other?
    Thx
    KK

    . What is the day to day duties of oracle dba?
    I have got a checklist, designed for my daily, weekly, fortnightly and monthly tasks. For example, in the daily checklist tasks, I check for the alert log file, competion and correction of my exports and operating system backups. DB space situation, Antivirus status, standby database status, space on disks, any rogue queries etc.
    · Did you use online or off-line backups?
    Both.
    · What version of Oracle were you running?
    8i(not any more), 9i, 10g
    · Haw many databases and what sizes?
    8 databases, ranging from 1 TB to 10 GB. I have segregated them into OLTP production, testing, cm, and development and a Datawarehouse.
    · If you have to advise a backup strategy for a new application, how would you approach it and what questions will you ask?
    How much they could afford to lose data or they want zero data loss and also I will get their requirements about down time and up time of database.
    · If a customer calls you about a hanging database session, what will you do to resolve it?
    First I will identify it, then see to it what exactly it is doing, capture that situation and then either try to release the locks(if its a blocking or blocked session), or kill the session, if its hanging on a runaway query.
    · Compare Oracle to any other database that you know. Why would you prefer to work on one and not on the other?
    Oracle passes the ACID rule with distinction as compared to the other databases. Moreover, the multiversion read consistency, recovery, flexibility and challenges of Oracle are matchless.
    Cheers
    fahdoracle.blogspot.com

  • Interview Questions for MTO from SD point of view

    Dear SAP Experts,
    I would like to know in detail the Interview Questions for MTO from SD point of view.
    Thanks
    Bhushan

    Hi,
    Since MTO is more a conceptually driven scenario first you need to understand what exactly happens in a business.
    1) Be clear on the strategy groups.
    2) Be clear on the cost center assignments since sales order is cost object in case of MTO
    3) So you need FI interface idea to execute MTO process.
    4) Understand how the SD is informed after the production is completed for an MTO order.
    5) Understand the movement types involved, since sometimes it may be required that this special stock may be needed to sent to unrestricted or perhaps assign it to some other sales order.
    6) Know clearly about requirement type since thats the key which identifies an MTO order.
    Make sure you als read the library. Hope it helps.
    regards
    sadhu kishore

  • Question for support of community for an UDF

    Hello,
    because we are not really able to write Java-Code we have a question for support to the community!
    We have a mapping were we get some strings. These strings containing data which we have to map to certain fields in target structure.
    Example:
    001GIE;002090429;0030853;005D  ;007TCT ;010TTNU9457423 ;01140;01296;013SCI01;019
    4N ;02145G1;027E;0300;033V;03508388;03604508;03703880;039003054 ;040003054
    The requirement is that we have to identify the fields to map by it's number, like "001GIE" means 001 field in target structure.
    So how to do an UDF? We need to parse the string and put the found strings into right position in an array e.g. But how to get this result to the single target-fields in target structure?!
    And another problem in example: how to get data if the identifier (019) and the data (4N) is divided by an end of line (see example)?!
    Do you have some ideas?! We highly appreciate your help!
    br

    Hi Fritz,
    Let us address the problem one by one.
    1. You might need to change the source structure to :
    -root 1..1
    --Value 1..unbounded
    Please note root and Value are the names given by me you can use any names as per your wish. But we cannot have the source as you specified, will this source be ok for you?
    2. Give File content conversion parameter
    recordset name = Vale
    Value.endSeparator 'nl'
    By doing this there will be a Value node created when the source file has a newline character
    3. In message mapping create two UDF
    *UDF1 (Simple ?UDF with input field named *input )
    for (int i=0;i<input.length;i++)
       output += input<i>;
    return output
    *UDF2 (Simple UDF with input field named input)*
    int i = 1;
    String [] value = new String[112];
    while (input.indexOf(";") != -1)
    String counter = "";
    Integer i_int = new Integer (i);
    if (i<10)
        counter = "00"+ i_int.toString();
    else if (i>9 && i<100)
         counter = "0"+ i_int.toString();
    else counter = i_int.toString();
    if (input.startsWith(counter)) {
      value<i> = input.substring(3, input.indexOf(";"));
      if (input.indexOf(";") != -1 )
         input = input.substring(input.indexOf(";")+1);   
    else
      value <i> = "";
    i++;
    int j;
    GlobalContainer globalContainer = container.getGlobalContainer();
    globalContainer.setParameter("Output", value);
    Now do a mapping like this
    Value (context root)--> UDF1 > UDF2> target root node (ie Bewsatz)
    By this step you set all the values in global container named Output
    3. Now for each target  field call this UDF
    *UDF3 (Simple UDF with input field named pos)*
    GlobalContainer globalContainer = container.getGlobalContainer();
    String[] Value = (String[] )globalContainer.getParameter("Output");;
    String outvalue;
    if (Value != null) {
    outvalue = Value(pos) ;
    return outvalue;
    Call this UDF for each output field with positions like 1, 2, 3, ...111
    Please try this
    Regards
    Suraj

  • Interview question for iphone

    hi ...
    I'm vishal want to know about interview question regarding iphone developer recruitment.

    I am to late to replay but You can find lot of ios interview questions and answers here. I hope it helps.

  • Interview question for sql statement

    Hi Guys,
    In a interview i was asked the following question considering i m using database 9i
    Quote
    If a client is running a query and that client complains you that query is stuck and he is not sure if that query is slow or it is not running at all, how a DBA can know the status of that query
    Unquote
    any responce will be appreciated
    regards
    Ans

    col sql_text format a50
    col opname format a20
    col machine format a10
    col username format a10
    col action format a10
    set linesize 200
    select /*+ ORDERED */
         sl.username
         ,sl.opname
         ,sl.start_time
         ,sl.last_update_time
         ,sl.time_remaining
         ,sl.elapsed_seconds
         ,sa.sql_text
    from v$sqlarea sa,v$session_longops sl
    where sl.sql_hash_value = sa.hash_value
    and   sl.sql_address    = sa.address
    col sql_text format a45
    col machine format a10
    col username format a10
    col action format a10
    set linesize 200
    SELECT /*+ ORDERED */
         username
         ,S.LAST_CALL_ET
         ,to_char(LOGON_TIME,'DD/MM/YY HH24:MM:SS') Logon_Time
         ,s.action
                ,S.STATUS
         ,s.PROCESS
         ,s.sid
         ,s.serial#
         , s.machine
         , X.sql_text
    FROM        sys
         .v_$session S
         LEFT OUTER JOIN sys.v_$sqlarea X 
         ON  s.sql_address    = x.address   
         AND      s.sql_hash_value = x.hash_value 
    WHERE       s.type         != 'BACKGROUND'
    ORDER BY 2,1
    /

  • NEED FOR INTERVIEW QUESTION SQL AND PL/SQL

    I am finished Oracle 9i OCA.Pls Anyone help me.Interview Questions for SQL and PL/SQL.

    Hi,
    first of all, It is not the right place for this question. Better Google it and you will find hell lot of information over there.
    Still, Give your email id, i will send you all the SQL/PLSQL interview question, I am having..
    Thanks
    KaMaL

  • Interview questions on SAP MM Inventory Management?

    Hi all !
    I am preparing for interview, so can anybody please give me the interview questions for SAP MM inventory management ?
    Thanks in advance !!

    Hi,
    Follow the links:
    http://www.sap-img.com/materials/sap-material-management-interview-questions.htm
    http://www.sap-basis-abap.com/sapmm.htm
    http://www.simplysap.com/forums/threadflat.htm?tid=32
    http://209.85.28.27/ccforums/PrintPost.aspx?PostID=44
    Regards,
    Biju K

  • Need SD and SD/FI Interview Questions

    Hi,
    I need real-time interview questions for SD and SD/FI including sample tickets, project implementation type questions, and most commonly asked questions. I would greatly appreciate if you could send it to:
    [email protected]
    Rewards will be given generously.
    Thanks

    link: http://www.sap-img.com/sap-sd.htm
    <b>Interview Questions</b>
    Important Tips for Interview for SAP SD
    SAP SD Interview Questions
    Interview Question and Answers on SAP SD
    Some SAP SD Interview Questions 1
    Some SAP SD Interview Questions 2
    <b>Tables/Tcodes in SAP SD</b>
    Important Tables for SAP SD
    SAP SD Transaction codes List
    Task Specifc SD Transaction Codes 1
    Task Specifc SD Transaction Codes 2
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • Crystal Reports Interview Questions

    Hai All
    I need  to prepare for an interview next month for crystal Reports
    Please send me some crystal Reports and Crystal Xcelsius  Basic and Real time Interview Questions
    For good reply points are assaigned

    Hello,
    Try using the product and reading the help files, lots of info in there. Also browse through the forums for both CR and XC.
    Flex SDK Development
    No point in looking for the answers for the test, they can be random and the people giving you the test know the product very well and will know if you know it also. Database and DB connectivity is must also.
    Good luck
    Don

  • D2k Interview Questions

    Hi,
    I would appreciate if anyone can send me the interview questions for D2k which include (forms 9i or 6i and Reports 6i / 9i). Plz send me the softcopy on my yahoo id: [email protected] Or plz suggest me the path or alternate.
    Much appreciated !!!!!!!
    Thanks in advance also.
    Regds,
    Bhavesh Mehta

    Hi all,
    I'm having an interview day after tomorrow. Plz Plz do consider this as urgent and send me the questions on the same on [email protected]
    Hope you all will help me out on this.
    Thanks again in advance.
    Regds,
    Bhavesh

  • SRM interview questions

    Hi Friends,
    Can anybody send me the sample interview questions for SRM functional interview on [email protected]
    Thanks in advance
    Diwakar

    Refer to this Blog!
    http://plkasee.spaces.live.com/blog/cns!D54AEB40BFC4CD8F!188.entry
    SDN dont allow me to write a blog @SDN with less points. So I write at Windows live spaces.
    Please reward points if useful.
    Regards
    Kasee Palaniappan

  • SGA Size for 8.1.7.4 32 bit? , some Interview Questions

    Hi buddies,
    I got some interview questions, might be simple for geeks in DBA. I am in need of answers. Could anyone help me.
    Thanks,
    Raaj
    1) Does windows NT support direct I/O?
    Answer: Choose one of the answers that apply
    A: No, only AIO
    B: Yes, depending on hardware.
    C: Yes.
    D: No.
    2) Can you take a coldbackup from solaris and use it on windows NT?
    Answer: Choose one of the answers that apply
    A: Yes.
    B: Yes if RMAN backup performed from NT server.
    C: Yes, after running RMAN convert.
    D: No.
    3) All of the following will alter the number of checkpoints that occur in one hour on the database, except one. Which is it?
    Answer: Choose one of the answers that apply
    A: Decreasing tablespace size
    B: Decreasing size of redo log members
    C: Setting LOG_CHECKPOINT_INTERVAL greater than the size of the redo log file
    D: Setting LOG_CHECKPOINT_TIMEOUT to zero
    4) The DBA is attempting to back up the Oracle database control file. After
    issuing the ALTER DATABASE BACKUP CONTROLFILE TO TRACE command, where can the DBA find the backup control file creation materials Oracle created for him or her ?
    Answer: Choose one of the answers that apply
    A: USER_DUMP_DEST
    B: LOG_ARCHIVE_DEST
    C: CORE_DUMP_DEST
    D: BACKGROUND_DUMP_DEST
    5) What is the most important action a DBA must perform after changing the database from NOARCHIVELOG TO ARCHIVELOG?
    Answer: Choose one of the answers that apply
    A: Shutdown normal and restart the database
    B: Perform a full logical database backup
    C: Perform a full offline database backup
    D: Manually switch the log files
    6) Which of the following choices lists an ALTER USER option that can be executed by the user herself or himself?
    Answer: Choose one of the answers that apply
    A: DEFAULT TABLESPACE
    B: IDENTIFIED BY
    C: TEMPORARY TABLESPACE
    D: PROFILE
    7) You need to view the initialization parameter settings for your Oracle
    database. Which of the following choices does not identify a method
    you can use to obtain values set for your initialization parameters?
    Answer: Choose one of the answers that apply
    A: Issue SELECT * FROM DBA_PARAMETERS; from SQL*Plus
    B: Issue SELECT * FROM V$PARAMETER; from SQL*Plus
    C: Issue SHOW PARAMETERS from Server Manager
    D: Use OEM Instance Manager
    8) As a result of a media failure, the current online redo log group is corrupted, the database crashes, as the current online group is inaccessible. Which type of incomplete recovery are you most likely to perform ?
    Answer: Choose one of the answers that apply
    A: Change-based
    B: Time-based
    C: Recovery using a backup control file
    D: Cancel-based
    9) User SNOW executes the following statement: SELECT * FROM EMP. This
    statement executes successfully, and SNOW can see the output. Table
    EMP is owned by user REED. What object would be required in order for
    this scenario to happen ?
    Answer: Choose one of the answers that apply
    A: User SNOW would need the role to view table EMP.
    B: User SNOW would need the privileges to view table EMP.
    C: User SNOW would need a synonym for table EMP.
    D: User SNOW would need the password for table EMP.
    10) Which one of the following statements is true?
    Answer: Choose one of the answers that apply
    A: The request queue is common, and the response queue is different for all the dispatchers.
    B: The request queue and response queue are different for all the dispatchers.
    C: The request queue is different, and response queue is common for all the dispatchers.
    D: The request queue and response queue are common for all the dispatchers.
    11) What is the largest SGA size for 8.1.7.4 32 bit?
    Answer: Choose one of the answers that apply
    A: approximately 2GB
    B: approximately 3.5GB
    C: approximately 4GB
    D: approximately 8GB
    E: approximately 16GB
    12) The DBA is about to perform some administrative tasks. Specifying the
    OPTIMAL parameter has which of the following appropriate uses?
    Answer: Choose one of the answers that apply
    A: Limiting concurrent users
    B: Limiting concurrent transactions
    C: Limiting growth of rollback segments
    D: Limiting growth of tables
    13) If the DBA wants to find information about how often transactions are
    wrapping transaction information between multiple rollback segment
    extents, where would the DBA look to find that information?
    Answer: Choose one of the answers that apply
    A: DBA_ROLLBACK_SEGS
    B: V$ROLLSTAT
    C: V$ROLLNAME
    D: DBA_SEGMENTS
    14) You have 30 rollback segments in your database, for which
    TRANSACTIONS_PER_ ROLLBACK_SEGMENT is set to 49 and
    TRANSACTIONS is set to 1000. During periods of heavy usage, about how many rollback segments will be actively used by Oracle?
    Answer: Choose one of the answers that apply
    A: 50
    B: 60
    C: 20
    D: 30
    15) The DBA has a table created with the following statement:
    CREATE TABLE EMPL
    (EMPID NUMBER(10),
    LASTNAME VARCHAR2(40),
    RESUME LONG RAW);
    The DBA attempts to issue the following statement:
    ALTER TABLE EMPL
    ADD ( PERF_APPRAISE LONG);
    What happens?
    Answer: Choose one of the answers that apply
    A: The statement succeeds.
    B: The statement succeeds, but column is added as VARCHAR2.
    C: The statement fails.
    D: The statement adds a disabled constraint.
    16) The primary key of the EMP table has three columns, EMPID, LASTNAME,
    and FIRSTNAME. You issue the following SELECT statement:
    SELECT * FROM EMP WHERE LASTNAME = 'HARRIS' AND FIRSTNAME = 'BILLI'
    AND EMPID = '5069493';
    Where would you look to see if this query will use the index associated
    with the primary key?
    Answer: Choose one of the answers that apply
    A: DBA_IND_COLUMNS
    B: DBA_TAB_COLUMNS
    C: DBA_INDEXES
    D: DBA_CLU_COLUMNS
    17) You are configuring your index to be stored in a tablespace. Which of the
    following storage parameters are not appropriate for indexes?
    Answer: Choose one of the answers that apply
    A: OPTIMAL
    B: INITIAL
    C: PCTINCREASE
    D: NEXT
    18) You need to set up auditing in an order entry and product shipment
    application so that when the ORDER_STATUS column in the ORDERS
    table changes to ‘SHIPPED’, a record is placed in a special table associated
    with a part of the application that gives sales representatives a daily list
    of customers to call on a follow-up to make sure the customer is satisfied
    with the order. Which of the following choices represents the best way
    to perform this auditing?
    Answer: Choose one of the answers that apply
    A: Statement auditing
    B: Object auditing
    C: Audit by access
    D: Value-based auditing
    19) Information in the buffer cache is saved back to disk in each of the
    following situations except one. In which situation does this not occur?
    Answer: Choose one of the answers that apply
    A: When a time-out occurs
    B: When a log switch occurs
    C: When the shared pool is flushed
    D: When a checkpoint occurs
    20) In order to allow remote administration of users and tablespaces on an Oracle database, which of the following types of files must exist in the database?
    Answer: Choose one of the answers that apply
    A: Password file
    B: Initialization file
    C: Datafile
    D: Control file
    E: Nothing, SYSDBA privileges are not required for these actions.
    21) You are planning the storage requirements for your database. Which of the following is an effect of maintaining a high PCTFREE for a table?
    Answer: Choose one of the answers that apply
    A: Oracle will manage filling data blocks with new records more actively.
    B: Oracle will manage filling data blocks with new records less actively.
    C: Oracle will leave more space free in data blocks for existing records.
    D: Oracle will leave less space free in data blocks for existing records.
    22) You manage database access privileges with roles where possible.
    You have granted the SELECT_MY_TABLE role to another role, called
    EMP_DEVELOPER. To view information about other roles that may be
    granted to EMP_DEVELOPER, which of the following dictionary views
    are appropriate?
    Answer: Choose one of the answers that apply
    A: DBA_ROLE_PRIVS
    B: DBA_TAB_PRIVS
    C: USER_SYS_PRIVS
    D: ROLE_ROLE_PRIVS
    23) In order to set your SQL*Plus session so that your NLS_DATE_FORMAT
    information is altered in a specific way every time you log into Oracle,
    what method would be used?
    Answer: Choose one of the answers that apply
    A: Setting preferences in the appropriate menu option
    B: Creating an appropriate LOGIN.SQL file
    C: Issuing the ALTER USER statement
    D: Issuing the ALTER TABLE statement
    24) You create a sequence with the following statement:
    CREATE SEQUENCE MY_SEQ
    START WITH 394
    INCREMENT BY 12
    NOMINVALUE
    NOMAXVALUE
    NOCACHE
    NOCYCLE;
    Two users have already issued SQL statements to obtain NEXTVAL, and
    four more have issued SQL statements to obtain CURRVAL. If you issue a
    SQL statement to obtain the NEXTVAL, what will Oracle return?
    Answer: Choose one of the answers that apply
    A: 406
    B: 418
    C: 430
    D: 442

    1.-
    2.c
    3.a
    4.a
    5.c
    6.b
    7.a
    8.d
    9.b
    10.a -
    11.a
    12.c
    13.b
    14.d
    15.c
    16.a -
    17.a
    18.d
    19.c
    20.a
    21. -
    22.d
    23.b
    24.?
    hope it helps u.
    Thanks
    Kuljeet

Maybe you are looking for