IBM Support

FTP Batch job failing when using INPUT DD

Troubleshooting


Problem

A FTP batch job using an INPUT DD fails to read the FTP subcommands in this data set, causing the FTP batch job to fail.

Symptom

A FTP batch job using an INPUT DD fails to read the FTP subcommands in this data set, causing the FTP batch job to fail.

Cause

The data set pointed to by the INPUT DD is PACKed using ISPF Edit. Data that is PACKed cannot be directly accessed by programs. Packing Data in the Interactive System Productivity Facility (ISPF) Edit and Edit Macros manual has more information on this.

Diagnosing The Problem

FTP batch job output will look like:
EZA1736I FTP (EXIT
EZY2640I Using 'TCPIP.FTP.DATA' for local site configuration parameters.
EZA1450I IBM FTP CS V1R9
EZA1466I FTP: using TCPIP
EZA1772I FTP: EXIT has been set.
EZA1456I Connect to ?
EZA1736I QUIT generated by unexpected end of file

Resolving The Problem

Turn PACK OFF on the data set

[{"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"All","Platform":[{"code":"PF035","label":"z\/OS"},{"code":"PF025","label":"Platform Independent"}],"Version":"1.6;1.7;1.8;1.9;1.10;1.11;1.12;1.13;2.1;2.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

More support for:
z/OS Communications Server

Software version:
1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 2.1, 2.2

Operating system(s):
z/OS

Document number:
621731

Modified date:
15 June 2018

UID

swg21376761