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
10. Why mainframe testing is so important? Give any three advantages of Mainframe Testing?
what is the other verb for release and write ?
What is the difference between hdam and hidam databases?
How scary is it to write code for a bank?
Explain index cardinality?
What is the function of dbctl?
What is the mainframe testing? Categorize the mainframe manual testing?
suppose I have 1000 rows in a db2 table. I want to update first 100 records, how do I do it?
Explain the use of the where?
List the type of locks and explain each of them.
Explain eib?
What is linkage section?
What is defragmentation and what is its advantage?
If JOBA is in MSGW due to data decimal error and DUMP is generated and I found that Decimal field formatted with some special char which is coming from Input file amd file has millions of records. How I can find out on which record the error is occur. Please share your experience.....
can you change the attribute in mapset? if so how?