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

Copy from txt to dsn using FTP - getting space abend


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rsm_deepak

New User


Joined: 06 Apr 2005
Posts: 30
Location: visakhapatnam

PostPosted: Tue Aug 03, 2010 2:08 pm
Reply with quote

I am copying from txt file to dsn using FTP
as follows
GET ABCD.TXT 'TEST.GRPID.TRANS'

but it abending due to space issue B37-04.

Can any one suggest to avoid this space issue
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Aug 03, 2010 2:10 pm
Reply with quote

Yes, increase the space allocated on the mainframe.

As you haven't shown much detail, I guess that will be about the most useful answer you will get.
Back to top
View user's profile Send private message
rsm_deepak

New User


Joined: 06 Apr 2005
Posts: 30
Location: visakhapatnam

PostPosted: Tue Aug 03, 2010 2:12 pm
Reply with quote

Can I know how to increase? Its a new dataset
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Aug 03, 2010 2:18 pm
Reply with quote

How is the dataset currently allocated, does it exist already or is it created by the FTP process.

This information, or lack of, is what was meant by my previous comment
expat wrote:
As you haven't shown much detail, I guess that will be about the most useful answer you will get.
Back to top
View user's profile Send private message
rsm_deepak

New User


Joined: 06 Apr 2005
Posts: 30
Location: visakhapatnam

PostPosted: Tue Aug 03, 2010 2:23 pm
Reply with quote

Yes it getting created by FTP process so I am trying to use
GET ABCD.TXT 'TEST.GRPID.TRANS' (REPLACE
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Aug 03, 2010 2:47 pm
Reply with quote

Oh gosh, I do so adore a game of 20 questions, it's so exciting icon_cry.gif

How is the dataset getting created by the FTP process. Is it via a JCL DD specification or by a specification in the FTP SYSIN, probably LOCSITE as you are performing a GET.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Aug 03, 2010 3:09 pm
Reply with quote

rsm_deepak,

if you were to look at the attributes of the dsn,
you will probably see that they are variable as apposed to fixed.

often it is easier to allocate (ISPF option 3.2) the dsn prior to the ftp.
that way you can make it fixed and the correct (or desired) record size.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Aug 03, 2010 3:19 pm
Reply with quote

a B37 is part of the IEC030I message which you did not bother to provide.
It is obvious you know little or nothing about the process,
why be so shortsighted and not bother to provide the complete error message.

i suggest that you
for IEC030I, reason code 04 which indicates volume exhausted.

you need to accomplish a little prep-work, such as how large is this txt file?
as I said in the previous post, determine your record size and block size,
and pre-allocate accordingly.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top