Attended Xansa Interview , Asked Questions :

1) Diff between Renames and Redefines
2) Comp and Comp -3
3) What will happen if DISP = ( NEW, DELETE, KEEP)
4) Gave one scenario like , if PIC clause X(50) has to be
increased to X(70) how u will proceed with this change.
5) Diff between Section and Paragraph

Answer Posted / prasanna

1. RENAMES just renames the variable whereas REDEFINES can
give a new definition to a variable and can also rename it.
No one is using RENAMES claus e nowadays..

2. COMP is numeric data represented in Binary, number must
be a positive integer. bytes vary from 2 to 8 depending on
th e PIC clause. COMP-3 is variable declared in packed
decimal form. Each digit will take half a bit of storage.
sign is stored seperately regardless of S specified

3. Will create a dummy dataset.

4. In COBOL the variable declaration is restricted to 30
and so, it 'll result in an error. For theory sake, one can
use REDEFINE clause.

5. Variables are declared in SECTION and are used in
PARAGRAPHS..

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can you change the attribute in mapset? if so how?

1713


what difference exists between control area and control interval?

583


How is data retrieved from multiple tables using a single sql statement?

550


How scary is it to write code for a bank?

574


What is the advantage of defragmentation?

527






What are the different types of PL/1 files?

1732


suppose program A is calling program B, at a time A will send 100 records but it has to send 500 records. how it will possible?

1593


what sorting order does search all have?

611


Explain Introduction abt Ibm framework

1726


I would like to know some real time questions.. please any one help me.. If the changes made by you .. lead to system inconsistency how others will know its cause???

1673


can any one exaplin about Decision Tables in test region with good example

2273


Express the distinction between jes2 and jes3?

552


what is the meaning, the advantages and which are the types of evaluate statement?

592


State the maximum number of tables that can be joined?

578


What is meant by drda?

532