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 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: 8212
Location: Dubuque, Iowa, 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: 1074
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: 8212
Location: Dubuque, Iowa, 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 COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am

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