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 / sachin
Try using this stmt :-
UPDATE TT SET TT = SUBSTR(TT,1,6) || 'Y' || substr(tt,8,6)
Cheers...
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is file access opcodes?
WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)
why is as/400 called object oriented machine?
what is the disadvantage of using global variable?
what is elastic and non elastic subrile?
when should I use method get, and when should I use method post in my cgis?
what are the important factors in error message subfile ?
Explain The Keywords Edtcde & Edtwrd?
can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com
define a shared access path?
maximum number of subfiles that can defined in a rpg program for one display file is?
what is the use of sflend keyword?
how do you pass parameters in cl?
Difference Between Call & Sbmjob?
what is the length of a variable in rpg?