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
 

 

Copy from txt to dsn using FTP - getting space abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rsm_deepak

New User


Joined: 06 Apr 2005
Posts: 31
Location: visakhapatnam

PostPosted: Tue Aug 03, 2010 2:08 pm    Post subject: Copy from txt to dsn using FTP - getting space abend
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: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 03, 2010 2:10 pm    Post subject:
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: 31
Location: visakhapatnam

PostPosted: Tue Aug 03, 2010 2:12 pm    Post subject: Reply to: Copy from txt to dsn using FTP - getting space abe
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: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 03, 2010 2:18 pm    Post subject:
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: 31
Location: visakhapatnam

PostPosted: Tue Aug 03, 2010 2:23 pm    Post subject: Reply to: Copy from txt to dsn using FTP - getting space abe
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: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 03, 2010 2:47 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
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 syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


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