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
 

 

Copying from Tape to Dasd

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Copying from Tape to Dasd
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: 1771
Location: Bloomington, IL

PostPosted: Thu Jun 23, 2011 11:01 pm    Post subject:
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    Post subject:
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: 8119
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jun 23, 2011 11:23 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Jun 24, 2011 3:07 pm    Post subject:
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    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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts stacking files on a tape Pedro JCL & VSAM 7 Wed Aug 17, 2016 11:11 pm


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