What is the difference between /copy and /include in RPGLE?
Answer Posted / sasikumar c
/copy and /include both are used to add program code to our
program. in ILE program /copy directive expanded by sql
preprocessior, but /include does not expanded by sql code.
Thatis,
/copy program file may have its own embedded sql code.
/include program file cannot have its own embedded sql
code.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How Many Specs Are There In Rpg & Which Are They?
what the purpose of ovrdta, ovrata keywords?
How to convert a spool file to PDF file in AS400?
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
what is match field indicator?
what is scan and xlate?
why do we use readc? What is sflnxtchg?
during input operation which indicator position is seton if there is a record lock?
what is the maximum number of parameters allowed in rpg?
define what a data queue is along with a brief example of what it may be used for?
what is join logical file?
What is RETURN CURSER LOCATION in subfile?
in conjunction with what other keyword must ovrdta and ovrata be used?
which are the relational operators in rpg?
What is the draw back of Procedures? why we are going to Modules?