Which command we can use to update a physical file using c.l pgm?
Answer Posted / anupam
Use of RUNSQLSTM helps in updating the physical file within
a CL program.
Syntax:
RUNSQLSTM SRCFILE(LIB/QSRCPF)SRCMBR(SQLPGM)COMMIT(*NONE)
SQLPGM should contain
UPDATE PF set DATA='Value' where DATA'='Value1' and it will
update the PF
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
How to avoid using indicators in ile ?
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
which are the string manipulation opcodes?
records can be read/update/deleted with which file?
what are the two record formats a subfile contain ?
what is logical file?
how can I control the way a remote browser uses its cache?
what are the uses of factor1, factor2 and result field for the rpg operation code parm?
How do you check object lock
what is a physical file?
if we tried to move year part of *iso date into a field of length 3, what will happen ?
What is difference between rename and prefix?
what is scan and xlate?
when is a tag statement used in rpg?
What are the mandatory keywords of sub file?