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 do u compile rpgle program?
What is the Difference between command attention key and command function key ?
explain the use of dftwrt display keyword?
. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?
difference between sflrcdnbr and sflnxtchg?
what is a query can be run in which mode?
what are the three line types in rlu ?
what are indicators?
distinguish between terminating a program through seton lr and return?
what are various techniques to pass parameters from one program to another?
what are the limitations of cl (compare to rpg) ?
What Is The Error If We Don't Get Login Screen?
how to write code for singlepage in sqlrpgle with update ?
how many levels are there in a physical file?
why is as/400 called object oriented machine?