What is purpose of declarative statement DEFN?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?

615


what are the different types of arrays available in rpg ?

970


what are the different types of data areas?

988


define the purpose of the *cat function?

991


can you specify a display file to be used in the following modes input,output, or combined modes ?

946






What is dynslt?

788


when do you explicitly open files and close files in an rpg program?

1193


What is the difference between non-join logical files and join logical files?

620


In Which Specs Arrays, Tables & Constants Are Defined?

707


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1124


what are the two record formats a subfile contain ?

1128


what does check opcode do ?

1069


what is a composite key?

1016


what is the maximum number of fields under a record format of physical file?

1009


give three main purposes of file specification ?

998