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

Distinguish between logical file and physical file?

1 Answers  


what is the command to know key fields of file?

0 Answers   IBM,


Space & Skip Are Which Level Keywords?

0 Answers   IBM,


what are the basic features of seu?

0 Answers   IBM,


how do we know batch job aborted after we submitting it

1 Answers  






what are the different commands used in rlu ?

1 Answers   IBM,


What is the Select and Omit criteria in logical file?

1 Answers  


how do you use commitment control in rpg program ?

1 Answers   IBM,


What does the keyword UNIQUE mean ?

1 Answers  


how many printer files can be defined in f specs ?

1 Answers   IBM,


1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?

0 Answers   JDA,


we have 2 PF files with same name, how to copy data's from one file to another through RPG program logic?

3 Answers  


Categories