IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to fix S013 Abend in JCL?


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Allu

New User


Joined: 08 Jun 2005
Posts: 4

PostPosted: Fri Jun 10, 2005 5:19 pm
Reply with quote

Hi

Could you please tell me what is S013 abend and how to solve this abend in mainframe.

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

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Fri Jun 10, 2005 5:44 pm
Reply with quote

It is member/module not found abend.

This is either a case of a missing control card element, or program element - a control card is not present in the library specified in the JCL. This can occur when a control card/module is promoted from one test environment to another. The resolution for this is to search the other levels of promotion for the correct element and use this library as a temporary fix - the JCL should be changed to reflect the move at a later date.

Check: S013 Abend

Quote:
An error occurred in opening a data set because of conflicting or unspecified data set attributes. Possible causes: There was a conflict between the program, the JCL, and the data set label DCB information required. Some required DCB information was omitted. Directory space was not allocated for a partitioned data set. The BLKSIZE DCB sub-parameter was missing for a dummy data set. A specific member of a partitioned data set could not be located. For fixed block records, the LRECL=0, or the data set was empty. For fixed length records, the BLKSIZE was not a multiple of the LRECL. For variable length records, the blocksize was not four bytes greater than the logical record length. RECFM=F was specified and the logical record length was not the same as the block size. Solution: Check the DCB attributes of the problem data set and correct any inconsistencies. Check for inconsistencies between the program, the JCL, and the data set DCB characteristics. Verify that all the DCB information required for the data set is specified. Recreate the partitioned data set specifying a value for directory blocks in the space parameter. Specify a BLKSIZE that matches the program DCB information. Check the spelling for any programs to be executed. Verify that the appropriate STEPLIB data sets have been provided.
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Fri Jun 10, 2005 7:36 pm
Reply with quote

S013 Abend --

The SORTIN, SORTOUT, or OUTFIL BLKSIZE parameter:
--> Was greater than 32760 for a disk data set, or
was greater than the maximum block size supported
by the access method for a tape data set.

-->Was not an integer multiple of the LRECL
parameter for fixed-length records, or was not at
least four bytes longer than the LRECL for
variable-length records.
Back to top
View user's profile Send private message
srinivasareddy_80

New User


Joined: 07 Mar 2005
Posts: 4
Location: Chennai

PostPosted: Sun Jun 12, 2005 10:50 pm
Reply with quote

Hi Friends,

SO13: It is an open problem. Usually this ABEND occurs, When the program tries to read a member of PDS and the member is not found.

Ex: During compilation, If you code a non-existing member as source(SYSIN).

Causes of S013 Abend

Dataset Space Allocation: The dataset space allocated for the job or program is insufficient to hold the data being written.
Volume Space Exhaustion: The DASD volume where the dataset resides does not have enough free space to accommodate additional data.
Allocation Parameters: Incorrect allocation parameters or insufficient SPACE parameter values specified in the JCL (Job Control Language) or program.
Concurrency Issues: Concurrent jobs or processes competing for space on the same DASD volume, leading to space exhaustion.

Resolving S013 Abend
To resolve the S013 abend and prevent it from occurring, consider the following steps:

Increase Dataset Space: Allocate more space for the dataset by adjusting the SPACE parameter in the JCL or program allocation.
Check Volume Space: Ensure that the DASD volume where the dataset resides has sufficient free space available. If not, allocate space on a different volume with adequate capacity.
Review Allocation Parameters: Verify the allocation parameters (like CYL, TRK, BLKSIZE, etc.) specified in the JCL or program to ensure they meet the data storage requirements.
Optimize Data Storage: Consider optimizing data storage by compressing or archiving old data, removing unnecessary files, or purging temporary datasets regularly.
Monitor Space Usage: Implement monitoring tools and practices to track DASD volume space usage, detect space shortages early, and take proactive measures to allocate additional space or manage data storage efficiently.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
No new posts What is the most complex abend you've... Mainframe Interview Questions 8
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
Search our Forums:

Back to Top