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
what is the purpose of ovrdta (override data) keyword?
what is the favicon.ico request that my site receives now and then?
i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.
What Is The Purpose Of The "n" In The Following Calculation Specification?
what does check opcode do ?
what is the function of cpysplf command?
what is message file?
how do you use exceptional write in c specs?
what are the different commands used in rlu ?
is there any way to dynamically merge other html scripts into a given html?
What is access path in as400?
what is a program described file in rpg?
how many maximum spaces could be given in o specs?
Space & Skip Are Which Level Keywords?
how can a message from a message file appear as a constant on the screen?