Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum 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: 8501
Location: Dubuque, Iowa, 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: 8501
Location: Dubuque, Iowa, 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 Enabling Crosshair cursor in mainframe priya_t23 TSO/ISPF 2 Wed Nov 06, 2019 11:29 am
No new posts Convert mainframe data to .csv format... karan_reddy DFSORT/ICETOOL 10 Sat Nov 02, 2019 2:09 am
No new posts how are mainframe (z/OS) updates inst... martin schlatter All Other Mainframe Topics 5 Tue Oct 08, 2019 1:20 am
No new posts Mainframe datasets without any last r... rajatbagga All Other Mainframe Topics 1 Tue Sep 24, 2019 8:47 am
No new posts Mainframe - PL1, JCL, DB2 opening - 5... Rathish123 Mainframe Jobs 0 Tue Jul 16, 2019 8:13 pm

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