Showing posts with label Wipro. Show all posts
Showing posts with label Wipro. Show all posts

Oralce Dynamic SQL Debugging |Oracle PL/SQL Interview Questions for TCS,Wipro,Infosys,IBM,and Accenture

You need to store each and every line of the dynamic sql in a file using UTL_FILE Package before you could execute it so that you can refer the same file after executing the code this here serves you as a log file for debugging.

For Ex:

UTL_FILE.PUT_LINE(v_filehandle p_string_in);

where p_string_in is dynamic SQL for each line.

Suppose if my dynamic SQL consists of following 3 lines.

------
BEGIN
EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY HH24:MI:SS''
END;
------

then you will call UTL_FILE.PUT_LINE function 3 times

as follows:

UTL_FILE.PUT_LINE(v_filehandle 'BEGIN');
UTL_FILE.PUT_LINE(v_filehandle 'EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY HH24:MI:SS''');
UTL_FILE.PUT_LINE(v_filehandle 'END');

CICS Interview Questions asked in various MNCs like TCS,Wipro,Infosys,HP Dell and IBM-Part 3

What is ASRAABEND in CICS ?

What is a Logical Unit of Work (LUW) ?

What does Pseudo Conversational mean?

What are the various types of accesses that can be allowed by the SERVREQ option of the
DFHFCT

What are the differences between Temporary Storage Queue (TSQ) and Transient Data Quene (TDQ)?

What are the attribute values of Skipper and Stopper fields?

The process of writting its own type of journal records by the application program

Reading a record from a TSQ will logically delete the record from the Queue (True or False).

Name some command used for CICS file browsing.

In which CICS table would you specify the length of the TASK WORK AREA (TWA)?

How would you resolve an ASRA abend?

How is the storage determined in the symbolic map, if you have multiple maps ?

How do you make your BMS maps case sensitive

How do you define Task Work Area?

How and where is the TWA size set?

Explain re-entrancy as applies to CICS.

Can you define multiple maps in a BMS mapset

A CICS program ABENDS with an ASRA ABEND code, What is its meaning ?

CICS Interview Questions asked in various MNCs like TCS,Wipro,Infosys,HP Dell and IBM-Part 2

Name and explain some common CICS abend codes?

In the CICS command level all the re-entrancy issues are handled by the System (True or
False).?

How would you release control of the record in a READ for UPDATE?

How is the stopper byte different from an auto byte?

How do you invoke other programs? What are the pros and cons of each method?

How do you control cursor positioning?

For multithreading an apllication program need not be re-entrant(True or False).

Explain how to handle exceptional conditions in CICS.

CICS Command level is?

Can you access QSAM (seq) files from CICS?

Why must all CICS programs have a Linkage Section?

Which is the program which determines whether a transaction should be restarted?

Which CICS system program is responsible for handling automatic task initialization?

What us the primary function of the Sign-on Table ?

What is the size of commarea ?

What is the meaning of the SYNCPOINT command?

What is the function of the CICS translator ?

What is the difference between the enter key, the PF keys and the PA keys

What is the difference between a RETURN

What is the command used for receiving a map from a terminal?

What is the CICS Command that is used for reading a record from the TDQ?

What is meant by program reentrance?

What is effect on RECEIVE MAP when PF key is pressed? PA key is pressed?

CICS Interview Questions asked in various MNCs like TCS,Wipro,Infosys,HP Dell and IBM-Part 1

Which is the option of the HANDLE AID command

Which CICS command must be issued by the application program

What table must be update when adding a new transaction and program?

What is the significance of RDO?

What is the meaning of the ENQ and DEQ commands?

What is the function of DFHMDF BMS macro?

What is the difference between START and XCTL ?

What is the difference between a physical BMS mapset and a logical BMS mapset ?

What is the command that is used to delay the processing of a task for a specified time interval
or until a specified time?

What is the CICS command that gives the length of TWA area?

What is meant by a CICS task?

What is difference between call and link ?

What is an MDT ?

What is a logical message in CICS?

What does it mean when EIBCALEN is equal to zeros?

What are the two ways of breaking a CPU bound process to allow other task to gain access to CPU.

What are the differences between DFHCOMMAREA and TSQ?



What are the 3 working storage fields used for every field on the map?