Hello,
I need CZPOSTPR to send WTO at end of SFTP transfert to a Coz server so that automation can trap it then schedule batch job.
I think that I have to get IBM FTP exit sample FTPOSTPR then rename to CZ*, then compile in a LINKLIST dataset. Right ?
FTPOSTPR is written in C, I do not have a C compiler; there is an assembler version in the IBM samplib, will Coz work with the assembler version of the exit ?
Any sample of a modified assembler version somewhere ?
Thank you.
Regards.
Need help with CZPOSTPR
Re: Need help with CZPOSTPR
Hi Marc,
Yes, you can use either the C or assembler sample IBM FTPOSTPR exit.
They can be found in:
TCPIP.SEZAINST(FTPOSTPA) (assembler)
TCPIP.SEZAINST(FTPOSTPR) (C)
Besides customizing the messages written by these exits, you just need to rename the load module from FTPOSTPR to CZPOSTPR.
Here is additional documentation on the calling parameters to the FTPOSTPR exit:
http://www-01.ibm.com/support/knowledge ... m%23stprue
There is also some information on CZPOSTPR in our exits guide:
http://dovetail.com/docs/sftp/coz_sftp_exits.pdf
As you can see in the exits guide, the CZPOSTPR exit will only be passed 18 parameters (the 19th was added by IBM some time back).
So if you use the sample IBM FTPOSTPR exits, you will need to change the sample to only check for 18 parameters.
Also noted in our exits guide under "Enabling User Exits":
You can put them in LNKLST. You can also put them in STEPLIB for Co:Z SFTP server by customizing /etc/ssh/sftp-server.rc :
export STEPLIB=MY.STEPLIB
(Note that for CZPOSTPR, you do *not* need this library to be APF authorized.)
You will also want to enable the "reqexits" setting in /etc/ssh/cozsftp_server_config.
For more information on this setting, see: http://dovetail.com/docs/sftp/options.h ... ns_general
Yes, you can use either the C or assembler sample IBM FTPOSTPR exit.
They can be found in:
TCPIP.SEZAINST(FTPOSTPA) (assembler)
TCPIP.SEZAINST(FTPOSTPR) (C)
Besides customizing the messages written by these exits, you just need to rename the load module from FTPOSTPR to CZPOSTPR.
Here is additional documentation on the calling parameters to the FTPOSTPR exit:
http://www-01.ibm.com/support/knowledge ... m%23stprue
There is also some information on CZPOSTPR in our exits guide:
http://dovetail.com/docs/sftp/coz_sftp_exits.pdf
As you can see in the exits guide, the CZPOSTPR exit will only be passed 18 parameters (the 19th was added by IBM some time back).
So if you use the sample IBM FTPOSTPR exits, you will need to change the sample to only check for 18 parameters.
Also noted in our exits guide under "Enabling User Exits":
You can put them in LNKLST. You can also put them in STEPLIB for Co:Z SFTP server by customizing /etc/ssh/sftp-server.rc :
export STEPLIB=MY.STEPLIB
(Note that for CZPOSTPR, you do *not* need this library to be APF authorized.)
You will also want to enable the "reqexits" setting in /etc/ssh/cozsftp_server_config.
For more information on this setting, see: http://dovetail.com/docs/sftp/options.h ... ns_general
Re: Need help with CZPOSTPR
Hello,
Sorry I forgot to say "thank you". This helped me a lot.
Sorry I forgot to say "thank you". This helped me a lot.