i have two pfs it contains "Status" fields in the same
name "status in both the pf's...But i used the same name
in display file...when i enter a status thru disp file it
willbe added to pf1...so i want to rename "Staus " field in
pf2 through program...............wat will do..give coding?
Answer Posted / syam
Kumar's answer is correct, but this will prefix all fields
for pf2 file with "S".
Use this code:
D NewPf2 E DS EXTNAME(PF2)
D S_Status E EXTFLD(Status)
This is for one field
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
what are the different methods to access seu?
what is externally described file ?
how can we run a batch job?
what is match field indicator?
How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz
what opcode could be used to test an alphanumeric field for all numeric values?
what is the purpose of putovr (put with explicit override) keyword?
What are the types of data structure in as400?
when would you use or not use this approach?
what does opcode post do ?
define the purpose of the *bcat function?
can you display a empty subfile?
what is the difference between udate and the system date?
WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)
when is a tag statement used in rpg?