What is the difference between /copy and /include in RPGLE?



What is the difference between /copy and /include in RPGLE?..

Answer / 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

More IBM AS400 AllOther Interview Questions

What is the difference between regular logical file and join logical file?

1 Answers  


What is the purpose of SFLNXTCHG keyword in a subfile?

1 Answers  


What is a job log?

1 Answers  


What Does Lokup Does In Tables & Arrays?

0 Answers   IBM,


what are the different types of arrays available in rpg ?

1 Answers   IBM,


what is elastic and non elastic subrile?

0 Answers   IBM,


how do we know batch job aborted after we submitting it

1 Answers  


what is arrival sequence?

1 Answers   IBM,


I am working in session1 ans session2. In session1 3 jobs are running. In session2 2 jobs are running. How many LDA and temporary files will be created?

3 Answers  


How can you check the existence of object in a system?

1 Answers  


what is the rpg and cl life cycle?Please tell me any body

4 Answers  


What is the purpose of PR and PI in calling program and called program? in Called program PR is compulsory?

1 Answers   HCL,


Categories