View previous topic :: View next topic
|
Author |
Message |
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
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 |
|
|
0d311
Guest
|
|
|
|
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
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
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 |
|
|
Rambhupal.chaudari
New User
Joined: 30 Mar 2007 Posts: 25 Location: Hyderabad
|
|
|
|
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 |
|
|
0d311
Guest
|
|
|
|
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
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
Thanks , i'll try this one. |
|
Back to top |
|
|
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
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 |
|
|
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
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 |
|
|
haikiran
New User
Joined: 08 May 2007 Posts: 4 Location: hyderabad
|
|
|
|
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 |
|
|
haikiran
New User
Joined: 08 May 2007 Posts: 4 Location: hyderabad
|
|
|
|
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 |
|
|
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
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 |
|
|
0d311
Guest
|
|
|
|
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
|
|
|
|
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 |
|
Back to top |
|
|
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
Is this the maximum value of the space parameters and sortwk01?
What is the max allocation for this?
Thanks |
|
Back to top |
|
|
krisprems
Active Member
Joined: 27 Nov 2006 Posts: 649 Location: India
|
|
Back to top |
|
|
wicked1925
New User
Joined: 12 Mar 2007 Posts: 15 Location: Philippines
|
|
|
|
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 |
|
|
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Louielee,
This is for specifying multi volume dataset (equivalent of UNIT=(SYSDA,20)). |
|
Back to top |
|
|
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
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 |
|
|
0d311
Guest
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Louielee ,
Taken from QW -
Quote: |
vol count
Specifies the maximum number of volumes that an OUTPUT data
set requires. This is a decimal number in the range 1
through 255, inclusive - the total number of output volumes
for a DD statement may not exceed 4,096 volumes, however.
You should code this parameter when an output data set will
require more than 6 volumes. If the volume count is omitted
or 1 through 5 is specified, the maximum allowed is 5
volumes. If 6 through 20 is specified, the maximum allowed
is 20 volumes. If the specified is greater than 20, the
maximum allowed is a multiple of 15 plus 5, up to 255. |
Please refer quick refernce for this kind of stuff. |
|
Back to top |
|
|
madlui56
New User
Joined: 08 Aug 2006 Posts: 61 Location: Philippines
|
|
|
|
Here is my Job wherein it issue SD37
//STEP0012 EXEC PGM=SORT
//SORTIN DD DSN=WXX220.ECL2.R1.DEMOIA.FOUND.PAF,
// DISP=SHR
//SORTOUT DD DSN=PU1659A.ECL2.R1.DEMOIA.FOUND.PAF.DASD,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,VOL=(,,,20),
// SPACE=(CYL,(4000,4000),RLSE),
// DCB=(RECFM=FB,LRECL=409,DSORG=PS)
//SORTWK01 DD SPACE=(CYL,(4000,4000),RLSE)
//SORTWK02 DD SPACE=(CYL,(4000,4000),RLSE)
//SORTWK03 DD SPACE=(CYL,(4000,4000),RLSE)
//SORTWK04 DD SPACE=(CYL,(4000,4000),RLSE)
//SORTWK05 DD SPACE=(CYL,(4000,4000),RLSE)
//SORTWK06 DD SPACE=(CYL,(4000,4000),RLSE)
//SORTWK07 DD SPACE=(CYL,(4000,4000),RLSE)
//SORTWK08 DD SPACE=(CYL,(4000,4000),RLSE)
//SORTWK09 DD SPACE=(CYL,(4000,4000),RLSE)
//SORTWK10 DD SPACE=(CYL,(4000,4000),RLSE)
What are the ways to increase or to solve the space error?
thanks. |
|
Back to top |
|
|
0d311
Guest
|
|
|
|
Hi Lui,
CYL,(4000,4000) is a huge amount
Does your site have SMS? maybe you can remove the space parameter and just allow the system to set the space automatically.
I'm not sure but I think it's not necessary to have all the SORTWKNN there... I think 1 sortwk will be just fine... (BTW, in our site, we can run SYNCSORT and not define SORTWKNN) |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Louielee ,
Please remember you will get error if the system fails to allocates the space you had defined. From your JCL, I could see you had used 4000 for primary and secondary for 12 dd statements. Are sure you have that much space available in DASD. Reduce the 4000 to number 1000 and below. Do some permutation and combination excercise (with the numbers) to get the job successful. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
I would guess that you space abend occurs on the SORTOUT DD name, so as previously said, I am not sure that you need any SORTWK DD statements in your JCL when you use COPY. |
|
Back to top |
|
|
|