I made some mistakes editing this on my phone, sorry.

You don't need the ",SYMBOLS=(JCLONLY)"

You do need ",SYMBOLS=(EXECSYS)" after INPUT DD*


On Mon, 9 Oct 2023, 19:06 Peter Vels, <peter.v...@gmail.com> wrote:

> I use this:
>
> //FTPS     EXEC PGM=FTP,REGION=4M,
> // PARM=('ENVAR("_CEE_ENVFILE_S=DD:STDENV")/ftpservr 21 -e')
> //STDENV   DD *
> GSK_TRACE=0xFFFF
> GSK_TRACE_FILE=/tmp/gsk.trc
> //SYSFTPD  DD *,SYMBOLS=(JCLONLY)
> CLIENTERRCODES    EXTENDED
> EPSV4             TRUE
> EXTENSIONS        AUTH_TLS
> FWFRIENDLY        TRUE
> KEYRING           PersonalRing
> PASSIVEIGNOREADDR TRUE
> SECUREIMPLICITZOS FALSE
> SECURE_FTP        REQUIRED
> SECURE_MECHANISM  TLS
> SECURE_DATACONN   PRIVATE
> SECURE_CTRLCONN   PRIVATE
> SECURE_HOSTNAME   REQUIRED
> TLSMECHANISM      FTP
> TLSRFCLEVEL       RFC4217
> DEBUG SEC
> TRACE
> //INPUT DD *
> &SYSUID
> dir
> quit
> //OUTPUT DD SYSOUT=*
> //*-------------------------------------------
> //SHOWTRC  EXEC PGM=BPXBATCH,REGION=0M
> //STDOUT   DD SYSOUT=*
> //STDERR   DD SYSOUT=*
> //STDPARM  DD *,SYMBOLS=EXECSYS
> sh gsktrace /tmp/gsk.trc
> //
>
> This example uses TLSMECHANISM FTP but it should not matter.
>
> Credit goes to Wendell Lovewell plus all those who responded to his
> original request for the same thing on this list many years ago.
>
> Please excuse formatting errors.
>
> I hope this is what you need.
>
> Peter
>
> On Mon, 9 Oct 2023, 03:58 Charles Mills, <charl...@mcn.org> wrote:
>
>> @Colin, are we talking about the same trace? The trace I am talking about
>> is the one turned on with the environment variable GSK_TRACE. At least
>> judging from the meanings of the bit flags -- which are fairly similar but
>> not identical -- that is a different trace than the one turned on with
>> TTLSConnectionAction trace nn.
>>
>> Charles
>>
>> On Mon, 9 Oct 2023 08:18:32 +0100, Colin Paice <colinpai...@gmail.com>
>> wrote:
>>
>> >For the command, see the IP admin commands book page 184 in old money or
>> >online
>> ><https://www.ibm.com/docs/en/zos/2.5.0?topic=command-modify-policy-agent
>> >
>> >
>> >f pagent,refresh
>> >
>> >You can set up a pagent definition just for your batch FTPjob with its
>> >trace configured
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to