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

Copying from Tape to Dasd


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

New User


Joined: 27 Nov 2008
Posts: 51
Location: Delhi, India

PostPosted: Thu Jun 23, 2011 10:48 pm
Reply with quote

When I am trying to copy data from one tape file(have millions of records)
to one flat file I am getting EB37 error.

I increased the primary and secondry cylenders. Also gave separate vol parameter. Still getting the same error.

Please advise.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Jun 23, 2011 11:01 pm
Reply with quote

I presume that you mean an SB37 abend? (You are aware that there is also an SE37 abend, yes?)

Have you calculated the size of the data set on tape? Does your JCL allocate the proper number of cylinders for that data set? Have you verified with your storage management that that much space is actually available, and that they won't come after you with tar, feathers, and a fence rail for using it?
Back to top
View user's profile Send private message
ppandey07

New User


Joined: 27 Nov 2008
Posts: 51
Location: Delhi, India

PostPosted: Thu Jun 23, 2011 11:11 pm
Reply with quote

Akatsukami wrote:
I presume that you mean an SB37 abend? (You are aware that there is also an SE37 abend, yes?)

Have you calculated the size of the data set on tape? Does your JCL allocate the proper number of cylinders for that data set? Have you verified with your storage management that that much space is actually available, and that they won't come after you with tar, feathers, and a fence rail for using it?


Yes B37 abend.
No, I have not calculated the size of the data set on tape.
Yes I gave max cyl(999,999) in jcl for that dataset. Not verified with your storage management that that much space is actually available
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 23, 2011 11:23 pm
Reply with quote

Quote:
No, I have not calculated the size of the data set on tape.
Yes I gave max cyl(999,999) in jcl for that dataset. Not verified with your storage management that that much space is actually available
If you don't know how big the tape is, how are you going to know how much disk space to allocate?

Depending upon the release of z/OS in use at your site, and your site's storage management policies, there typically is a limit of 4,369 cylinders per data set on a single volume. You may specify more than that but even if the disk volume has the space availalble, you cannot use it.

Go back to the beginning and calculate how many cylinders will be needed on disk for the tape data set. Then, contact your site storage management group and work with them to get the space available for your data set. This may require using a special qualifier in the data set name or something else to indicate where the data set is to be stored. Only then are you ready to execute the JCL to do the copy.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Jun 24, 2011 3:07 pm
Reply with quote

Well, why don't you search the Forum on B37?
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 Deleting a Tape file JCL & VSAM 14
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts DASD - non SMS - volser change - VSAM... JCL & VSAM 2
No new posts Copying GDG version(all/few) from pro... CLIST & REXX 13
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
Search our Forums:

Back to Top