Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Mainframe FTP - pls help

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Mainframe FTP - pls help
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 12, 2015 3:16 am    Post subject:
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    Post subject: FTP code
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 12, 2015 7:38 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us