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 / sumit

Everyone is saying we cannot update pf using Cl...But please
try once using RUNSQLSTM before marking 'NO' to any answers.
As we can update a PF using CL.

RUNSQLSTM uses source file where source member is present.
And this source member contain UPDATE SQL, OR DELETE SQL, OR
INSERT SQL.

RUNSQLSTM SRCFILE(LIB/QSRCPF)SRCMBR(SQLPGM)COMMIT(*NONE)

Once this statement run in CL then PF will get updated,
deleted or inserted with the new record.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of jdftval in as400?

1343


how many specifications are there in rpg/400? What are they?

1881


what are the three line types in rlu ?

2093


which indicator is used for read?

1074


where can you specify an indicator in lokup operation?

1723


What is the difference between crtdupobj and copyf?

1142


distinguish between terminating a program through seton lr and return?

1037


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

1387


what are the different types of variables available in cl?

1721


What Is The Purpose Of The "n" In The Following Calculation Specification?

1073


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

3191


during input operation which indicator position is seton if there is a record lock?

1511


how do you read data area in an rpg program?

1733


what is the function of rlu ?

1590


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

1076