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 is file identifier where we can use?
How many program bind in one module....
how do I preserve and clean the array?
how do I declare a table or array in rpg iv?
what is a rpg?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
is this a rpg channel?
how can I tell when to replace the array?
What is the purpose of record level identifier?
How Chain operation copies the record's data to the input buffer for the program?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
How to select highest score of each subject or how to select highest income of every month?
what is an online rpg?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
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...?