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

Use CHAIN for that record
then EVAL fld='value'
UPDATE pfrecfmt

Is This Answer Correct ?    1 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2592


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

909


What is a record lock error?

1716


How can we know running job is batch or interactive?

1070


how do I declare a minor?

1124


What are the types of identifiers?

983


how can I tell when to replace the array?

1169


What is the difference between copybooks and subprocedures in as400?

1322


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

1177


How Chain operation copies the record's data to the input buffer for the program?

1559


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

1111


what is kids-rpg?

1075


can you debug ile rpg program using isdb?

1205


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

1219


What is difference between bind by copy and bind by reference?

2424