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
 

 

SOC7 error while updating master file thru batch JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
j_prameela2000

New User


Joined: 01 Jun 2005
Posts: 28
Location: Chennai

PostPosted: Tue Aug 30, 2005 4:42 pm    Post subject: SOC7 error while updating master file thru batch JCL
Reply with quote

Hi,

Plz help me to solve this.

I have Master & Transaction file.I want to update master file for each
record present in transaction file.Consider my transaction file as 1000 records.
While updating master file thru batch JCL -- S0C7 occured.How to find
which record of transaction file caused S0C7.After S0C7 occured,What are the steps i have to do.i.e.,To avoid second time updation of same record which is already updated by last Abend job.
Back to top
View user's profile Send private message

hncs

New User


Joined: 01 Mar 2006
Posts: 11

PostPosted: Mon Mar 06, 2006 5:41 pm    Post subject:
Reply with quote

YOU CAN GET THE EXACT INFORMATION FROM SAR OR ABEND-AID.

YOU CAN COPY THE EXISTING TRANSACTION FILE AND YOU CAN REMOVE ALL THE RECORDS, WHICH ARE PROCESSED AND YOU CAN RESTART THE JOB WITH NEW DATA BY OVERRIDING THE EXISTING DATASET.
Back to top
View user's profile Send private message
sailendranath

New User


Joined: 28 Feb 2006
Posts: 7
Location: bangalore

PostPosted: Mon Mar 06, 2006 6:35 pm    Post subject: Re: SOC7 error while updating master file thru batch JCL
Reply with quote

Hi,
The best solution to find the abbend reocrd is, move the record to one variable display the key reocrd after veyr read., when abbended check the last key record worte in spool
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Tue Mar 07, 2006 1:58 pm    Post subject:
Reply with quote

Hi,

I think you can get which record is abendaid by checking ur sysout . It will give you compile unit offset at entry offset & address.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 287
Location: Basel, Switzerland

PostPosted: Thu Mar 09, 2006 8:05 pm    Post subject:
Reply with quote

if you have no debugging utility,
the use of DISPLAY is still a good
alternative to find this out.
just think to delete the spool after
you solved the problem, spool
is also not unlimited...

solution time: 5 minutes...

martin9
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


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