Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to code Utility Termination step in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: How to code Utility Termination step in JCL
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    Post subject: Hi
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    Post subject: SO4E ABEND
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    Post subject: Hi
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    Post subject: Hi
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us