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


Size of a column has been changed in DB2 table (Suppose it
was of 5 characters and later changed to 4 characters) and
forgot to change the DCLGEN in COBOL program, what will
happen during the execution of code? If the program Abends
then what will be the error? If it doesn't abend then hpw
the error can be catched?

Answers were Sorted based on User's Feedback



Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed t..

Answer / chitra

The program will get abended and the error will data
exception error.

Is This Answer Correct ?    1 Yes 0 No

Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed t..

Answer / srikanth doki

The error will not be catched at that time. Dclgen will not
check the database tables and the dbrm will check the
database if it is not matched then the data exception error
will be raised at that time.

Is This Answer Correct ?    0 Yes 0 No

Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed t..

Answer / suresh

The program will get abended and the error will data
exception error.

Is This Answer Correct ?    0 Yes 0 No

Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed t..

Answer / ankit

it will work normally until the data fetched is of 4 bytes
but if it will be fetching a data of 5 bytes, then a
exception will occur and program will abend with abend code
SOC7.

Is This Answer Correct ?    0 Yes 1 No

Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed t..

Answer / mohit

Nothing critical will happen.. I will make understand with
example below:

Consider some 2 bytes as * are before that variable as $
and then rest copybook as & , so after changing table
layout will look like:

**$$$$&&&&&& and program will layout as
**$$$$$&&&&&&. So, now what happens table always passes
something as 4 bytes to 5 bytes which easily is compatible
with a bigger space. So, you will see a space actually
which might disturb your output.

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More COBOL Interview Questions

01 a pic s9(5) occupies how many bytes ?

9 Answers   Wipro,


What compiler option would you use for dynamic linking?

2 Answers  


Should I use STOP RUN in the sub program??why?

6 Answers   Xansa,


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

0 Answers   HSBC, Quest,


Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.

1 Answers  


I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..

2 Answers   EDS,


What is the linkage section?

4 Answers  


what is call by value and call by reference ?

3 Answers   Infosys, ITC Indian Tobacco Company,


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

0 Answers  


how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)

5 Answers   IBM,


TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr

1 Answers   MNC,


What is the difference between CONTINUE & NEXT SENTENCE ?

2 Answers  


Categories