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 are the different types of arrays available in rpg ?

1672


how can I control the way a remote browser uses its cache?

1177


explain the use of dftwrt display keyword?

1736


what are the different commands used in rlu ?

2375


What is array in as400? What are the types of array?

1097


how can database records be read without lock ?

1913


what are dds required for subfile?

1026


what is the maximum number of records you can specify in a display file?

1856


is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

1050


Explain The Keywords Edtcde & Edtwrd?

1369


How Many Specs Are There In Rpg & Which Are They?

1089


what is externally described file ?

1635


how many printer files maximum can be used in single rpg program?

1175


what is *iso date format?

1033


can we use ASCII ,CDUP,SENDPASV commands in SFTP?

3644