diffrence between rename and prefix
Answers were Sorted based on User's Feedback
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 |
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 |
function of DSPPGMREF?
What is the purpose of OVRDTA keyword ?
What process the command SBMRJEJOB does?
What is Job description?
writing an sql statement from selecting records from two files using single statement and nested select statement.
explain the difference between defining subfile and message-subfile?
what is the syntax for plist?
WHAT IS THE DISPLAY CMD FOR DATAQ, HOW IT CAN BE USED?
What Is The Purpose Of The "n" In The Following Calculation Specification?
1) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) What is Non-Join Logical file and its importance?
what is match field indicator?
1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?