Author: vinu78
Posted: Tue Mar 14, 2017 9:43 pm (GMT 5.5)
Arun,
Yes you got the requirement right. A little bit detailed mentioning is - Step01 will do SELECT query of DB2 table (using IKJEFT01 with DSNTIAUL) and the rows extracted (no rows, 1 row or 1+ row) are stored in a flat file. This flat file is validated in STEP02 for Maxcc check that is used to send email in STEP03.
Case 1 is No records or 1+ record => Send an email from STEP03
Case 2 is exactly 1 record => Don't send email. Bypass Step03.
I have tried using ICETOOL and it gave some error as TOOLMSG not detected, and so I thought this DFSORT utility won't work in our shop.
Thanks
Vinu
Posted: Tue Mar 14, 2017 9:43 pm (GMT 5.5)
Arun,
Yes you got the requirement right. A little bit detailed mentioning is - Step01 will do SELECT query of DB2 table (using IKJEFT01 with DSNTIAUL) and the rows extracted (no rows, 1 row or 1+ row) are stored in a flat file. This flat file is validated in STEP02 for Maxcc check that is used to send email in STEP03.
Case 1 is No records or 1+ record => Send an email from STEP03
Case 2 is exactly 1 record => Don't send email. Bypass Step03.
I have tried using ICETOOL and it gave some error as TOOLMSG not detected, and so I thought this DFSORT utility won't work in our shop.
Thanks
Vinu