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
What is the distinction amongst include and copy?
Give the format of using and giving in sort statement. What are the restrictions with it?
What is the difference between hidam and hdam databases?
Explain paging concept in memory?
If anyone has latest IBM Certification Dumps can you pls forwards it to me
How is next sentence and continue different?
What is a mainframe?
When the job statement is used?
What is the contrast between delimited by space and delimited by size?
If an array is multi-dimensional dynamic array how do you deal with it & provide me some examples?
What is difference between static call and dynamic call?
How to find all duplicate records?
what difference exists between control area and control interval?
What is the term “where” for?
What is the worst thing that you’ve seen on a day?