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

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

Senior Member


Joined: 07 Feb 2009
Posts: 1017
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: 8055
Location: East Dubuque, Illinois, USA

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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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