IMHO, the clue to this is in his printout.
PGM=FTPD,REGION=0M,TIME=NOLIMIT,PARM='POSIX(ON) ALL31(ON)/TRACE PORT 990'
IEF043I Actions taken by SMFLIMxx parmlib policy for FTPSD FTPD
Step MEMLIMIT set to ONOUDONT by policy - SMFLIM00 0002
So, it looks some exit is killing the task because he has REGION=0M.
The SMFLIMxx policy is killing the task (ONOUDONT).
Joe
On Mon, Jul 27, 2020 at 4:42 PM Charles Mills <[email protected]> wrote:
> Oh man! Talk about user-hostile programming. How could anyone ship a
> customer-facing program that detects an error and then just quits with (a.)
> RC=0 and (b.) no message whatsoever. No "Hello World I am FTPD V2R3" and no
> error message. Even if you can't open your usual log or listing file you
> can
> WTO 'Unable to open SYSPRINT' (or whatever) or issue a documented ABEND.
>
> Charles
>
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Seymour J Metz
> Sent: Monday, July 27, 2020 8:31 AM
> To: [email protected]
> Subject: Re: Started task stopping immediately. No error messages.
>
> It looks like you're using JES3. I thought thad SDSF didn't support it.
>
> CC 0 would have been a useful datum in the original question. It looks like
> the FTP server doesn't issue an informational message when a copy is
> already
> running. RFE?
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> ________________________________________
> From: IBM Mainframe Discussion List [[email protected]] on behalf
> of
> Skippy the Ancient [[email protected]]
> Sent: Monday, July 27, 2020 8:48 AM
> To: [email protected]
> Subject: Re: Started task stopping immediately. No error messages.
>
> Responding to all posters, not just Mr Metz.
>
> 1. I already tried calling the proc from JCL. It ran, stopped immediately
> and returned no error messages.
> 2. I started the proc with the MSGCLASS and did receive output. It was
> identical to the JCL call; immediate stop and no error messages. I will
> post this below.
> 3. The started task is a second FTP server supporting FTPS. To simplify, I
> copied the FTPD proc and renamed it FTPSD. In theory, it is running
> exactly
> as the original FTPD task with a different port. (990)
> 4. The PROFILE update reads like this -
> AUTOLOG
> FTPSD JOBNAME FTPSD ; FTPS SERVER
> ENDAUTOLOG
> PORT
> 989 TCP OMVS ; FTPS SERVER
> 990 TCP FTPSD NOAUTOLOG ; FTPS SERVER
>
> Here is the output of running the started task - (system specifics changed
> for security reasons)
> 08:26:31 ---- IAT6853 THE CURRENT DATE IS MONDAY, 27 JUL 2020 ----
> 08:26:31 IAT4401 LOCATE FOR STEP=FTPD DD=STEPLIB
> DSN=SYSX.TCPIP.SEZATCP
> 08:26:31 IAT4402 UNIT=3390 ,VOL(S)=XYZZY
> 08:26:31 IAT4401 LOCATE FOR STEP=FTPD DD=STEPLIB
> DSN=SYSX.TCPIP.XXLOAD
> 08:26:31 IAT4402 STORCLAS=XYZZY, MGMTCLAS=XYZZY
> 08:26:31 IAT4401 LOCATE FOR STEP=FTPD DD=SYSFTPD
> DSN=SYSX.TCPIP.PARMLIB
> 08:26:31 IAT4402 STORCLAS=XYZZY, MGMTCLAS=XYZZY
> 08:26:31 IAT4401 LOCATE FOR STEP=FTPD DD=SYSTCPD
> DSN=SYSX.TCPIP.PARMLIB
> 08:26:31 IAT4402 STORCLAS=XYZZY, MGMTCLAS=XYZZY
> 08:26:31 IEF695I START FTPSD WITH JOBNAME FTPSD IS ASSIGNED TO USER
> FTPSD , GROUP XXXXXXXX
> 08:26:31 ACF9CCCD USERID FTPSD IS ASSIGNED TO THIS JOB - FTPSD
> 08:26:31 IEF403I FTPSD - STARTED - TIME=08.26.31
> 08:26:31 IEF404I FTPSD - ENDED - TIME=08.26.31
> //FTPSD JOB MSGCLASS=T, *
> // MSGLEVEL=1
> //STARTING EXEC FTPSD
> 1 //FTPSD JOB MSGCLASS=T,
> *
> // MSGLEVEL=1
> 2 //STARTING EXEC FTPSD
> 3 XXFTPSD PROC MODULE='FTPD',PARMS='TRACE PORT 990'
> 4 XXFTPD EXEC PGM=&MODULE,REGION=0M,TIME=NOLIMIT,
> XX PARM='POSIX(ON) ALL31(ON)/&PARMS'
> IEFC653I SUBSTITUTION JCL -
> PGM=FTPD,REGION=0M,TIME=NOLIMIT,PARM='POSIX(ON) ALL31(ON)/TRACE PORT 990'
> 5 XXSTEPLIB DD DSN=SYSX.TCPIP.SEZATCP,DISP=SHR
> 6 XX DD DSN=SYSX.TCPIP.XXLOAD,DISP=SHR
> 7 XXCEEDUMP DD SYSOUT=*
> 8 XXSYSOUT DD SYSOUT=*
> 9 XXSYSFTPD DD DISP=SHR,DSN=SYSX.TCPIP.PARMLIB(FTPSSL)
> 10 XXSYSTCPD DD DISP=SHR,DSN=SYSX.TCPIP.PARMLIB(TCPDATA)
> STMT NO. MESSAGE
> 2 IEFC001I PROCEDURE FTPSD WAS EXPANDED USING SYSTEM LIBRARY
> SYSX.PROCLIB
> IEF695I START FTPSD WITH JOBNAME FTPSD IS ASSIGNED TO USER FTPSD ,
> GROUP USSGRPX
> IEF043I Actions taken by SMFLIMxx parmlib policy for FTPSD FTPD
> Step MEMLIMIT set to ONOUDONT by policy - SMFLIM00 0002
> IEF142I FTPSD FTPSD - STEP WAS EXECUTED - COND CODE 0000
> IEF373I STEP/FTPD /START 2020209.0826
> IEF032I STEP/FTPD /STOP 2020209.0826
> CPU: 0 HR 00 MIN 00.08 SEC SRB: 0 HR 00 MIN 00.00
> SEC
> VIRT: 80K SYS: 216K EXT: 2220K SYS: 9108K
> ATB- REAL: 12K SLOTS: 0K
> VIRT- ALLOC: 7M SHRD: 0M
> IEF375I JOB/FTPSD /START 2020209.0826
> IEF033I JOB/FTPSD /STOP 2020209.0826
> CPU: 0 HR 00 MIN 00.08 SEC SRB: 0 HR 00 MIN 00.00
> SEC
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN