View previous topic :: View next topic
|
Author |
Message |
srkumar422
New User
Joined: 27 Mar 2006 Posts: 16
|
|
|
|
hi
Please tell me what is S013 and the solution for it
Thanks |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
When i refered thru the mainframe manual i got the following detail.
S013 MVS ABEND - SYSTEM 013.
Explanation: When running SQL PA in batch mode it is possible to encounter this error if the input data set exists, but the member name
does not. For example, a valid DBRM library was used for ANLIN, but the member name specified did not exist. This will also result in JOB NOT RUN - JCL ERROR message. Under MVS, the member name is not checked until run time, hence the S013 abend.
User Response: Check the spelling on the appropriate DD statement and rerun.
I hope this will be useful.
Regards,
Muthuvel. |
|
Back to top |
|
|
srkumar422
New User
Joined: 27 Mar 2006 Posts: 16
|
|
|
|
Thanks Muttu |
|
Back to top |
|
|
neeraj.cobol
New User
Joined: 18 Aug 2006 Posts: 2 Location: Bangalore
|
|
|
|
Possible causes for this abend include: 1. DCB parameters conflict, no BLKSIZE or not valid multiple of LRECL 2. Merge - SORTIN01 does not contain the maximum blocksize 3. JCL -- tried to create a PDS without allocating directory blocks 4. Missing or misplaced SYSIN DD card 5. PDS member not found when coded in JCL |
|
Back to top |
|
|
srkumar422
New User
Joined: 27 Mar 2006 Posts: 16
|
|
|
|
i think the 3rd reason is correct i.e. while creating the dataset JCL is not giving proper blksize. i checkd the blocksize and it is '?'. May i know how to avoid it. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
What JCL did you use to create it? |
|
Back to top |
|
|
srkumar422
New User
Joined: 27 Mar 2006 Posts: 16
|
|
|
|
Code: |
//STEP02 EXEC PGM=BTQMAIN,COND=(0,NE)
//STEPLIB DD DSN=SUPT.TTU.TDP0.APPLOAD,DISP=SHR
// DD DSN=SUPT.TTU.TDP0.TRLOAD,DISP=SHR
//SYSTERM DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//PM40SQL DD DSN=Rg1876.ASKME.ST40.DATA,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(200,100),RLSE),
// DCB=(RECFM=FB,LRECL=280)
//SYSIN DD DSN=Rg1876.TERADATA.CNTLCARD(DWLOG27D),DISP=SHR
// DD DSN=Rg1876.SQL.FOCPDS(LQ833KS1),DISP=SHR
// DD DSN=Rg1876.TERADATA.CNTLCARD(BTEQQUIT),DISP=SHR
|
this is the jcl |
|
Back to top |
|
|
cristalclearwaters
New User
Joined: 21 Aug 2006 Posts: 13
|
|
|
|
You should get a return code along with the S013
013-rc
That will be more helpful in narrowing down the cause of the abend.
Do you know the return code? |
|
Back to top |
|
|
shefu_sarandha
New User
Joined: 30 Aug 2006 Posts: 5 Location: newark, de
|
|
|
|
Please include the following line in your JCL
DCB=(RECFM=FB,LRECL=280, BLKSIZE=2800) ;
instead of the line in your jcl. |
|
Back to top |
|
|
v.nagaraj
New User
Joined: 25 Feb 2006 Posts: 5
|
|
|
|
HI suman kumar,
This is beause of wrong control information in creating ur dataset and also it relates to file attribute mismatch,u can check the properties again and resubmit the JOB once.Try this. |
|
Back to top |
|
|
|