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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a cobol program making use of the redefine clause.

1229


Write the code implementing the perform … varying.

1122


What type of SDLC u followed? Why?

2050


What is amode(31)

1223


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2632


Explain what you understand by passing by value.

1203


What kind of error is trapped by on size error option?

1292


What is Pic 9v99 Indicates in COBOL?

1340


Mention the guidelines to write a structured cobol program?

1143


State the various causes of s0c1, s0c5 and s0c7.

1144


What is a report item?

1195


how do you reference the rrds file formats from cobol programs

1660


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1274


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2518


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5428