What is the difference between copy and include in cobol?
Answer / srinivas
As far as I know, we use INCLUDE in COBOL-DB2 programs to copy the contents of the DCLGEN to the program. The only difference between INCLUDE and COPY is that while INCLUDE is executed at pre-compile time (by the SQL compiler), COPY is executed at compile time(by the COBOL compiler)
| Is This Answer Correct ? | 0 Yes | 0 No |
Write the syntax of a two dimensional array?
What is Redefines clause?
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........
if a file has 1000 recods how copy the records from 1 to 100 records using sort
which is better comp or comp-3 in terms of memory utilization?
How can you get the ksds file records into your cobol program?
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?
What is the difference between structured cobol programming and object alternativelyiented cobol?
I know my query will return more than one row but I don't want cursor what should I do?
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas