When we code these comp,comp1,comp-2,comp-3 and comp4
values. I know the differnece.I mean when we will prefer if
it is new program.Explain in detail with memory examples.
Thanks in advance.



When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we..

Answer / shubha

These are usage clauses. memory used by these items will very less compared to DISPLAY items, that is is why these are used especially to store the data with less memory usage

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is SQL Code -904 and -903 in DB2 And how to handle it?

1 Answers   IBM,


How to recover a deleted source physical file from library?

1 Answers   HCL,


How will you find the currepted records in a file

2 Answers  


What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?

1 Answers   Fidelity,


Can printer files (having 133 characters) be of variable length?

3 Answers  






What rules are to be followed while using the corresponding options?

0 Answers  


BY seeing a program how can we say that it is static call or dynamic call

5 Answers   CGI,


i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?

12 Answers  


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

0 Answers   Cap Gemini,


What is the difference between performing a SECTION and a PARAGRAPH?

5 Answers   Accenture, Patni,


In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.

1 Answers   CSC,


input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.

6 Answers  


Categories