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 Return Code = 27451, Error Code = 00002 (Space abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
ravidhiman

New User


Joined: 09 Oct 2006
Posts: 23
Location: London, UK

PostPosted: Mon Aug 09, 2010 2:20 pm    Post subject: FTP Return Code = 27451, Error Code = 00002 (Space abend
Reply with quote

Hello All,

I am facing a problem while ftping file form mainframe system to unix system through JCL. The JCL is failing with max cc = 2875. Following is the FTP code i am using in JCL :
//INPUT DD *
USERNAME PASSWORD
QUOTE SITE CYLINDERS PRIMARY=300 SECONDARY=500
BIN
PUT 'ORG4.MP.LR.BDK.MPDAT113.MPDT113.D%%ODATE' +
'XFR.UAT.GEM.GEL.MPDAT113.MPDT113'
CLOSE
QUIT
//*

I am getting following error in spool:

EZA1701I >>> USER FTPGEMD
331 Send password please.
EZA1701I >>> PASS
230 FTPGEMD is logged on. Working directory is "FTPGEMD.".
EZA1460I Command:
EZA1736I QUOTE SITE CYLINDERS PRIMARY=300 SECONDARY=500
EZA1701I >>> SITE CYLINDERS PRIMARY=300 SECONDARY=500
200 SITE command was accepted
EZA1460I Command:
EZA1736I BIN
EZA1701I >>> TYPE I
200 Representation type is Image
EZA1460I Command:
EZA1736I PUT 'ORG4.MP.LR.BDK.MPDAT113.MPDT113.D100807' +
EZA1736I 'XFR.UAT.GEM.GEL.MPDAT113.MPDT113'
EZA1701I >>> SITE FIXrecfm 205 LRECL=205 RECFM=FB BLKSIZE=32595
200 SITE command was accepted
EZA1701I >>> PORT 107,100,203,23,43,212
200 Port request OK.
EZA1701I >>> STOR 'XFR.UAT.GEM.GEL.MPDAT113.MPDT113'
125 Storing data set XFR.UAT.GEM.GEL.MPDAT113.MPDT113
451-Error: Name=BSMRBF RC=-13
451-System completion code and reason: B37-04
451-Data set is out of space.
451-Error (1013) closing the data set.
451 Transfer aborted due to file error.
EZA1735I Std Return Code = 27451, Error Code = 00002
EZA1701I >>> QUIT
221 Quit command received. Goodbye.

It looks like a space abend. I have override the default space parameters with site command. But still i am getting space abend. If anybody have any idea to resolve this problem please let me know. If anybody need more information about this, I will provide.

Following are the dataset attribues of a dataset which i am trying to FTP:
Data Set Name . . . . : ORG4.MP.LR.BDK.MPDAT113.MPDT113.D100807

General Data Current Allocation
Management class . . : MCORGPS Allocated tracks . : 5
Storage class . . . : STANDAR Allocated extents . : 1
Volume serial . . . : ORG003 +
Device type . . . . : 3390
Data class . . . . . : DCCOMP Current Utilization
Organization . . . : PS Used tracks . . . . : 5
Record format . . . : FB Used extents . . . : 1
Record length . . . : 205
Block size . . . . : 32595
1st extent tracks . : 5
Secondary tracks . : 100
Data set name type : EXTENDED SMS Compressible : YES

Creation date . . . : 2010/08/07 Referenced date . . : 2010/08/09
Expiration date . . : ***None***
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7935
Location: Bellevue, IA

PostPosted: Mon Aug 09, 2010 5:00 pm    Post subject:
Reply with quote

If the data set already exists on the server side, and you exceed the size of that data set with the data you are sending, the system will use your secondary allocation of 500 cylinders to allocate another extent. If the disk pack does not have 500 cylinders free on it, you will get an SB37 abend. Allocating a 500-cylinder secondary extent for a data set that has 5 tracks (one-third of a cylinder) total space seems a bit of overkill -- why not change the 300 primary 500 secondary to 5 5 and see if the FTP completes then?
Back to top
View user's profile Send private message
ravidhiman

New User


Joined: 09 Oct 2006
Posts: 23
Location: London, UK

PostPosted: Mon Aug 09, 2010 6:15 pm    Post subject:
Reply with quote

Hello Robert,

Many Thanks for reply.

I used QUOTE SITE CYLINDERS PRIMARY=5 SECONDARY=5 instead of
QUOTE SITE CYLINDERS PRIMARY=300 SECONDARY=500.

The job completed successfully. I checked, the file has been ftped successfully to other system

Thank you very much. icon_smile.gif

Ravi
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7935
Location: Bellevue, IA

PostPosted: Mon Aug 09, 2010 6:16 pm    Post subject:
Reply with quote

Glad to hear it worked.
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 How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm


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