IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Mainframe FTP - pls help


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
baratchandar

New User


Joined: 13 Jun 2009
Posts: 11
Location: chennai

PostPosted: Wed Mar 11, 2015 11:15 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 12, 2015 3:16 am
Reply with quote

What are the precise commands you put in the FTP job?
Back to top
View user's profile Send private message
baratchandar

New User


Joined: 13 Jun 2009
Posts: 11
Location: chennai

PostPosted: Thu Mar 12, 2015 3:33 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 12, 2015 7:38 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Looking for mainframe system programmers Mainframe Jobs 0
No new posts Proc print in Mainframe All Other Mainframe Topics 4
No new posts Need opinion on mainframe to cloud mi... General Talk & Fun Stuff 6
No new posts Looking for Mainframe Project Manager Mainframe Jobs 0
No new posts Mainframe jcl job with href links not... All Other Mainframe Topics 3
Search our Forums:

Back to Top