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

SOC7 error while updating master file thru batch JCL


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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: 1208
Location: Bangalore,India

PostPosted: Tue Mar 07, 2006 1:58 pm
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: 290
Location: Basel, Switzerland

PostPosted: Thu Mar 09, 2006 8:05 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top