View previous topic :: View next topic
|
Author |
Message |
ratheesh_1983
New User
Joined: 11 Apr 2007 Posts: 19 Location: hyderabad
|
|
|
|
Hi ,
I am trying to do tape to dasd using a jcl , The jcl used to work fine , but now it is giving SB37 abend !!!!! why is this only for this time??? what can be done from my end to do the copying from tape to dasd , is there any other way of doing it other than the jcl . i am giving the jcl i used below...
//ACS2807W JOB (MSDV,,T),'RATH',
// CLASS=T,MSGCLASS=T,NOTIFY=&SYSUID
//STEP010 EXEC PGM=IEBGENER
//SYSDBOUT DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=MSSR.PROD.XW6000A.X6000SA.W1X76191.G0195V00,
// DISP=SHR
//SYSUT2 DD DSN=MDDV.TEST.ACS2807.X6000SA.W1X76191.G0195V,
// DISP=(NEW,CATLG),
// UNIT=SYSDA,
// DCB=*.SYSUT1,
//*
// SPACE=(CYL,(900,900),RLSE)
//SYSIN DD DUMMY
PLEASE HELP. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
There may not be any problem with JCL. Sb37 indicates disk volume is out of space.
Check if your tape file is very huge, if yes, then try to copy only selected records, this will reduce your space requirement. |
|
Back to top |
|
|
ratheesh_1983
New User
Joined: 11 Apr 2007 Posts: 19 Location: hyderabad
|
|
|
|
Hi agkshirsagar,
Thanks for the quick reply. One more doubt . i want to use the dasd as input to a test program. becos i am keeping DISP=(NEW,CATLG),
i am getting some records into the data set even if the job is abending with sb37, wil it be a problem to use the same data set as the test i/p for a test proram , i mean will the records i am getiing be corupted or truncated in any way ???? Also is there a way to take some selected no: of records and copy to dasd so that abend can be prevented???
regards ,
ratheesh. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Quote: |
Also is there a way to take some selected no: of records and copy to dasd so that abend can be prevented??? |
Yes, use FILE-AID selection or use SORT utility to copy only selected number of records from file.
Quote: |
am getting some records into the data set even if the job is abending with sb37, wil it be a problem to use the same data set as the test i/p for a test proram , i mean will the records i am getiing be corupted or truncated in any way ???? |
I really can't comment on this, you may be using (new,catlg,catlg) as disposition so you are able to see the records in file even if job is abended. Better be safe using only small records.. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
please read.
Better be safe using only small number of records.. |
|
Back to top |
|
|
ratheesh_1983
New User
Joined: 11 Apr 2007 Posts: 19 Location: hyderabad
|
|
|
|
yup i got it ,
just coded UNIT=(SYSDA,10) the job did not abend
BTW thanks for all the info and suggestions u have provided agkshirsagar .
regards,
ratheesh. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
From your JCL example
// DCB=*.SYSUT1,
This uses the same DCB attributes as the tape does. So, if your dataset is optimumly blocked for tape, then you will waste acres and acres of DASD by coding your JCL like this. Probably about 40% of the allocated space will NEVER be used.
The optimum BLKSIZE for a 3390 (DASD) device is 27998, and 32760 for tape.
Instead, find out the RECFM and LRECL and substitute the line above with RECFM=??,LRECL=?? and then see just how much space you will save.
DISP=(NEW,CATLG) ..............
I think you will find that the OS will accept the normal termination disposition as the abnormal termination disposition if the abnormal termination disposition is not specified.
I suggest that you take a read of the JCL manual. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
On many systems these days, we alloc DASD with BLKSIZE=0 and let the system calc optimal. |
|
Back to top |
|
|
|