Igor Pribysh replied to Miguel Soltero Diaz's discussion Conditionally send an email based in RC in Mainframe
"Here is my code. I am sending an attachment to a group of people, there is nothing in the body of the email:
// IF (STEP1.RC NE 0) THEN                                      
//**************************************************************** 
//*   …"
Dec 14, 2017
Igor Pribysh replied to Miguel Soltero Diaz's discussion Conditionally send an email based in RC in Mainframe
"Miguel - sure, it should be a separate step! Did you want to send an email as part of your Syncsort step?
Glad you were able to do it!"
Dec 14, 2017
Igor Pribysh replied to Miguel Soltero Diaz's discussion Conditionally send an email based in RC in Mainframe
"Miguel,
Yes, you can conditionally execute a batch TSO step (EXEC PGM=IKJEFT1B) and use a %XMITIP command in it. Works beautifully!
Igor"
Dec 14, 2017
Igor Pribysh is now a member of Mainframe
Dec 14, 2017
Igor Pribysh is now a member of Syncsort Community
Dec 14, 2017