Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us