AS400 SQL: No. Of Rows affected by previous sql statement



D Spec:
DRows             S             10I 0 Inz(0)


Exec Sql
Delete from TBL1 where UserNm = 'TEST1';                               

 Exec Sql Get DIAGNOSTICS :Rows = Row_Count;              
 Text = 'Deleted :' + %Char(Rows);                        

Comments

Popular posts from this blog

AS400 : Add a new line in text in email SNDSMTPEMM

AS400 Display: Radio Button (SNGCHCFLD)

AS400 Display File: Check Box (MLTCHCFLD)