What is purpose of declarative statement DEFN?



What is purpose of declarative statement DEFN?..

Answer / jeetendra yadav

Depends on the factor 1 value it will do two things:

* If the factor1is *LIKE then DEFN opcode defines the new field based on the attributes old field.

* If the factor 1 is *NAMVAR then DEFN opcodes defines the field as a data area.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what is the function of cpyf command?

1 Answers   IBM,


what is the maximum number of record formats in dspf?

1 Answers   IBM,


what is sessional error or divice error in rpg IV?..when will it happens...Give few examples?

3 Answers   CTS,


1) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) What is Non-Join Logical file and its importance?

4 Answers   Cognizant,


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

1 Answers   HCL,






hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

0 Answers  


what is the use of dspatr(mdt) keyword?

1 Answers   IBM,


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

0 Answers   IBM,


What is compiler directive in as400? Give example of compiler directive.?

0 Answers  


how to change job priority when it is running in sub system ?

11 Answers   IBM,


which cl command is used to trap error messages during program execution?

0 Answers   IBM,


how can see logical file based on which physical file and vice versa

1 Answers   IBM,


Categories