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
What is the compute verb? How is it used?
) how do u code after getting data?
State the various causes of s0c1, s0c5 and s0c7.
what happens if parmparameter passes zero bytes to the program
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?
What is the difference between perform … with test after and perform … with test before?
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.
Why did you choose to work with ibm mainframe cobol programming?
how do you reference the rrds file formats from cobol programs
How do you get the data to code the BMS macro?
What are the pertinent COBOL commands?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
) How do u handle errors in BMS macro
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)