Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 7910
Location: Bellevue, IA

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: 7910
Location: Bellevue, IA

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
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Developer requirement in Ku... capricorn Mainframe Jobs 0 Sun Oct 23, 2016 3:49 pm
No new posts Interface from Mainframe to Confluenc... hblun CLIST & REXX 4 Tue Sep 20, 2016 5:47 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Admin Openings with CTS enikhilk Mainframe Jobs 0 Tue Sep 13, 2016 10:13 am
No new posts Cards mainframe developer requirement... capricorn Mainframe Jobs 0 Sun Sep 11, 2016 9:57 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us