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 / loganathan

The RENAMES clause does not use any extra space within the
program as all it is doing is supplying a replacement name
for use in a data definition attached to the program via a
COPY statement. This allows the same code to be copied
multiple times and given different names. All of this is
resolved by the compiler and does not affect the size of
the resultant program.

The REDEFINES clause is used to provide a different data
definition for the same data area. In this instance both of
the names supplied are accessible to be used in the
PROCEDURE DIVISION. As such the code generated by the
compiler may be different depending on which of the names
that is used.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can we describe comp sync?

587


Explain a linkage segment

543


Explore the syntax of the evaluate statement?

538


Can the values of alphanumeric be moved to variable numeric?

595


What is mainframe application testing?

571






How an empty file to be checked?

569


What is basic difference between directory and pds in ibm mainframe?

669


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???

1664


Explain isolation level?

630


How do you eliminate the duplicates?

519


How many bytes does a s9(7) sign trailing separate field occupy ?

620


Are scope terminators compulsory? If they are, when?

487


Can you define path?

582


What is mainframe computer /system?

591


Can you explain function of iebgener?

592