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

Use of EROPT in DCB parameter


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

New User


Joined: 16 Jun 2005
Posts: 63

PostPosted: Tue Sep 06, 2005 2:28 pm
Reply with quote

Hi all,

can anyone tell what's the use of Error Option? If we specify EROPT=ABE in DCB parameter,where can we view the result? What type of results it will be?

Thanks in advance.
Back to top
View user's profile Send private message
michaelraj

New User


Joined: 01 Sep 2005
Posts: 43
Location: Bangalore

PostPosted: Tue Sep 06, 2005 2:39 pm
Reply with quote

Hi ,

EROPT ? Specifies what action to take if an unrecoverable I/O error occurs while reading or writing a block.

ABE ? Cause an ABEND failure (S001-1).

SKP ? Skip the block containing the error.

ACC ? Accept the block containing the error

The default is ABE.

We can view this result in Job listing. The result may be if we are trying to read data on bad blocks this abend will occur. The data in that block, may not be recovered. For this it is better to use SKP to skip the error.

Regards,
Mike.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Thu Nov 17, 2005 7:09 pm
Reply with quote

hi frnd,

EROPT=x

QSAM: Specifies the option to be executed if an error occurs in reading
or writing a record.

x=ACC System is to accept the block causing the error.
x=SKP System is to skip the block causing the error.
x=ABE System is to cause abnormal end of task.
Default: ABE


Note: Do not code the EROPT subparameter with DD parameters
DDNAME, QNAME.
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 Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top