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 |
We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)
what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?
How can we pass data from cobol to JCl?
COMP field occupy ?
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all
What are the different open modes available in cobol?
wht happens if we dnt give scope terminator ?
hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.
How may divisions are there in JCL-COBOL?
How can we know that cobol program is using report file or simple file....?
how to resolve the file status 47.......
What are the different rules to perform a Search?