I have 1 rd in my flat file.
say reord from 1 to 10 position : 'AS400NDB2400'
I need to change the value from N to Y
using SQL stmt ...How can I update this....?

Answer Posted / mahalakshmi

update file1 set file1 = 'AS400YDB2400' where file1 = 'AS400NDB2400'

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is %CHECK?

841


Can level check error occur if we do chgpf?

775


what are the two record formats a subfile contain ?

1116


which are the relational operators in rpg?

669


can a single screen format occupy a screen area above and below a subfile format ?

1024






what is a join logical file?

754


How to Define a Procedure in RPG?

1220


how you will know whether you are in sfldrop or sflfold mode?

627


Why we are not able to perform insert delete and update operation in Join logical file?

935


what are the important factors in error message subfile ?

566


what keyword must be used with protect keyword ?

1120


what is term cua , saa?

953


Write a logic program for knowing the repeated number of a vowels in a given program?

3307


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1004


define the purpose of the iter operation?

1029