2. Which of the following statement(s) explains the
difference(s) between the /INCLUDE and ICOPY directives?
a.) No difference, they function the same
b.) ACOPY cannot be used as a conditional directive
c.) IINCLUDE files cannot contain embedded SQL
d.) Nesting /TNCLUDE directives is not allowed
Answer Posted / nandini
The /COPY and /INCLUDE directives are identical except that
they are handled differently by the SQL pre-processor:
The /COPY directive is expanded by the preprocessor. The
copied file can contain embedded SQL or host variables.
The /INCLUDE directive is not expanded by the preprocessor.
The included file cannot contain embedded SQL or host
variables.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what are the key words you must use when using a subfile?
what is the difference between do while and do until?
are there any useful c runtime apis that I can call from rpg iv?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
How to handle duplicate error handling in RPG?
how does the rpg element work?
is this a rpg channel?
what is the necessary keyword needed to scroll subfile records?
can I touch the array during treatments?
how do you use commitment control in rpg?
what is data area and how it is used in rpg program ?
How to select highest score of each subject or how to select highest income of every month?
What are the types of identifiers?
What is a record lock error?