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 does defn do?

0 Answers   IBM,


How many Printer Files can Declare in a CL Program?

4 Answers  


What is the difference between a Physical File & a Logical?

28 Answers   Accenture, ACS, IBM,


Why we are not able to perform insert delete and update operation in Join logical file?

0 Answers   IBM,


what is the difference between sflclr and sflinz?

1 Answers   IBM,






under given circumstances, my cgi should link to another site. How to implement this?

0 Answers   IBM,


what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.

2 Answers   IBM,


What is journaling & Commitment Control?

1 Answers  


What is FCFO, FIFO, LIFO in Database environment ?

1 Answers  


What are the steps to retrieve the records from Journal file...?

1 Answers  


what is the use of data structures?

0 Answers   IBM,


Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out

0 Answers   Virtusa,


Categories