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 |
What is data structure in as400? What is the use of data structure?
How do you check object lock
I have to execute 12000 CL Commands one by one.. So, I have created a file called COMMAND. This file has only 1 field called STRING. This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc) I have written a CL which will read all the record and do sbmjob.. But it is not working... Plz help me to exexute all these 12000 commands..
how a varible can be passed to a subfile...accnt1 contain data in a data area..ie Daccnt1 uds,Daccnt2 3 overlay(accnt1:1), DNo 4 overlay(accnt1:4)..we want to transfer this dataarea value from acnt0001 to a subfile..that means to enter each record we have to incriment account no,, i normal window we can do move accnt1 account_no eval account_no=accnt1 eval no=no+1 exfmt usr_account how it possible with Subfile????????.Please do answer? (Thank you for all your answers dear friends!!)
Hi,while writing a program, what is the mandatory specification using rpg/400 (in7 specification)?And please tell me what is the difference between SCAN AND CHECK opcodes?can any body tell me in real time senario?with example?
how can we view the entire objects and its types in a pgm?
Difference Between Source Physical File & Physical File?
records can be read/update/deleted with which file?
what is the difference between udate and the system date?
can a single screen format occupy a screen area above and below a subfile format ?
How can we change the uppercase to Lowercase in RPG?
what is cab?