IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP file from PC to Host


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rohanatl

New User


Joined: 21 Oct 2005
Posts: 22

PostPosted: Mon May 02, 2011 11:32 pm
Reply with quote

HI All,

I was trying to FTP one text file to host using ISPF Command Shell
the host file should be created with Record lenght =84 and Record format =V.


But when I load the file to mainframe,the record format is VB and I need the file to be in V not VB,Could you please help me how to do this.

**** The file should be created during the FTP process only.


Thanks
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon May 02, 2011 11:37 pm
Reply with quote

Your FTP commands on the PC should include
Code:
QUOTE SITE RECFM=V LRECL=84 BLKSIZE=88


Why the big concern about VB versus V?
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon May 02, 2011 11:40 pm
Reply with quote

rohanatl wrote:
**** The file should be created during the FTP process only.


And which imbecile came up with this ludicrous requirement?
Back to top
View user's profile Send private message
rohanatl

New User


Joined: 21 Oct 2005
Posts: 22

PostPosted: Tue May 03, 2011 12:42 am
Reply with quote

Thanks Robert and Prino..
Quote:
SITE RECFM=V LRECL=84 BLKSIZE=88


when i try my FTP this is how it shows in the ISPF but the once the ftp completes the RECFM is VB.



Quote:
And which imbecile came up with this ludicrous requirement


So we cant ftp a file with record format V? and why?[/quote]
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue May 03, 2011 12:58 am
Reply with quote

Either your site is changing things, or you're not using the right parameters. I used the QUOTE SITE command I posted earlier and my file on the mainframe has attributes of
Code:
 General Data                           Current Allocation
  Management class . . : MCSTRG          Allocated cylinders : 1
  Storage class  . . . : SCSTRG          Allocated extents . : 1
   Volume serial . . . : STRL04
   Device type . . . . : 3390
  Data class . . . . . : **None**       Current Utilization
   Organization  . . . : PS              Used cylinders  . . : 1
   Record format . . . : V               Used extents  . . . : 1
   Record length . . . : 84
   Block size  . . . . : 88
   1st extent cylinders: 1
   Secondary cylinders : 200
   Data set name type  :                 SMS Compressible  :   NO

   Creation date . . . : 2011/05/02      Referenced date . . : 2011/05/02
   Expiration date . . : ***None***
Check with your site support group -- they may be changing the V to VB via SMS rules.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top