diffrence between rename and prefix

Answers were Sorted based on User's Feedback



diffrence between rename and prefix..

Answer / 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

diffrence between rename and prefix..

Answer / joy mukherjee

By RENAME we can able to rename the record format of
externally described file.

If you want to rename the fields if externally described
files either we can use EXTFLD or we can use PREFIX.
If we use both EXTFLD and PREFIX all the fields are
prefixed those are not renamed by EXTFLD.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

What would be the output of the variable result? D RESULT S 5S O INZ(00011) C EVAL RESULT = %TRIM(RESULT) Please give me the correct answer for this A.0001 b.compile time error c.11 d.Runtime error

5 Answers  


What is the purpose of the following I UDS I 1 60ORDER# I 7 90LINE#

1 Answers  


how to define to define a hidden filed in dspf ?

0 Answers   IBM,


how do u compile rpgle program?

0 Answers   IBM,


What is the difference between a Physical File & a Logical?

28 Answers   Accenture, ACS, IBM,






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

3 Answers  


write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")

6 Answers   Bally Technologies, Cognizant, Vertex,


Can we use OVRDBF command without using of OPNQRYF ? Or can we use OPNQRYF command without using of OVRDBF command ?

4 Answers   HCL, iGate,


Dear All, I have one confusion related to my platform. I am working with Wipro from last two year however still I am looking for AS400 platform kindly show me the way out of it. And please share with me the hardware knowledge that how I grow myself in hardware (AS/400) also.

1 Answers   Wipro,


what is the function of cpysplf command?

1 Answers   IBM,


Hi i have one question In my srvpgm one module ADDM is there now i want to add new module i.e SUBM , please answer me IN STEPS how to write bndlanguage and how it was attach to SRVPGM

2 Answers   IBM, Satyam,


Define the purpose of Factor 1 the Operation Code and *IN15 in following code HI LO EQ C *YMD Test(D) yymmddDate 15

1 Answers  


Categories