What is the purpose of the following?

FORDHDR1 IF E K
DISK
ORDHDRF
KRENAMEORDHDRF1

Answer Posted / kanckan singh

In order to rename the record format of a data base file in a program,

Purpose of renaming is: If the record format name is similar in two files and if both are used in a same program, the program will not compile. Hence we have to rename either of the file.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how you get the relative record in a subfile in which cursor is located?

623


what if my system I runs with system value qccsid 65535?

619


how can you detect and handle a record lock situation?

1222


define data structure?

1033


what is the use of unique keyword and what level it is defined?

930






How can we update a specific field in RPG?

935


define what a data area is along with a brief example of what it may be used for?

969


how you will know whether you are in sfldrop or sflfold mode?

633


How can we change the uppercase to Lowercase in RPG?

933


what is externally described file ?

947


what is a non-join logical file?

986


what are dds required for subfile?

587


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

1193


what are members?

612


Can we debug the MSGW JOBS?

935