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
how you get the relative record in a subfile in which cursor is located?
What Is The Error If We Don't Get Login Screen?
how do handle file exception/error?
what is the function of rlu ?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
what is a non-join logical file?
what are the different types of data areas?
what is the sequence when using cursor?
what are the three types of keywords associated with printer file ?
what is *iso date format?
Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?
What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?
Difference between NOPASS & OMIT?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
WHAT IS AS/400 SYNORIO?