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

what are the limitations of cl (compare to rpg) ?

1552


what is the use of unique keyword and what level it is defined?

928


which are the member types which seu supports?

813


Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?

615


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

602






how to define global parameter in ile ?

633


what is the purpose of dynslt keyword?

1039


if we tried to move year part of *iso date into a field of length 3, what will happen ?

658


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

2266


what is the purpose of ovrdta (override data) keyword?

1075


is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

615


What are the mandatory keywords of sub file?

748


how do you pass parameters in cl?

1059


What is file information data structure(infds) in as400?

975


how may a cgi control duplicate inputs?

599