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


Please Help Members By Posting Answers For Below Questions

What is file identifier where we can use?

633


How many program bind in one module....

2107


how do I preserve and clean the array?

665


how do I declare a table or array in rpg iv?

725


what is a rpg?

690






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

1879


is this a rpg channel?

665


how can I tell when to replace the array?

688


What is the purpose of record level identifier?

718


How Chain operation copies the record's data to the input buffer for the program?

1067


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

541


How to select highest score of each subject or how to select highest income of every month?

1281


what is an online rpg?

711


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

712


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...?

1455