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...

Which command we can use to update a physical file using c.l pgm?

Answer Posted / madhusudhan

As mentioned above by Rajeev and Sumit, both the commands
will work. There is one more which i tried and it worked.

You can use the below way

RUNSQL STMT('Update LIB/File Set Field = "1" where Field
="2" ')
I have tried all the three ways and after working i am
posting it here.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the maximum number of subroutines allowed in rpg?

1784


when would you use or not use this approach?

1553


can a single screen format occupy a screen area above and below a subfile format ?

1683


maximum number of subfiles that can be active for a single file is?

1703


How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?

1279


can you have multiple key lists for a single file ?

1702


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2528


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

1111


what is the syntax for plist?

1126


how do you know that records are locked?

1966


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

1045


Can you summarize the steps I have to go through in writing my first cgi?

1113


define subsystem?

1637


what is the purpose of ovrdta and ovrata keywords ?

1517


at what level s,o are defined and what they will do?

1807