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
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
the maximum number of subfiles that can be active for a single file is ____ .
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
when do you explicitly open files and close files in an rpg program?
any one have give AS400 study material? pls pass it to gopalsai789@gmail.com
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
what are the two record formats a subfile contain ?
what is the favicon.ico request that my site receives now and then?
when should I use method get, and when should I use method post in my cgis?
what is the maximum number of files allowed in rpg?
How can we change the uppercase to Lowercase in RPG?
maximum number of subfiles that can defined in a rpg program for one display file is?
how can I automatically refresh a web page?
In Which Specs Arrays, Tables & Constants Are Defined?
what is the difference between seton lr and retrn?