How To Set Up FTP Application Name For Pass Tickets?

Document ID : KB000020569
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

We have an application, which uses FTP and the goal is to set up a pass ticket authentication with FTP.

The issue we have is that each FTP instance has got an application name starting with the job name of the FTP address space followed by an increment.

So, we can not define every variation of that application name in the NDT.

Solution:

The only way to do this is to force an application name to the FTP address space.

This can be done by 'forcing' a job name when the FTP STC starts as follows:

FTP and pass ticket:

//FTPD1    PROC PARMS='ENVAR("_BPX_JOBNAME=TCPFTPM")'
//FTPD     EXEC PGM=FTPD,REGION=0M,TIME=NOLIMIT,     
//         PARM='&PARMS/POSIX(ON) ALL31(ON)'    

Uthe variable _BPX_JOBNAME to 'force' what will be taken as application name.

In the above sample 'TCPFTPM' is the chosen name and it will be defined to the TSS NDT.