I have the file mentioned below in the FTP location.
KCQ_20170309122124_OP.txt
KCQ_20170309122124_OP.txt
KCQ_20170309122124_OP.txt
KCQ_20170309122124_OP.txt
I would need to copy all the files into a GDG generation. I tried using the below mentioned JCL.
//S010 EXEC PGM=FTP,PARM='(EXIT TRANSLATE ISO'
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
11.11.11.12
user
password
CD ABC/TEST
ascii
LOCSITE REC=FB LR=80
GET '*.txt' 'ABC.XYZ.PQR(+1)' (REPLACE
quit
/*
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
11.11.11.12
user
password
CD ABC/TEST
ascii
LOCSITE REC=FB LR=80
GET '*.txt' 'ABC.XYZ.PQR(+1)' (REPLACE
quit
/*
The job failed with error code as mentioned below.
550 The filename, directory name, or volume label syntax is incorrect.
EZA1735I Std Return Code = 16550, Error Code = 00002
EZA1735I Std Return Code = 16550, Error Code = 00002
Could you please suggest me how I can achieve this?
Regards,
Balesh GG