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
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...?
What is file identifier where we can use?
can you debug ile rpg program using isdb?
What is the difference between copybooks and subprocedures in as400?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
How to handle duplicate error handling in RPG?
how do I declare a table or array in rpg iv?
what is kids-rpg?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How to declare the pull button in AS/400..
what are the key words you must use when using a subfile?
what is the difference between do while and do until?
What is the difference between iter and do?
How to call one program from another program in RPG? please help me with the code