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?
Answers were Sorted based on User's Feedback
Answer / 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|
Answer / svankipu
Yah! Kumar's answer is correct and...
Syam's answer is aptly correct. exact.
why do u want to prefix all the fields either?
it is not proper also. & it becomes cumbersome also while
|Is This Answer Correct ?||1 Yes||0 No|
Answer / fhgf
YOU MEAN "SSTATUS" IN PF2
THEN..IT WILL BE EVAL SSTATUS=STATUS,WRITE PF2
|Is This Answer Correct ?||1 Yes||1 No|
What Is The Purpose Of The "n" In The Following Calculation Specification?
what is command in SFTP which is equivalent to SDUP command in FTP?
What is the as400 called now?
What is the draw back of Procedures? why we are going to Modules?
how does the runqry show the output?
Hi, can you plz tell me ...syntax for GET command in FTP & SFTP is same or different???
how can I give more performance to some selected pages?
when would you prefer logical file than opnqryf?
where exactly we can use OPNQRYF ?
in conjunction with what other keyword must ovrdta and ovrata be used?
How I can read and display three fields in the record format DSPFM1 of the display file,while one field(using in one file) is NAME which is Key field in field reference file and another two fields are AGE and ROLL NO are using another file. Please send me coding part.
what is rpg ?