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
 

 

How to browse the contents of a tape file
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 8:48 am    Post subject: How to browse the contents of a tape file
Reply with quote

How to browse the contents of a tape file? or Is there a command on this or a job?
Can we copy from TAPE unit to DASD? Its just that it is issuing an
SD37 space allocation issue..


I really need your help.

Thanks.
Back to top
View user's profile Send private message

0d311

Guest





PostPosted: Tue Jul 10, 2007 9:07 am    Post subject:
Reply with quote

Hi Lui,

Yes, you can copy the contents of tape to DASD. If you are encountering an space abend, you can specify a larger allocation in the SPACE parameter and also allow your job to use more volumes.
Back to top
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 9:17 am    Post subject: Dasd
Reply with quote

Can you give me an idea on that or example? Specify a large space allocation and using more volumes..

Its just that how can i do that?

Thanks.
Back to top
View user's profile Send private message
Rambhupal.chaudari

New User


Joined: 30 Mar 2007
Posts: 25
Location: Hyderabad

PostPosted: Tue Jul 10, 2007 10:09 am    Post subject: Example prog for converting Tape to Dasd
Reply with quote

Code:
                           
//STEP1  EXEC PGM=SORT                                 
//SYSOUT   DD  SYSOUT=*                               
//SORTIN   DD DSN=XXXXXXX,DISP=SHR 
//SORTOUT  DD DSN=YYYYYYYYY,
//            DISP=(,CATLG,DELETE),                 
//            UNIT=WORK,SPACE=(CYL,(100,500),RLSE)     
//SYSIN    DD  *                                       
  OPTION COPY
/*
Back to top
View user's profile Send private message
0d311

Guest





PostPosted: Tue Jul 10, 2007 10:24 am    Post subject:
Reply with quote

Code:

//STEP01   EXEC PGM=SORT
//SORTIN   DD DISP=SHR,DSN=YOUR.TAPE.DATASET.HERE
//SORTOUT  DD DSN=YOUR.DASD.DATASET.HERE,                               
//            DISP=(,CATLG,DELETE),                                 
//            UNIT=SYSDA,                                                 
//            SPACE=(CYL,(200,50),RLSE)
//SYSOUT   DD SYSOUT=*                                                 
//SYSIN    DD *                                                         
  OPTION COPY
/*
Back to top
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 11:22 am    Post subject: DASD
Reply with quote

Thanks , i'll try this one.
Back to top
View user's profile Send private message
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 11:29 am    Post subject: dASD
Reply with quote

I just wanna ask if what is the highest/largest number can we issue on
space parameters just in case it is insufficient.?

SPACE=(CYL,(200,50),RLSE..?

Thanks.
Back to top
View user's profile Send private message
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 11:30 am    Post subject: DASD
Reply with quote

I issue the above command...
and it abended ABENDED SD37

How can I resolve this one with the parameters that you gave to me?
thanks.
Back to top
View user's profile Send private message
haikiran

New User


Joined: 08 May 2007
Posts: 4
Location: hyderabad

PostPosted: Tue Jul 10, 2007 11:37 am    Post subject: Re: TAPE files?
Reply with quote

You can also use IEBGENER utility to copy the tape file to a disk. However, make sure that you are using the right CLASS parameter in the job card.
Back to top
View user's profile Send private message
haikiran

New User


Joined: 08 May 2007
Posts: 4
Location: hyderabad

PostPosted: Tue Jul 10, 2007 11:39 am    Post subject: Re: TAPE files?
Reply with quote

Tape files are usually Huge. So, try increasing the cylinders to 500,200.
Also try including a Volume Serial if you have any.
Back to top
View user's profile Send private message
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 11:45 am    Post subject:
Reply with quote

I tried to use 500,500 still SD37 was issued..I know that it has 60million of records so how can we possibly or can it be possible to compute estimate the space allocation for this?

Volser=? where could I refer this one?

Thanks
Back to top
View user's profile Send private message
0d311

Guest





PostPosted: Tue Jul 10, 2007 12:51 pm    Post subject:
Reply with quote

0d311 wrote:
Code:

//STEP01   EXEC PGM=SORT
//SORTIN   DD DISP=SHR,DSN=YOUR.TAPE.DATASET.HERE
//SORTOUT  DD DSN=YOUR.DASD.DATASET.HERE,                               
//            DISP=(,CATLG,DELETE),                                 
//            UNIT=SYSDA,                                                 
//            SPACE=(CYL,(200,50),RLSE)
//SYSOUT   DD SYSOUT=*                                                 
//SYSIN    DD *                                                         
  OPTION COPY
/*


that's weird... i didn't type this.... here it is... multivolume datasets..

Code:

//STEP01   EXEC PGM=SORT,PARM='LIST'                                   
//SORTIN   DD DISP=SHR,DSN=YOUR.TAPE.DATASET.HERE                             
//SORTOUT  DD DSN=YOUR.DASD.DATASET.HERE,                               
//            DISP=(NEW,CATLG,DELETE),                                 
//            UNIT=SYSDA,     
//            VOL=(,,,20),                                             
//            SPACE=(CYL,(200,50),RLSE),                                 
//            DCB=(RECFM=FB,LRECL=??,                     
//            DSORG=PS)                                                 
//SYSOUT   DD SYSOUT=*                                                 
//SYSIN    DD *                                                         
  SORT FIELDS=COPY
Back to top
wicked1925

New User


Joined: 12 Mar 2007
Posts: 15
Location: Philippines

PostPosted: Tue Jul 10, 2007 1:21 pm    Post subject: Re: TAPE files?
Reply with quote

SD37 abend usually happens if an output dataset used up all the primary space allocation and there is no secondary space requested.

try asking datacenter for volumes with high free extents for you to use in your jcl.

BTW, im form MDC too icon_biggrin.gif
Back to top
View user's profile Send private message
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 1:24 pm    Post subject:
Reply with quote

Is this the maximum value of the space parameters and sortwk01?
What is the max allocation for this?

Thanks
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Tue Jul 10, 2007 1:34 pm    Post subject:
Reply with quote

madlui56
I would like to redirect here http://ibmmainframes.com/viewtopic.php?t=22617
Back to top
View user's profile Send private message
wicked1925

New User


Joined: 12 Mar 2007
Posts: 15
Location: Philippines

PostPosted: Tue Jul 10, 2007 1:35 pm    Post subject:
Reply with quote

maximum space allocation usually depends on how much free space is available in a certain volume. you can specifiy any value that you want but if the volume requested can not accomodate that value, your job will just die. and it is not appropriate to use too much space especially if job runs side by side with a job that uses the volume.
Back to top
View user's profile Send private message
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 1:52 pm    Post subject:
Reply with quote

VOL=(,,,20) ? I would like to know if what is the function of this and if this is for volumes how can I increase the request specified to this parameters? I

Thanks
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Jul 10, 2007 2:01 pm    Post subject:
Reply with quote

Louielee,

Quote:
VOL=(,,,20) ?

This is for specifying multi volume dataset (equivalent of UNIT=(SYSDA,20)).
Back to top
View user's profile Send private message
madlui56
Currently Banned

New User


Joined: 08 Aug 2006
Posts: 61
Location: Philippines

PostPosted: Tue Jul 10, 2007 2:08 pm    Post subject:
Reply with quote

How can I increase the requested volume?
And for what purpose would you do this for, its just that Ive learned this just through this current forum and topic.


Thanks.
Back to top
View user's profile Send private message
0d311

Guest





PostPosted: Tue Jul 10, 2007 2:10 pm    Post subject:
Reply with quote

Meaning just in case there is not enough space on a volume, it can still get space from other available volumes to suffice the space you indicated in the SPACE parameter.
Back to top
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


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