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 / s kumar

You need to use prefix keyword when you declare the file
FPF2 IF E DISK PREFIX(S)

Where 'S' is any desired name by this all fields of PF2
will start with S alphabet.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which cl command is used to trap error messages during program execution?

851


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

572


how can you specify no duplicate key?

685


Difference Between Source Physical File & Physical File?

626


what are the important factors in error message subfile ?

555






list some of the commonly used commands for debugging?

874


what is a program described file in rpg?

1034


can you display a empty subfile?

775


how to develop some simple graphs (bar charts) using just html?

656


Difference Between Call & Sbmjob?

745


the maximum number of subfiles that can be active for a single file is ____ .

1165


can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com

2225


what is full form for dds?

724


the maximum number of subfiles that can defined in a rpg program for one display file is ___ .

2123


how to get the cursor position?

699