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 from Mainframe

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kcprem

New User


Joined: 30 Jun 2005
Posts: 18

PostPosted: Fri Jul 01, 2005 11:00 pm    Post subject: FTP from Mainframe
Reply with quote

Dear All, Good Morning,

I have downloaded VB format dataset from Mainframe to PC. Then I have uploaded the file from PC to Mainframe as a new dataset. While comparing the new dataset with original dataset, the data is not matching. If the dataset is FB format it's matching.

Can anyone help me how to solve this FTP issue with VB format datasets?

FYI, I did this ftp with Binary mode.

Thanks,
Prem
icon_smile.gif
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Sat Jul 02, 2005 12:46 am    Post subject: Re: FTP from Mainframe
Reply with quote

I've been looking at this issue from a bunch of different angles, and I can't see a solution that doesn't compromise the integrity of the data. Why you wish to do this process, I don't know, but here is what I see to be the major issues:

As you know, the VB dataset format uses the RDW (Record Descriptor Word) in the first 4 bytes to indicate the length of the record. You can remove the RDW (which is the default) or keep in with the data (LOCSITE RDW), but I can't see where it would help any on a binary transfer. Since VB records don't contain trailing blanks, then specifying LOCSITE TRAIL to retain any trailing blanks isn't going to help either. When you specify a binary transfer, then you lose the inter-record seperator indicators (which on an ASCII transfer would convert the END-OF-RECORD (hex '15') to a Carriage-Return/Line Feed (hex '0D0A')). So, in essence, you create a continuous stream of bits without any indicators as to how to properly re-assemble them after the upload.

Now, if you were to just transfer the data as ASCII without the RDW or trailing blanks, it would probably work.
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Sat Jul 02, 2005 1:29 am    Post subject: Re: FTP from Mainframe
Reply with quote

I tried in the TEXT - TO ASCII format and both the files were same. It may be worth a try.
Back to top
View user's profile Send private message
Virgon
Warnings : 1

New User


Joined: 17 Jun 2005
Posts: 14
Location: Chennai

PostPosted: Sat Jul 02, 2005 3:01 pm    Post subject: Re: FTP from Mainframe
Reply with quote

Hi ,
One more option which I tried and successful was with PKZIP.

1. PKZIP the file and do a PUT FTP
2. Do a GET FTP and UNZIP

Thanks,
Virgon
Back to top
View user's profile Send private message
kcprem

New User


Joined: 30 Jun 2005
Posts: 18

PostPosted: Wed Jul 06, 2005 5:55 am    Post subject: Re: FTP from Mainframe
Reply with quote

Hi All,

Sorry for this late reply.

Hi die7nadal,

I tried with text mode, still the data's are not matching.

Hi Virgon,

First I want to download the dataset from Mainframe.

You are asking me to compress the file using pkzip.

Where you have the PKZIP software? in Mainframe or PC?

Thanks & Regards,
Prem
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Wed Jul 06, 2005 6:45 pm    Post subject: Re: FTP from Mainframe
Reply with quote

I'm pretty sure that Virgon meant PKZIP/MVS on the mainframe.
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 -> JCL & VSAM 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