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
 
DISP for PS to append new records after restart

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

New User


Joined: 25 Jan 2006
Posts: 2

PostPosted: Thu Mar 29, 2007 4:32 pm    Post subject: DISP for PS to append new records after restart
Reply with quote

what would be the disposition for flat file to append new records at the end of old records when i submit my job again after abnormal termination so that i cannot lose my old records?
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Mar 29, 2007 4:39 pm    Post subject:
Reply with quote

Use either SHR for appending records at the end of file.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Mar 29, 2007 4:46 pm    Post subject:
Reply with quote

Have you taken a look in the JCL manual - the anser is there.

In fact it probably took you longer to post this thread than it would have taken you to find the answer yourself.
Back to top
View user's profile Send private message
trupti_jaju

New User


Joined: 25 Jan 2006
Posts: 2

PostPosted: Thu Mar 29, 2007 4:46 pm    Post subject:
Reply with quote

i tried out it. but still i am losing my old records.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 971
Location: Richmond, Virginia

PostPosted: Thu Mar 29, 2007 4:48 pm    Post subject:
Reply with quote

SHR is wrong - but I agree with expat - look it up - this one is easy to find.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Mar 29, 2007 4:49 pm    Post subject:
Reply with quote

murmohk1

Was that a typo or are you rolling around the floor laughing icon_biggrin.gif
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Mar 29, 2007 4:52 pm    Post subject:
Reply with quote

Sorry it was MOD not SHR. icon_redface.gif
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: Thu Mar 29, 2007 10:27 pm    Post subject:
Reply with quote

Hello,

Yes, MOD will allow appending to the end of an existing file. If you have an abend, it may not be as simple as merely appending to the end of what was already in the file. This could leave you with more or less than the correct amount of data.

If you are going to restart from some point, you must ensure that everything is back in sync to the restart point.
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 Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Merge 2 records sancraig16 SYNCSORT 19 Tue Mar 27, 2018 8:17 pm
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm
No new posts how to add the amount for duplicate r... SRUTHI DRAVIDAMANI COBOL Programming 6 Wed Feb 21, 2018 7:21 pm

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