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 file from PC to Host

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: FTP file from PC to Host
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: 7935
Location: Bellevue, IA

PostPosted: Mon May 02, 2011 11:37 pm    Post subject:
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

Active Member


Joined: 07 Feb 2009
Posts: 989
Location: Oostende, Belgium

PostPosted: Mon May 02, 2011 11:40 pm    Post subject: Re: FTP file from PC to Host
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    Post subject: Reply to: FTP file from PC to Host
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: 7935
Location: Bellevue, IA

PostPosted: Tue May 03, 2011 12:58 am    Post subject:
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    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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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