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
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
what are the various types of device files?
how you get the relative record in a subfile in which cursor is located?
What Is The Purpose Of The "n" In The Following Calculation Specification?
the maximum number of subfiles that can defined in a rpg program for one display file is ___ .
list some of the commonly used commands for debugging?
what is the difference between udate and the system date?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
when do you use f-spec. Continuation line ?
what is match field indicator?
what are indicators?
what is the difference between packed decimal and zoned decimal?
how to define to define a hidden filed in dspf ?
what is the clp command to access a query/400?
What is the draw back of Procedures? why we are going to Modules?