Use the SEQNUMSUPPORT statement to ignore sequence numbers in files designated by the ddname INPUT.
.-SEQNUMSUPPORT FALSE------. >>-+--------------------------+-------------------------------->< '-SEQNUMSUPPORT -+-TRUE--+-' '-FALSE-'
Suppose dataset: FTP.SUBCMDS(LOGIN) contains no sequence numbers
mvs056.tcp.raleigh.ibm.com
user1
us3rpswd
Suppose dataset: FTP.SUBCMDS(FTPINFO) contains TRAILING sequence numbers
; This comment prevents 00000100 and subsequent sequence numbers 00000100
; from being interpreted as an ftp subcommand. 00000110
locstat 00000120
stat 00000130
pwd 00000140
Suppose dataset: FTP.SUBCMDS(FTPCMDS1) contains no sequence numbers
; This comment indicates no sequence numbers present
get remote.file.name local.name.
Suppose dataset: FTP.SUBCMDS(FTPCMDS2) contains LEADING sequence numbers
00000100; The file indicates leading sequence numbers present
00000110put local.file +
00000120 remote.file
//FTP EXEC PGM=FTP
//SYSPRINT DD SYSOUT=*
//SYSFTPD DD DSN=SYS1.TCPPARMS(FTPCDATA),DISP=SHR
//* Insure that SEQNUMSUPPORT TRUE is coded
//* in the above clients FTP.DATA file
//INPUT DD DSN=FTP.SUBCMDS(LOGIN),DISP=SHR
// DD DSN=FTP.SUBCMDS(FTPINFO),DISP=SHR
// DD DSN=FTP.SUBCMDS(FTPCMDS1),DISP=SHR
// DD DSN=FTP.SUBCMDS(FTPCMDS2),DISP=SHR