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: 290
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 Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm


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