Which command we can use to update a physical file using c.l pgm?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / swathi
can't possible to update/delete/change through CL PGM.Only we can read through CL PGM.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramana
hi,
we can update data in cl, but we can use runsqlstm commance,
here if use select statement u canot select data, ucan
update dlelete
| Is This Answer Correct ? | 5 Yes | 5 No |
Answer / jeetu
we can not update batabase file through CL.it is possible through RPG by using UPDAT opcode.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / swapan
we cant update from CL PGM.....rather we can do type RUNSQLSTM IN command prompt & from there we can go to the sql prompt for any changes required.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / john
i am sure cant update database file through clp.........
| Is This Answer Correct ? | 0 Yes | 3 No |
What is the purpose of the "N" in the following calculation specification? C KEY CHAIN FILE N 99
what are the basic features of seu?
under given circumstances, my cgi should link to another site. How to implement this?
What is the purpose of 'CPYTOIMPF' command?
6 Answers Aditya Birla, Redington,
Can an indexed file be accessed in arrival seQuence in RPG program ?
what does dfu program you to do on a record?
What is the use of Data Queues?
Hi, can you plz tell me ...syntax for GET command in FTP & SFTP is same or different???
what would be the effect on the field where reverse image, underline and highlight display attributes are active ?
PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') ENDPGM In above example,what is content of myfile.txt ...Thanx
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
what is the purpose of data structure?