I have a problem while iam doing the CPYTOIMPF.
Iam getting the error as copy didnot complete because of reason code 1.it means CCSID of to file and from file is not matching?
iam using the below command to do so
CPYTOIMPF FROMFILE(ARCPGM/&WFLENM) TOSTMF(&CSVDIR) +
MBROPT(*ADD) STMFCODPAG(*PCASCII) +
RCDDLM(*CRLF) DTAFMT(*DLM) NULLIND(*YES)
ARCPGM - library
&wflenm - from file name
&CSVDIR : to file name path
when iam running the command on command line its working fine,when iam submitting the job its throwiing error.
Actually my to file is a Join logical file.
how can i know the CCSID of from and to file in that CPYTOIMPF.
Before this program was running fine,few days back they have upgraded the version of ERP tool to newer version called JDA 7.6 version
please help me with your valuabe answers.
Thanks in advance