I try to use some column names in my cobol progorm but
these column not in db2 table ..when do i get error ..while
bind time or runtime?

Answers were Sorted based on User's Feedback



I try to use some column names in my cobol progorm but these column not in db2 table ..when do i g..

Answer / ashok

You get the error during bind.

Is This Answer Correct ?    11 Yes 0 No

I try to use some column names in my cobol progorm but these column not in db2 table ..when do i g..

Answer / ravindra

right and return sqlcode will be -206

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More COBOL Interview Questions

I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?

1 Answers   Mphasis,


i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)

3 Answers   Cap Gemini, Mind Tree,


Difference between ps, esds

3 Answers  


01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??

1 Answers  


What is the difference between structured cobol programming and object alternativelyiented cobol?

0 Answers  


How many sections are there in data division?.

10 Answers   Amdocs, TCS,


WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?

3 Answers   TCS,


Whtz the specialty of 77 level number ?

2 Answers   Infosys,


if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.

1 Answers   IBM,


I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?

1 Answers   CTS,


can we use go to statement inline-perform?

7 Answers   IBM,


File status must be checked both while opening and reading the file or only while reading the file?

2 Answers  


Categories