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
 
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: 8165
Location: East Dubuque, Illinois, USA

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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Error in SQL-PLIST3 'Above value tru... rikdeb DB2 4 Wed Sep 06, 2017 1:34 pm

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