Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to update only a field of a PF in an RPG program.
I don't want to update the record, only one field.

Answer Posted / s.kumar

If file FileA has fields field1, field2, field3, and we
want to write out field2 only ...

C...except..Change

OfileA...E...Change
O...............field2

Hope it will work fine.

For Free Format try out following...

Update Recformat %fields(field2);

Is This Answer Correct ?    33 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

2388


How to handle duplicate error handling in RPG?

2278


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1705


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1863


can I touch the array during treatments?

1153


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

1002


what is data area and how it is used in rpg program ?

1307


How to select highest score of each subject or how to select highest income of every month?

1746


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

1176


what was the robotech rpg?

1188


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2301


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3811


how do I declare a table or array in rpg iv?

1166


Explain mdt?

1111


How to call one program from another program in RPG? please help me with the code

1706