Hi Experts,
In current requirement i need transfer the PDF files from windows to UNIX machine using JCL script,i'm able to transfer the pdf files to unix server but not able to view the data as i'm getting the below error
"Adobe reader could not open the '9245843.pdf' because it is either not a supported file type or because the file has been damaged "
i am calling the below program in JCL job
####################################################
# Description :#
# # Modified :
####################################################
set _echo=yes
set halton=warn
set day=$(_date.dd)
set month=$(_date.mm)
set year=$(_date.yyyy)
open src=machine_name1 xfile=pwdfile1 tgt=mchine_name2 file=pwdfile2
status
mode type=text
cd src=path1
cd tgt=path2
attrib tgt createop=replace
COPY src=$(month)$(day)$(year)name.PDF tgt=$(month)$(day)$(year)name.PDF
quit
i have doubt in mode type from the above code--- "mode type=text" Can you please help me to find the solution.