Author: abdulrafi
Posted: Mon Apr 03, 2017 3:59 pm (GMT 5.5)
Hi,
Need one more help. With same inputs and jcls, I have 2 control cards and am executing a XMITIP step to send the reports to users. Currently my XMITIP steps splits the single ESHP file to two seperate reports, one with data containing key vauke 21805 and other containing 21809.
Same applies with INVOICE SUMMARY as well.
I am able to achieve it by sending it in 2 seperate mails. But i need to send the reports in single mail. The challenge I am facing is, the keys are same for both files here. Hence i am unable to merge both.
Note: The layouts of both files are different.
Please let me know if there is a way to send the reports in single mail as attachments.
Below are the two control cards,
_________________
Thanks,
Abdul Rafi
Posted: Mon Apr 03, 2017 3:59 pm (GMT 5.5)
Hi,
Need one more help. With same inputs and jcls, I have 2 control cards and am executing a XMITIP step to send the reports to users. Currently my XMITIP steps splits the single ESHP file to two seperate reports, one with data containing key vauke 21805 and other containing 21809.
Same applies with INVOICE SUMMARY as well.
I am able to achieve it by sending it in 2 seperate mails. But i need to send the reports in single mail. The challenge I am facing is, the keys are same for both files here. Hence i am unable to merge both.
Note: The layouts of both files are different.
Please let me know if there is a way to send the reports in single mail as attachments.
Below are the two control cards,
Code: |
SEPLOC=102/5 KEYV=21805 KEYMAIL=abdul.rafi@gmail.com MERGEMAIL KEYV=21809 KEYMAIL=abdul.rafi@gmail.com MERGEMAIL SUBJECT=FILES &JOB XMITIPCONFIG=DD:XMCC FILENAME=ESHP_&SEPVAL.TXT SEPLOC=129/5 KEYV=21805 KEYMAIL=abdul.rafi@gmail.com MERGEMAIL KEYV=21809 KEYMAIL=abdul.rafi@gmail.com MERGEMAIL SUBJECT=INV SUMMARY &JOB XMITIPCONFIG=DD:XMCC FILENAME=INVOICE_SUMMARY_&SEPVAL.TXT |
_________________
Thanks,
Abdul Rafi