what happens when a copybook variables are declared using
include statement ?
Answers were Sorted based on User's Feedback
Answer / shaan
Include is a precomplier statement and so the variables
would be expanded during precompilation time rather than at
compilation time.
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / talluri
copy and include stmt are prediffiend texts, but copy will
expand compilation time, but include will expand
precompilation time
correct me if any thing wrong
Talluri
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / chandrababu naidu
we should write include in between "exec and end-exec",
only precompiler will identify include.
working-storage section.
copy emptable.
or
exec sql
include emptable
end-exec.
Is This Answer Correct ? | 1 Yes | 2 No |
Explain complete concept of table handling in COBOL with an example?
why mainframe we use not like java as frontend oracle as backend. or not word excel.In there also huge ammount data stored.
If we use GO BACK instead of STOP RUN in cobol?
01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
1)what is use of linkage section? 2)what is difference between comp and comp-3
how to check whether the open command of a sequential file is successful? or not?
In which area will you utilize 88 level items in cobol?
Can we move X(9) to 9(9). If yes what are the ways for doing this?
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
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??
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
can we write paragraph in area B .....