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

Which Search verb is equivalent to PERFORM…VARYING?

854


what happens if parmparameter passes zero bytes to the program

1868


i need a small 3d program using inline and outline.

1882


What is the use of intialize verb?

964


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

932


how do you reference the ksds vsam file formats from cobol programs

868


What is a SSRANGE and NOSSRANGE?

1103


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

5076


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

2111


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

840


What are the pertinent COBOL

2235


How many sections are there in data division in COBOL?

881


What are the different rules for performing sort operation?

946


Define cobol?

1069


How do we get current date from system with century in COBOL?

1053