diffrence between rename and prefix

Answer Posted / prabhakar

The RENAME keyword allows you to rename record formats in
an externally described file. The external name of the
record format that is to be renamed is entered as the
Ext_format parameter. The Int_format parameter is the name
of the record as it is used in the program. The external
name is replaced by this name in the program.

To rename all fields by adding a prefix, use the PREFIX
keyword.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

602


what are the three types of keywords associated with printer file ?

1015


how can you specify no duplicate key?

710


what is the difference between sflclr and sflinz?

1039


which indicator is used for read?

631






How to reverse the string in rpg

1204


what is the maximum number of subfiles that can specified in a display file ?

1054


What is %CHECK?

847


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

2415


How can we arrange duplicate records in a file?

606


WHAT IS AS/400 SYNORIO?

2890


what does vldcmdkey means?

819


what is the purpose of data structure?

1012


which are the query selection criteria, which can be given in a query?

675


Apart from opening of a file do we have any other use of USROPN?

962