how 2 resolve the -311 sqlcode
Answer / shravan kumar.p
If Length is not declared for varchar, sql code -311 will appears...
by giving the varchar lenth in cobol+db2 pgm we can resolve this -311 sql code..
if wrong correct me..
thakyou...
| Is This Answer Correct ? | 16 Yes | 3 No |
can all users have the privilage to use the sql statement select * (dml)?
When would you prefer to use VARCHAR?
Parm value passed is PARM=(10,20). how do code linkage section and how would you add these two passes values and show result in cobol program.
For Null indicator we have 3 values 0,-1,-2. 0->Not nulll -1->Null -2->Value truncated If ther is any possibility to have any positive value other than 0 in Null indicator.If it is so then when we will get and what is the value?
Can we install 2 different versions of Db2 on same mainframe?
What error I will get if my select query gives multiple row while executing a Cobol-DB2 program.How can I solve it without using a cursor.
4 Answers Cap Gemini, Verizon,
Hi Team, Please tell me, If i don't declare the cursor in the program and i have given open and fetch and close, then what error will get.
What is lock contention?
What is null indicator in cobol db2?
What do you mean by storage group (stogroup)?
Why do we need to create an alias if we can directly use the table name? What are the benefits of referring a table name by its alias? Also, when should we go for alias and when for synonyms?
what types of copies can be made with the COPY Utility ?