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

How to code Utility Termination step in JCL


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

New User


Joined: 18 May 2006
Posts: 6
Location: Chennai

PostPosted: Wed Jul 19, 2006 12:45 pm
Reply with quote

Hi,
With respect to the S04E ABEND, I have got the following doubts:
1.How to code Utility Terminaton step in JCL?
2.What's Duplicate ID means and when it will be created?



Thanks in Advance,
Praveen.
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Wed Jul 19, 2006 12:59 pm
Reply with quote

SOC4 could happen cos of several reasons few of which given below

1.You tried to access a data its which is bwyond the boundary of array.Check the array size and the index or subscripts if any.

2.Not coding the DD statements in JCl could also give this error.


In CICS progs you can terminate the prog by issuing ABEND instruction and in most of the shops there would be a termination program which would be either coded in Assemebler or in cobol that to be executed when an abnormal condition is met.

What do you mean by Duplicate ID?

-Han.
Back to top
View user's profile Send private message
praveenkumar_win

New User


Joined: 18 May 2006
Posts: 6
Location: Chennai

PostPosted: Wed Jul 19, 2006 1:13 pm
Reply with quote

Hi Han,
This is regarding the SO4E ABEND, due to DUPLICATE UTILITY ID creation.
One of the member has posted a query regarding SO4E ABEND in our forum.. Reply posted is as follows:

REPLY ---:
So4e error means Duplicate utility id has been created. If your job abends in your run it creates a duplicate utility id. if you submit the same job again without terminating the duplicate utility id then you get so4e error.

You can terminate this utility id in two ways
1. by writing Utility termination step in your jcl (or)
2. In Tso Db2 --select--BMC Administrative Products for DB2 --catalog manager for db2--db2 commands--go for utility termination option
--but this access may only have db2 dba.

I couldnot understand this reply and hence I have posted this query.
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Wed Jul 19, 2006 1:39 pm
Reply with quote

Praveen,
when u state a problem please elaborate it so that we could understand the problem properly and could help you out with a proper answer.

I felt that as a SOC4 abend and hence was the reply.If you would have mentioned what you were trying to do atleast would have left me with a fair picture and the problem you were facing..

Now I understands that you were doing a LOAD agaianst a table ..and ended up in getting the error when tried to load once again with out terminating the Utility ID.


-Han.
Back to top
View user's profile Send private message
praveenkumar_win

New User


Joined: 18 May 2006
Posts: 6
Location: Chennai

PostPosted: Wed Jul 19, 2006 2:57 pm
Reply with quote

Hi,
As U could see, I didnot specify SOC4 issue in my question. I have only specified SO4E ABEND..

Also Pls consider the fact that I am Unaware of how to terminate the Utility ID..
Can you let me know how to write Utility termination step in JCL..



Regards,
Praveen.
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts REASON 00D70014 in load utility DB2 6
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top