I prefer to use a Webservice for this kind of requirements, but that is not in scope in this question
So I have to write a trigger (or trigger-like program) on the IFS, that will be fired when a File is added to a specified path (or even a specific file extention)
Writing a NEP is no option because of the immediate action I have to take.
I found the next options:
- Use an ExitProgram on QIBM_QP0L_SCAN_CLOSE
- set Journaling to the specific IFS-path
- .... any other sugestion is more then welkome
Defining the Exit program keep telling me :
CPF3CE5 ; Exit point QIBM_QP0L_SCAN_CLOSE with format SCCL0100 will not allow exit program MyEXIT library MyLIB to be added.
I also not convinced that this is the right way, because every close action in the IFS will trigger this program (not only one specific path I assume)
Journaling is maybe better but:
RCVJRNE seems to loop through all entries and give unreadable data to my program (lots of questionmarks).
I'm out of ideas... don't know what I have to specify to solve this.