Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



Attended Xansa Interview , Asked Questions : 1) Diff between Renames and Redefines 2) Comp and C..

Answer / guest

rename is regrouping of elementary data item. redefines is
making different data despriction entries to describe same
storage location in mmemory

Is This Answer Correct ?    4 Yes 1 No

Attended Xansa Interview , Asked Questions : 1) Diff between Renames and Redefines 2) Comp and C..

Answer / raj

hi,

when we execute a section,it will executes all the
paragraphs present in it.

when we execute a paragraph it executes alone.

i.e section is collection of paragraphs.

Is This Answer Correct ?    2 Yes 0 No

Attended Xansa Interview , Asked Questions : 1) Diff between Renames and Redefines 2) Comp and C..

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

Attended Xansa Interview , Asked Questions : 1) Diff between Renames and Redefines 2) Comp and C..

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

More IBM MainFrame AllOther Interview Questions

How can we extract data from IMS DB and load it onto oracle database by converting it.Pls someone help me

2 Answers   TCS,


Can you define foreign keys?

0 Answers  


If a=1 or 2 or 3 NEXT SENTENCE ELSE move a to b. a) if A not = 1 or 2 or 3 move A to B b) if not A = 1 and 2 and 3 move A to B c) if A Not = 1 and 2 and 3 move A to B d) if A NOT = 1 or NOT=2 or NOT =3 move A to B

2 Answers   Accenture,


What is difference between static call and dynamic call?

0 Answers  


What is the meaning of a (new, catalog, keep) disposition mean?

0 Answers  


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

0 Answers  


what is CCID in endevor, what it is its role?

5 Answers   CTS,


How do you eliminate the duplicates?

0 Answers  


Difference b/w Error and abend in COBOL

2 Answers   HP,


Explain host variables?

0 Answers  


What do you mean by monitor block?

0 Answers  


Name the versions of ibm mainframes have introduced in the market?

0 Answers  


Categories