Hi All,
I have a question regarding FTP which I am using in job. I have define Step like "//CPN73A6 EXEC PGM=FTP,COND=(4,LT),PARM=' (EXIT=12' ". Below is my requirement.
1. When execute the job & file is not present in the specfied dir. then job returns the MAXCC = 12. Is there a way that I can suppress the MAXCC = 12 & set that to MAXCC = 00 somethng similar to what we use in IDCAMS i.e. If MAXCC = 16 then SET MAXCC = 00.
2. If File is present in the specified dir. then copy the content to the Dataset, If file is not present then Create Empty Data Set. Below is an example.
GET /var/local/cmfextract/extract_data/test_ftp_file.dat 'NT.SMS.DTPR.TEST.DATA' (REPLACE
If test_ftp_file.dat is present in the specified path then copy the content to 'NT.SMS.DTPR.TEST.DATA'. If file is not present then ''NT.SMS.DTPR.TEST.DATA' to be created as an Empty Data Set
Note: Would prefer to have PARM = '(EXIT = 12'.
Thanks
Kind Rgd's