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

S213 Abend in SYNCSORT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Mon Feb 25, 2008 7:32 pm
Reply with quote

Hi,
While executing syncsort I got S213.
Here are some details.


Code:

WER428I  CALLER-PROVIDED IDENTIFIER IS "0001"                       
WER276B  SYSDIAG= 9057, 2330173, 2330173, 4063578                   
WER164B  8,944K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,   
WER164B     0 BYTES RESERVE REQUESTED, 3,052K BYTES USED             
WER146B  20K BYTES OF EMERGENCY SPACE ALLOCATED                     
WER108I  IN2      : RECFM=FB   ; LRECL=    80; BLKSIZE=   800       
WER237I  OUTREC RECORD LENGTH =    80                               
WER201A  OUT1     IS D.A./DSCB NOT FOUND/OBTAIN FAILED               
WER110I  OUT1     : RECFM=FB   ; LRECL=    80; BLKSIZE=             
WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE                       


SYSMSG
Code:

SYSTEM COMPLETION CODE=213  REASON CODE=00000004           
 TIME=08.49.46  SEQ=45478  CPU=0000  ASID=0301             
 PSW AT TIME OF ERROR  075C1000   80E6ECE6  ILC 2  INTC 0D 
   NO ACTIVE MODULE FOUND                                   


--Parag
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Feb 25, 2008 7:38 pm
Reply with quote

Do you not have the MVS systems codes reference material where you are ?

In case not, let me look it up for you.

Quote:

Explanation: The error occurred during processing of an OPEN macro instruction for a direct access device. This system completion code is accompanied by message IEC143I. Refer to the explanation of message IEC143I for complete information about the task that was ended and for an explanation of the return code (rc in the message text) in register 15. Application Programmer Response: Respond as indicated to the applicable message.

System Programmer Response: If the error recurs and the program is not in error, look at the messages in the job log for more information. Search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM Support Center. Provide the JCL and the program listing for the job.

Source: DFSMSdfp
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Feb 25, 2008 7:46 pm
Reply with quote

What does the IEC143I message indicate?
213

Explanation: The error occurred during processing of an OPEN macro
instruction for a direct access device. This system completion code
is accompanied by message IEC143I. Refer to the explanation of message
IEC143I for complete information about the task that was ended and for
an explanation of the return code (rc in the message text) in register
15.

Application Programmer Response: Respond as indicated to the
applicable message.

Have you looked into the WER201A message?
Quote:
WER201A
ddname is D.A./DSCB NOT FOUND/OBTAIN FAILED

EXPLANATION: The ddname will be SORTOUT, SORTOFxx,
SORTOFx or the ddname provided by an OUTFIL FNAMES parameter.
SyncSort was unable to successfully issue an OBTAIN for the specified
direct access data set, and was therefore unable to determine the DCB
characteristics of the indicated file. The OBTAIN failed either because
the volume parameter was incorrectly specified for the indicated output
file, or because the data set was deleted from the volume. (NOTE: the
data set name may still be in the master catalog even though the data
set is no longer on the volume.)
How about posting the entire sysout?
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Mon Feb 25, 2008 8:22 pm
Reply with quote

A S213-04 has typically been an error where you specify a vol ser, but the input file is not catalogued on that volume.

Since your error is related to OUT1, I would assume this should be an output file, so check your DISP and ensure you are using (NEW,CATLG) and not SHR, OLD, or is missing a DISP= altogether.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Feb 25, 2008 9:17 pm
Reply with quote

Hello,

If you were to post the actual submitted jcl and sort control info, we would not have to guess. . .
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Feb 25, 2008 11:52 pm
Reply with quote

Hi,

This
Code:
WER201A  OUT1     IS D.A./DSCB NOT FOUND/OBTAIN FAILED
should be the error.

To provide a suggestion, as asked before, we need to look at the JCL used.
Back to top
View user's profile Send private message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Tue Feb 26, 2008 12:37 pm
Reply with quote

Hi All,
Thanks a lot for your replies ! icon_biggrin.gif
I looked at my JCL. Here is what I'm doing.
I do have a syncsort PROC having 3 ICETOOL steps in it. The second step uses temporary datasets created in step 1. The third step uses temporary datasets created in step 1 and 2. There's a fourth step IEFBR14, which deletes all the temporary datasets created.

Now I'm calling this PROC multiple times from a single job. To wonder, proc is executed successfully when it is called first time. But for its next call in same job, it gives the above mentioned abend.

Now, if I'm not wrong, I think in subsequent calls of a PROC, JCL tries to refer back the temporay datasets. But its not able to locate as the reference is made to dataset of first step of first call.

Is there any solution to this ??

--Parag
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Feb 26, 2008 5:20 pm
Reply with quote

ParagChouguley wrote:
I do have a syncsort PROC having 3 ICETOOL steps in it. The second step uses temporary datasets created in step 1. The third step uses temporary datasets created in step 1 and 2. There's a fourth step IEFBR14, which deletes all the temporary datasets created.
What does the defination of these temporary datasets look like? Please post the DDs....
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Feb 26, 2008 8:39 pm
Reply with quote

Hello,

Quote:
Is there any solution to this ??
If you had posted the jcl originally, you would have a solution before now.

If you want people here to help, you have to provide the info requested.

Posting odds and ends that you "see" or "think" will not help us help you.

Post the proc, the exec jcl and the sort control statements. . .
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
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
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
Search our Forums:

Back to Top