Subscribe to keep this site alive! Under new management but as always, still 100% FREE. Anyone with the IBM i is a friend of ours.
The Challenge: What I am looking for is a way to email the data within the communication session without having to go into each session one at a time.
The Solution: The software has a feature that gives you the capability to run a user exit that will do all these.
Whatever you configure as a Post Communication User Exit will be passed the master communication session. To get the actual files (sub-sessions), you will need to call the USUBSSN (API) and loop thru it to gather all of the sub-sessions. Once, you have the sub-session, you can grab the file using the SSNCPYPRT (API) to put it to an IBMi Physical File which you could CPYTOSTMF to the IFS.
Afterwhich, the IFS files can be zipped and attached to an email.
Thinking of a new CHALLENGE? Let us know HERE.
#ALDON #ARCAD #TUROVER