View previous topic :: View next topic
|
Author |
Message |
baratchandar
New User
Joined: 13 Jun 2009 Posts: 11 Location: chennai
|
|
|
|
I tried to copy the file from windows server to Mainframe using JCL and command prompt. I am seeing the first three invalid characters in the mainframe o;?. But the source file looks fine .
Source file data
0000891234
Destination file(mainframe after FTP)
o;?0000891234
Can you please help me to understand how is this happening.
Recently changed the source fie server details., from that point i am seeing the issue. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
What are the precise commands you put in the FTP job? |
|
Back to top |
|
|
baratchandar
New User
Joined: 13 Jun 2009 Posts: 11 Location: chennai
|
|
|
|
Robert Sample wrote: |
What are the precise commands you put in the FTP job? |
Pls find the FTP commands used in the JCL and would let me know whether below info helps
SERVER ADDRESS
username
password
LOCSITE CY PRI=50 SEC=15 REC=FB LR=100 RETPD=0
cd /a/b/path
get source 'xxxxx.xxx.xxx' (replace
dir
quit
//PSTEP030 EXEC PGM=FTP
//INPUT DD DSN=&ftpPARM,DISP=SHR
//OUTPUT DD DSN=*FTPLOG,
// DISP=(,CATLG,DELETE),
// UNIT=&PDISK,
// SPACE=(TRK,(1,1),RLSE),
// RECFM=FB,LRECL=133
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=* |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I would delete the data set and rerun the FTP so the data set is allocated new. o;? are EBCDIC X'965E6F' or ASCII X'6F3B3F' which don't ring any bells for special characters. The characters are either in the source data set (even if not visible) or they are inserted during the FTP or they are in the destination data set and not getting replaced by the FTP. |
|
Back to top |
|
|
|