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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the compute verb? How is it used?

668


) how do u code after getting data?

1584


State the various causes of s0c1, s0c5 and s0c7.

665


what happens if parmparameter passes zero bytes to the program

1671


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1236






What is the difference between perform … with test after and perform … with test before?

890


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3728


Why did you choose to work with ibm mainframe cobol programming?

632


how do you reference the rrds file formats from cobol programs

805


How do you get the data to code the BMS macro?

1482


What are the pertinent COBOL commands?

2630


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1527


) How do u handle errors in BMS macro

1514


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2729