View previous topic :: View next topic
|
Author |
Message |
rohanatl
New User
Joined: 21 Oct 2005 Posts: 22
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
rohanatl wrote: |
**** The file should be created during the FTP process only. |
And which imbecile came up with this ludicrous requirement? |
|
Back to top |
|
|
rohanatl
New User
Joined: 21 Oct 2005 Posts: 22
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|