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 the necessary keyword needed to scroll subfile records?
How many program bind in one module....
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
what are the key words you must use when using a subfile?
how do you use commitment control in rpg?
what is a rpg?
What is the purpose of record level identifier?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
how do I declare a table or array in rpg iv?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
what is the difference between do while and do until?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
how can I tell when to replace the array?
How to select highest score of each subject or how to select highest income of every month?
how do I preserve and clean the array?