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
 

 

FTP Issue - Data was truncated

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Wed Jul 22, 2009 8:57 pm    Post subject: FTP Issue - Data was truncated
Reply with quote

Hi all.

I am trying to pull a mainframe DS into my local drive. Below is the JCL i used but it's not transfering. Please help me on this

//STEP0100 EXEC PGM=FTP,PARM='(EXIT=8'
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//FTPIN DD DSN=SSYG.USER.TEST.NEW1000,DISP=SHR
//SORTOUT DD SYSOUT=*
//SYSIN DD *
IP
USERID
PWD
QUOTE SITE TRAIL
GET 'SSYG.USER.TEST.NEW1000' TEST.JCL
QUIT
/*


Quote:
EZA1736I GET 'SSYG.USER.TEST.NEW1000' TEST.JCL

200 Port request OK.
EZA1701I >>> RETR 'SSYG.USER.TEST.NEW1000'
125 Sending data set SSYG.USER.TEST.NEW1000 FIXrecfm 650

250 Transfer completed successfully.
EZA1617I 4564 bytes transferred in 0.010 seconds. Transfer rate 456.40 Kbytes/s
EZA2802I Data was truncated.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Wed Jul 22, 2009 9:25 pm    Post subject:
Reply with quote

Quote:
EZA1617I 4564 bytes transferred in 0.010 seconds. Transfer rate 456.40 Kbytes/s
Contrary to your statement, the file was transferred as this quote from your post shows.

Go into ISPF, option 3.4, and type <USERID>.TEST and hit enter -- you'll probably see a <USERID>.TEST.JCL file, which is the file you transferred from the other server. The actual LRECL and BLKSIZE depend upon how your site defaults are set up.

Using a GET command in your JCL always transfers from the remote server to the mainframe -- never from the mainframe to the remote server. Your JCL did exactly what you said to do, so don't say the file wasn't transferred.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 23, 2009 6:00 am    Post subject:
Reply with quote

Hello,

Also, if you want to transfer a file from the mainframe to your local drive, you will most likely need to use the ftp client on your local system to "get" the file rather than a mainframe job to "put" the file. . .

Most organizations do not permit individual local pc to run as an ftp server so the mainframe job would have nothing to connect to on your local system.

Quote:
Using a GET command in your JCL always transfers from the remote server to the mainframe
You accessed a mainframe server as the remote server. . .
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm


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