View previous topic :: View next topic
|
Author |
Message |
ppandey07
New User
Joined: 27 Nov 2008 Posts: 51 Location: Delhi, India
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
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 |
|
|
ppandey07
New User
Joined: 27 Nov 2008 Posts: 51 Location: Delhi, India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Well, why don't you search the Forum on B37? |
|
Back to top |
|
|
|