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
 

 

vsam file refer back

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
mauvis

New User


Joined: 27 Jul 2007
Posts: 11
Location: india

PostPosted: Sun Sep 21, 2008 10:26 am    Post subject: vsam file refer back
Reply with quote

Hi ,

I have one VSAM file on which records will get appended every day.
now the job failed one day with out processing all records so my VSAM file did't have all the records for that particular day. and the job ran next day and net days records are appended.

Now my problem is I want the previous days VSAM files data to process them separately. Is there any procedure to referback the previous days VSAM file.

Hope u understand my problem. please help me out from this.

Thanks & Regards,
Mauvis.
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sun Sep 21, 2008 12:56 pm    Post subject: Re: vsam file refer back
Reply with quote

Hi,
Quote:
Hope u understand my problem.
You need to explain a little more..

mauvis wrote:
now the job failed one day with out processing all records so my VSAM file did't have all the records for that particular day.
This suggests to me that "for that logical day process couldn't append the records to VSAM" so VSAM at all doesn't contain records for a particular day. But now this
Quote:
..I want the previous days VSAM files data to process them separately.
is controdictory to my previous perception, does VSAM has Data or not, for that particular day? If Yes,

- do you have some "date field" in records to distinguish form other days ? If yes, you can use SORT for to fetch data for "relative dates".
- if not, you need to tell how do you distinguish data for different days ? There should be something..
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sun Sep 21, 2008 1:42 pm    Post subject:
Reply with quote

From my understanding of this thread, my first concern would be what happened to the restart / rerun procedures to allow a job to stay in abend and then allow the next batch cycle to process.

This to me says Major flaw
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Sep 21, 2008 2:47 pm    Post subject:
Reply with quote

Hello,

Quote:
This to me says Major flaw
Surely needs looking into.

If there was a backup of the vsam file before the problem run, it should not be difficult to use the backup and the corrupted file and separate out the appended records. If there were updates and deletes, still possible, but more work.

The process needs to be modified to prevent this (IMHO).
Back to top
View user's profile Send private message
mauvis

New User


Joined: 27 Jul 2007
Posts: 11
Location: india

PostPosted: Mon Sep 22, 2008 12:14 am    Post subject: Reply to: vsam file refer back
Reply with quote

Thanks for the quick responce. There was no Back up file for this VSAM file, if so there was no problem of fixing the data.
Also my Vsam file don't have any specific field under which I can distinguish the records.. I will analize more and will let you know if i found something.

Thanks & Regads,
Mauvis.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Sep 22, 2008 12:40 am    Post subject: Re: Reply to: vsam file refer back
Reply with quote

mauvis wrote:
There was no Back up file for this VSAM file, if so there was no problem of fixing the data.
Also my Vsam file don't have any specific field under which I can distinguish the records..
Well, are you talking about a production issue in real..?
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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