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

which of the following operations does not zero the field flda defined as 4,0?

707


is it there an easy way to determine if an html section is available to issue a wrtsection upon?

567


can error messages as a result of a comp, range or values keyword be overridden?

1135


what is a join logical file?

754


What is program status data structure(psds) in as400?

607






how can you detect and handle a record lock situation?

1216


in conjunction with which statements can orxx and andxx conditions be used ?

1141


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

574


In RPG How to read a records from a file without using read opcodes?

964


what is rpg ?

944


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.

5951


how can you execute a command from within an rpg program without calling a clp program?

1201


what is the difference between seton lr and retrn?

1281


what is the sequence when using cursor?

607


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

660